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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/ti,pcm512x.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/ti,pcm512x.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: PCM512x and TAS575x audio CODECs/amplifiers
  8 
  9 maintainers:
 10   - Animesh Agarwal <animeshagarwal28@gmail.com>
 11 
 12 allOf:
 13   - $ref: dai-common.yaml#
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - ti,pcm5121
 19       - ti,pcm5122
 20       - ti,pcm5141
 21       - ti,pcm5142
 22       - ti,pcm5242
 23       - ti,tas5754
 24       - ti,tas5756
 25 
 26   reg:
 27     maxItems: 1
 28 
 29   AVDD-supply: true
 30 
 31   DVDD-supply: true
 32 
 33   CPVDD-supply: true
 34 
 35   clocks:
 36     maxItems: 1
 37     description: A clock specifier for the clock connected as SCLK. If this is
 38       absent the device will be configured to clock from BCLK. If pll-in and
 39       pll-out are specified in addition to a clock, the device is configured to
 40       accept clock input on a specified gpio pin.
 41 
 42   '#sound-dai-cells':
 43     const: 0
 44 
 45   pll-in:
 46     description: GPIO pin used to connect the pll using <1> through <6>. The
 47       device will be configured for clock input on the given pll-in pin.
 48     $ref: /schemas/types.yaml#/definitions/uint32
 49     minimum: 1
 50     maximum: 6
 51 
 52   pll-out:
 53     description: GPIO pin used to connect the pll using <1> through <6>. The
 54       device will be configured for PLL output on the given pll-out pin.  An
 55       external connection from the pll-out pin to the SCLK pin is assumed.
 56     $ref: /schemas/types.yaml#/definitions/uint32
 57     minimum: 1
 58     maximum: 6
 59 
 60 required:
 61   - compatible
 62   - reg
 63   - AVDD-supply
 64   - DVDD-supply
 65   - CPVDD-supply
 66 
 67 if:
 68   properties:
 69     compatible:
 70       contains:
 71         enum:
 72           - ti,tas5754
 73           - ti,tas5756
 74 
 75 then:
 76   properties:
 77     pll-in:
 78       maximum: 3
 79 
 80     pll-out:
 81       maximum: 3
 82 
 83 unevaluatedProperties: false
 84 
 85 examples:
 86   - |
 87     i2c {
 88         #address-cells = <1>;
 89         #size-cells = <0>;
 90         codec@4c {
 91             compatible = "ti,pcm5142";
 92             reg = <0x4c>;
 93             AVDD-supply = <&reg_3v3_analog>;
 94             DVDD-supply = <&reg_1v8>;
 95             CPVDD-supply = <&reg_3v3>;
 96             #sound-dai-cells = <0>;
 97             clocks = <&sck>;
 98             pll-in = <3>;
 99             pll-out = <6>;
100         };
101     };

~ [ 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