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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/ti,tas2781.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,tas2781.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/sound/ti,tas2781.yaml (Version linux-6.5.13)


  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) 2022 - 2023 Texas Instruments       2 # Copyright (C) 2022 - 2023 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,tas2781.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Texas Instruments TAS2563/TAS2781 Smart !!   8 title: Texas Instruments TAS2781 SmartAMP
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Shenghao Ding <shenghao-ding@ti.com>            11   - Shenghao Ding <shenghao-ding@ti.com>
 12                                                    12 
 13 description: |                                 !!  13 description:
 14   The TAS2563/TAS2781 is a mono, digital input !!  14   The TAS2781 is a mono, digital input Class-D audio amplifier
 15   amplifier optimized for efficiently driving  !!  15   optimized for efficiently driving high peak power into small
 16   small loudspeakers. An integrated on-chip DS !!  16   loudspeakers. An integrated on-chip DSP supports Texas Instruments
 17   Instruments Smart Amp speaker protection alg !!  17   Smart Amp speaker protection algorithm. The integrated speaker
 18   integrated speaker voltage and current sense !!  18   voltage and current sense provides for real time
 19   monitoring of loudspeaker behavior.              19   monitoring of loudspeaker behavior.
 20                                                    20 
 21   Specifications about the audio amplifier can !!  21 allOf:
 22     https://www.ti.com/lit/gpn/tas2563         !!  22   - $ref: dai-common.yaml#
 23     https://www.ti.com/lit/gpn/tas2781         << 
 24                                                    23 
 25 properties:                                        24 properties:
 26   compatible:                                      25   compatible:
 27     description: |                             !!  26     enum:
 28       ti,tas2563: 6.1-W Boosted Class-D Audio  !!  27       - ti,tas2781
 29       DSP and IV Sense, 16/20/24/32bit stereo  << 
 30                                                << 
 31       ti,tas2781: 24-V Class-D Amplifier with  << 
 32       Protection and Audio Processing, 16/20/2 << 
 33       multichannel TDM.                        << 
 34     oneOf:                                     << 
 35       - items:                                 << 
 36           - enum:                              << 
 37               - ti,tas2563                     << 
 38           - const: ti,tas2781                  << 
 39       - enum:                                  << 
 40           - ti,tas2781                         << 
 41                                                    28 
 42   reg:                                             29   reg:
 43     description:                                   30     description:
 44       I2C address, in multiple-AMP case, all t !!  31       I2C address, in multiple tas2781s case, all the i2c address
 45       aggregate as one Audio Device to support !!  32       aggreate as one Audio Device to support multiple audio slots.
 46     maxItems: 8                                    33     maxItems: 8
 47     minItems: 1                                    34     minItems: 1
                                                   >>  35     items:
                                                   >>  36       minimum: 0x38
                                                   >>  37       maximum: 0x3f
 48                                                    38 
 49   reset-gpios:                                     39   reset-gpios:
 50     maxItems: 1                                    40     maxItems: 1
 51                                                    41 
 52   interrupts:                                      42   interrupts:
 53     maxItems: 1                                    43     maxItems: 1
 54                                                    44 
 55   '#sound-dai-cells':                              45   '#sound-dai-cells':
 56     const: 0                                       46     const: 0
 57                                                    47 
 58 required:                                          48 required:
 59   - compatible                                     49   - compatible
 60   - reg                                            50   - reg
 61                                                << 
 62 allOf:                                         << 
 63   - $ref: dai-common.yaml#                     << 
 64   - if:                                        << 
 65       properties:                              << 
 66         compatible:                            << 
 67           contains:                            << 
 68             enum:                              << 
 69               - ti,tas2563                     << 
 70     then:                                      << 
 71       properties:                              << 
 72         reg:                                   << 
 73           description:                         << 
 74             I2C address, in multiple-AMP case, << 
 75             aggregate as one Audio Device to s << 
 76           maxItems: 4                          << 
 77           minItems: 1                          << 
 78           items:                               << 
 79             minimum: 0x4c                      << 
 80             maximum: 0x4f                      << 
 81                                                << 
 82   - if:                                        << 
 83       properties:                              << 
 84         compatible:                            << 
 85           contains:                            << 
 86             enum:                              << 
 87               - ti,tas2781                     << 
 88     then:                                      << 
 89       properties:                              << 
 90         reg:                                   << 
 91           description:                         << 
 92             I2C address, in multiple-AMP case, << 
 93             aggregate as one Audio Device to s << 
 94           maxItems: 8                          << 
 95           minItems: 1                          << 
 96           items:                               << 
 97             minimum: 0x38                      << 
 98             maximum: 0x3f                      << 
 99                                                    51 
100 additionalProperties: false                        52 additionalProperties: false
101                                                    53 
102 examples:                                          54 examples:
103   - |                                              55   - |
104    #include <dt-bindings/gpio/gpio.h>              56    #include <dt-bindings/gpio/gpio.h>
105    i2c {                                           57    i2c {
106      /* example with quad tas2781s, such as ta     58      /* example with quad tas2781s, such as tablet or pad device */
107      #address-cells = <1>;                         59      #address-cells = <1>;
108      #size-cells = <0>;                            60      #size-cells = <0>;
109      quad_tas2781: tas2781@38 {                    61      quad_tas2781: tas2781@38 {
110        compatible = "ti,tas2781";                  62        compatible = "ti,tas2781";
111        reg = <0x38>, /* Audio slot 0 */            63        reg = <0x38>, /* Audio slot 0 */
112              <0x3a>, /* Audio slot 1 */            64              <0x3a>, /* Audio slot 1 */
113              <0x39>, /* Audio slot 2 */            65              <0x39>, /* Audio slot 2 */
114              <0x3b>; /* Audio slot 3 */            66              <0x3b>; /* Audio slot 3 */
115                                                    67 
116        #sound-dai-cells = <0>;                     68        #sound-dai-cells = <0>;
117        reset-gpios = <&gpio1 10 GPIO_ACTIVE_HI     69        reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
118        interrupt-parent = <&gpio1>;                70        interrupt-parent = <&gpio1>;
119        interrupts = <15>;                          71        interrupts = <15>;
120      };                                            72      };
121    };                                              73    };
122 ...                                                74 ...
                                                      

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