~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/sound/davinci-mcbsp.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: McBSP Controller for TI SoCs
  8 
  9 maintainers:
 10   - Bastien Curutchet <bastien.curutchet@bootlin.com>
 11 
 12 allOf:
 13   - $ref: dai-common.yaml#
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - ti,da850-mcbsp
 19 
 20   reg:
 21     minItems: 1
 22     items:
 23       - description: CFG registers
 24       - description: data registers
 25 
 26   reg-names:
 27     minItems: 1
 28     items:
 29       - const: mpu
 30       - const: dat
 31 
 32   dmas:
 33     items:
 34       - description: transmission DMA channel
 35       - description: reception DMA channel
 36 
 37   dma-names:
 38     items:
 39       - const: tx
 40       - const: rx
 41 
 42   interrupts:
 43     items:
 44       - description: RX interrupt
 45       - description: TX interrupt
 46 
 47   interrupt-names:
 48     items:
 49       - const: rx
 50       - const: tx
 51 
 52   clocks:
 53     minItems: 1
 54     items:
 55       - description: functional clock
 56       - description: external input clock for sample rate generator.
 57 
 58   clock-names:
 59     minItems: 1
 60     items:
 61       - const: fck
 62       - const: clks
 63 
 64   power-domains:
 65     maxItems: 1
 66 
 67   "#sound-dai-cells":
 68     const: 0
 69 
 70   ti,T1-framing-tx:
 71     $ref: /schemas/types.yaml#/definitions/flag
 72     description:
 73       If the property is present, tx data delay is set to 2 bit clock periods.
 74       McBSP will insert a blank period (high-impedance period) before the first
 75       data bit. This can be used to interface to T1-framing devices.
 76 
 77   ti,T1-framing-rx:
 78     $ref: /schemas/types.yaml#/definitions/flag
 79     description:
 80       If the property is present, rx data delay is set to 2 bit clock periods.
 81       McBSP will discard the bit preceding the data stream (called framing bit).
 82       This can be used to interface to T1-framing devices.
 83 
 84 required:
 85   - "#sound-dai-cells"
 86   - compatible
 87   - reg
 88   - reg-names
 89   - dmas
 90   - dma-names
 91   - clocks
 92 
 93 unevaluatedProperties: false
 94 
 95 examples:
 96   - |
 97     mcbsp0@1d10000 {
 98       #sound-dai-cells = <0>;
 99       compatible = "ti,da850-mcbsp";
100       pinctrl-names = "default";
101       pinctrl-0 = <&mcbsp0_pins>;
102 
103       reg = <0x111000 0x1000>,
104             <0x311000 0x1000>;
105       reg-names = "mpu", "dat";
106       interrupts = <97>, <98>;
107       interrupt-names = "rx", "tx";
108       dmas = <&edma0 3 1>,
109              <&edma0 2 1>;
110       dma-names = "tx", "rx";
111 
112       clocks = <&psc1 14>;
113     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php