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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/ti,tas2770.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/ti,tas2770.yaml (Architecture i386) and /Documentation/devicetree/bindings/sound/ti,tas2770.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 # Copyright (C) 2019-20 Texas Instruments Inco      2 # Copyright (C) 2019-20 Texas Instruments Incorporated
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/sound/ti,ta      5 $id: http://devicetree.org/schemas/sound/ti,tas2770.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Texas Instruments TAS2770 Smart PA           8 title: Texas Instruments TAS2770 Smart PA
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Shi Fu <shifu0704@thundersoft.com>              11   - Shi Fu <shifu0704@thundersoft.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   The TAS2770 is a mono, digital input Class-D     14   The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
 15   efficiently driving high peak power into sma     15   efficiently driving high peak power into small loudspeakers.
 16   Integrated speaker voltage and current sense     16   Integrated speaker voltage and current sense provides for
 17   real time monitoring of loudspeaker behavior     17   real time monitoring of loudspeaker behavior.
 18                                                    18 
 19 allOf:                                             19 allOf:
 20   - $ref: dai-common.yaml#                         20   - $ref: dai-common.yaml#
 21                                                    21 
 22 properties:                                        22 properties:
 23   compatible:                                      23   compatible:
 24     enum:                                          24     enum:
 25       - ti,tas2770                                 25       - ti,tas2770
 26                                                    26 
 27   reg:                                             27   reg:
 28     maxItems: 1                                    28     maxItems: 1
 29     description: |                                 29     description: |
 30        I2C address of the device can be betwee     30        I2C address of the device can be between 0x41 to 0x48.
 31                                                    31 
 32   reset-gpio:                                      32   reset-gpio:
 33     maxItems: 1                                    33     maxItems: 1
 34     description: GPIO used to reset the device     34     description: GPIO used to reset the device.
 35                                                    35 
 36   shutdown-gpios:                                  36   shutdown-gpios:
 37     maxItems: 1                                    37     maxItems: 1
 38     description: GPIO used to control the stat     38     description: GPIO used to control the state of the device.
 39                                                    39 
 40   interrupts:                                      40   interrupts:
 41     maxItems: 1                                    41     maxItems: 1
 42                                                    42 
 43   ti,imon-slot-no:                                 43   ti,imon-slot-no:
 44     $ref: /schemas/types.yaml#/definitions/uin     44     $ref: /schemas/types.yaml#/definitions/uint32
 45     description: TDM TX current sense time slo     45     description: TDM TX current sense time slot.
 46                                                    46 
 47   ti,vmon-slot-no:                                 47   ti,vmon-slot-no:
 48     $ref: /schemas/types.yaml#/definitions/uin     48     $ref: /schemas/types.yaml#/definitions/uint32
 49     description: TDM TX voltage sense time slo     49     description: TDM TX voltage sense time slot.
 50                                                    50 
 51   ti,asi-format:                                   51   ti,asi-format:
 52     deprecated: true                               52     deprecated: true
 53     $ref: /schemas/types.yaml#/definitions/uin     53     $ref: /schemas/types.yaml#/definitions/uint32
 54     description: Sets TDM RX capture edge.         54     description: Sets TDM RX capture edge.
 55     enum:                                          55     enum:
 56       - 0 # Rising edge                            56       - 0 # Rising edge
 57       - 1 # Falling edge                           57       - 1 # Falling edge
 58                                                    58 
 59   '#sound-dai-cells':                              59   '#sound-dai-cells':
 60     # The codec has a single DAI, the #sound-d     60     # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
 61     # compatibility but is deprecated.             61     # compatibility but is deprecated.
 62     enum: [0, 1]                                   62     enum: [0, 1]
 63                                                    63 
 64 required:                                          64 required:
 65   - compatible                                     65   - compatible
 66   - reg                                            66   - reg
 67                                                    67 
 68 unevaluatedProperties: false                       68 unevaluatedProperties: false
 69                                                    69 
 70 examples:                                          70 examples:
 71   - |                                              71   - |
 72    #include <dt-bindings/gpio/gpio.h>              72    #include <dt-bindings/gpio/gpio.h>
 73    i2c {                                           73    i2c {
 74      #address-cells = <1>;                         74      #address-cells = <1>;
 75      #size-cells = <0>;                            75      #size-cells = <0>;
 76      codec: codec@41 {                             76      codec: codec@41 {
 77        compatible = "ti,tas2770";                  77        compatible = "ti,tas2770";
 78        reg = <0x41>;                               78        reg = <0x41>;
 79        #sound-dai-cells = <0>;                     79        #sound-dai-cells = <0>;
 80        interrupt-parent = <&gpio1>;                80        interrupt-parent = <&gpio1>;
 81        interrupts = <14>;                          81        interrupts = <14>;
 82        reset-gpio = <&gpio1 15 0>;                 82        reset-gpio = <&gpio1 15 0>;
 83        shutdown-gpios = <&gpio1 14 0>;             83        shutdown-gpios = <&gpio1 14 0>;
 84        ti,imon-slot-no = <0>;                      84        ti,imon-slot-no = <0>;
 85        ti,vmon-slot-no = <2>;                      85        ti,vmon-slot-no = <2>;
 86      };                                            86      };
 87    };                                              87    };
                                                      

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