Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/cirrus,lochnagar.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Cirrus Logic Lochnagar Audio Development Board
0008 
0009 maintainers:
0010   - patches@opensource.cirrus.com
0011 
0012 description: |
0013   Lochnagar is an evaluation and development board for Cirrus Logic
0014   Smart CODEC and Amp devices. It allows the connection of most Cirrus
0015   Logic devices on mini-cards, as well as allowing connection of various
0016   application processor systems to provide a full evaluation platform.
0017   Audio system topology, clocking and power can all be controlled through
0018   the Lochnagar, allowing the device under test to be used in a variety of
0019   possible use cases.
0020 
0021   This binding document describes the binding for the clock portion of the
0022   driver.
0023 
0024   Also see these documents for generic binding information:
0025     [1] Clock : ../clock/clock-bindings.txt
0026 
0027   And these for relevant defines:
0028     [2] include/dt-bindings/clock/lochnagar.h
0029 
0030   This binding must be part of the Lochnagar MFD binding:
0031     [3] ../mfd/cirrus,lochnagar.yaml
0032 
0033 properties:
0034   compatible:
0035     enum:
0036       - cirrus,lochnagar1-clk
0037       - cirrus,lochnagar2-clk
0038 
0039   '#clock-cells':
0040     description:
0041       The first cell indicates the clock number, see [2] for available
0042       clocks and [1].
0043     const: 1
0044 
0045   clock-names:
0046     items:
0047       enum:
0048         - ln-cdc-clkout # Output clock from CODEC card.
0049         - ln-dsp-clkout # Output clock from DSP card.
0050         - ln-gf-mclk1 # Optional input clock from host system.
0051         - ln-gf-mclk2 # Optional input clock from host system.
0052         - ln-gf-mclk3 # Optional input clock from host system.
0053         - ln-gf-mclk4 # Optional input clock from host system.
0054         - ln-psia1-mclk # Optional input clock from external connector.
0055         - ln-psia2-mclk # Optional input clock from external connector.
0056         - ln-spdif-mclk # Optional input clock from SPDIF.
0057         - ln-spdif-clkout # Optional input clock from SPDIF.
0058         - ln-adat-mclk # Optional input clock from ADAT.
0059         - ln-pmic-32k # On board fixed clock.
0060         - ln-clk-12m # On board fixed clock.
0061         - ln-clk-11m # On board fixed clock.
0062         - ln-clk-24m # On board fixed clock.
0063         - ln-clk-22m # On board fixed clock.
0064         - ln-clk-8m # On board fixed clock.
0065         - ln-usb-clk-24m # On board fixed clock.
0066         - ln-usb-clk-12m # On board fixed clock.
0067     minItems: 1
0068     maxItems: 19
0069 
0070   clocks: true
0071   assigned-clocks: true
0072   assigned-clock-parents: true
0073 
0074 additionalProperties: false
0075 
0076 required:
0077   - compatible
0078   - '#clock-cells'