brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 2f91723 Raw
134 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/ti,tas57xx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 stereo power amplifiers8 9maintainers:10  - Neil Armstrong <neil.armstrong@linaro.org>11 12properties:13  compatible:14    enum:15      - ti,tas570716      - ti,tas571117      - ti,tas571718      - ti,tas571919      - ti,tas572120      - ti,tas573321 22  reg:23    maxItems: 124 25  reset-gpios:26    maxItems: 127    description: GPIO for the active low reset line28 29  pdn-gpios:30    maxItems: 131    description: GPIO for the active low powerdown line32 33  clocks:34    maxItems: 135 36  clock-names:37    const: mclk38 39  AVDD-supply: true40  DVDD-supply: true41  HPVDD-supply: true42  PVDD_AB-supply: true43  PVDD_CD-supply: true44  PVDD_A-supply: true45  PVDD_B-supply: true46  PVDD_C-supply: true47  PVDD_D-supply: true48  DRVDD-supply: true49  PVDD-supply: true50 51  '#sound-dai-cells':52    const: 053 54  port:55    $ref: audio-graph-port.yaml#56    unevaluatedProperties: false57 58required:59  - compatible60  - reg61  - '#sound-dai-cells'62 63allOf:64  - $ref: dai-common.yaml#65  - if:66      properties:67        compatible:68          contains:69            enum:70              - ti,tas571771              - ti,tas571972    then:73      properties:74        PVDD_A-supply: false75        PVDD_B-supply: false76        PVDD_C-supply: false77        PVDD_D-supply: false78        DRVDD-supply: false79        PVDD-supply: false80 81  - if:82      properties:83        compatible:84          contains:85            enum:86              - ti,tas571187    then:88      properties:89        HPVDD-supply: false90        PVDD_AB-supply: false91        PVDD_CD-supply: false92        DRVDD-supply: false93        PVDD-supply: false94 95  - if:96      properties:97        compatible:98          contains:99            enum:100              - ti,tas5721101    then:102      properties:103        HPVDD-supply: false104        PVDD_AB-supply: false105        PVDD_CD-supply: false106        PVDD_A-supply: false107        PVDD_B-supply: false108        PVDD_C-supply: false109        PVDD_D-supply: false110 111unevaluatedProperties: false112 113examples:114  - |115   i2c {116     #address-cells = <1>;117     #size-cells = <0>;118 119     codec@2a {120       compatible = "ti,tas5717";121       reg = <0x2a>;122       #sound-dai-cells = <0>;123       reset-gpios = <&gpio1 15 0>;124       pdn-gpios = <&gpio1 15 0>;125       AVDD-supply = <&avdd_supply>;126       DVDD-supply = <&dvdd_supply>;127       HPVDD-supply = <&hpvdd_supply>;128       PVDD_AB-supply = <&pvdd_ab_supply>;129       PVDD_CD-supply = <&pvdd_cd_supply>;130     };131   };132 133...134