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

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


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/sound/realt      4 $id: http://devicetree.org/schemas/sound/realtek,rt5682s.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Realtek rt5682s codec                        7 title: Realtek rt5682s codec
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Derek Fang <derek.fang@realtek.com>             10   - Derek Fang <derek.fang@realtek.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   Rt5682s(ALC5682I-VS) is a rt5682i variant wh     13   Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
 14                                                    14 
 15 allOf:                                             15 allOf:
 16   - $ref: dai-common.yaml#                         16   - $ref: dai-common.yaml#
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     const: realtek,rt5682s                         20     const: realtek,rt5682s
 21                                                    21 
 22   reg:                                             22   reg:
 23     maxItems: 1                                    23     maxItems: 1
 24     description: I2C address of the device.        24     description: I2C address of the device.
 25                                                    25 
 26   interrupts:                                      26   interrupts:
 27     maxItems: 1                                    27     maxItems: 1
 28     description: The CODEC's interrupt output.     28     description: The CODEC's interrupt output.
 29                                                    29 
 30   realtek,dmic1-data-pin:                          30   realtek,dmic1-data-pin:
 31     $ref: /schemas/types.yaml#/definitions/uin     31     $ref: /schemas/types.yaml#/definitions/uint32
 32     enum:                                          32     enum:
 33       - 0 # dmic1 data is not used                 33       - 0 # dmic1 data is not used
 34       - 1 # using GPIO2 pin as dmic1 data pin      34       - 1 # using GPIO2 pin as dmic1 data pin
 35       - 2 # using GPIO5 pin as dmic1 data pin      35       - 2 # using GPIO5 pin as dmic1 data pin
 36     description: |                                 36     description: |
 37       Specify which GPIO pin be used as DMIC1      37       Specify which GPIO pin be used as DMIC1 data pin.
 38                                                    38 
 39   realtek,dmic1-clk-pin:                           39   realtek,dmic1-clk-pin:
 40     $ref: /schemas/types.yaml#/definitions/uin     40     $ref: /schemas/types.yaml#/definitions/uint32
 41     enum:                                          41     enum:
 42       - 0 # dmic1 clk is not used                  42       - 0 # dmic1 clk is not used
 43       - 1 # using GPIO1 pin as dmic1 clock pin     43       - 1 # using GPIO1 pin as dmic1 clock pin
 44       - 2 # using GPIO3 pin as dmic1 clock pin     44       - 2 # using GPIO3 pin as dmic1 clock pin
 45     description: |                                 45     description: |
 46       Specify which GPIO pin be used as DMIC1      46       Specify which GPIO pin be used as DMIC1 clk pin.
 47                                                    47 
 48   realtek,jd-src:                                  48   realtek,jd-src:
 49     $ref: /schemas/types.yaml#/definitions/uin     49     $ref: /schemas/types.yaml#/definitions/uint32
 50     enum:                                          50     enum:
 51       - 0 # No JD is used                          51       - 0 # No JD is used
 52       - 1 # using JD1 as JD source                 52       - 1 # using JD1 as JD source
 53     description: |                                 53     description: |
 54       Specify which JD source be used.             54       Specify which JD source be used.
 55                                                    55 
 56   realtek,ldo1-en-gpios:                           56   realtek,ldo1-en-gpios:
 57     description: |                                 57     description: |
 58       The GPIO that controls the CODEC's LDO1_     58       The GPIO that controls the CODEC's LDO1_EN pin.
 59                                                    59 
 60   realtek,dmic-clk-rate-hz:                        60   realtek,dmic-clk-rate-hz:
 61     description: |                                 61     description: |
 62       Set the clock rate (hz) for the requirem     62       Set the clock rate (hz) for the requirement of the particular DMIC.
 63                                                    63 
 64   realtek,dmic-delay-ms:                           64   realtek,dmic-delay-ms:
 65     description: |                                 65     description: |
 66       Set the delay time (ms) for the requirem     66       Set the delay time (ms) for the requirement of the particular DMIC.
 67                                                    67 
 68   realtek,amic-delay-ms:                           68   realtek,amic-delay-ms:
 69     description: |                                 69     description: |
 70       Set the delay time (ms) for the requirem     70       Set the delay time (ms) for the requirement of the particular platform or AMIC.
 71                                                    71 
 72   realtek,dmic-clk-driving-high:                   72   realtek,dmic-clk-driving-high:
 73     type: boolean                                  73     type: boolean
 74     description: |                                 74     description: |
 75       Set the high driving of the DMIC clock o     75       Set the high driving of the DMIC clock out.
 76                                                    76 
 77   clocks:                                          77   clocks:
 78     items:                                         78     items:
 79       - description: phandle and clock specifi     79       - description: phandle and clock specifier for codec MCLK.
 80                                                    80 
 81   clock-names:                                     81   clock-names:
 82     items:                                         82     items:
 83       - const: mclk                                83       - const: mclk
 84                                                    84 
 85   "#clock-cells":                                  85   "#clock-cells":
 86     const: 1                                       86     const: 1
 87                                                    87 
 88   clock-output-names:                              88   clock-output-names:
 89     minItems: 2                                    89     minItems: 2
 90     maxItems: 2                                    90     maxItems: 2
 91     description: Name given for DAI word clock     91     description: Name given for DAI word clock and bit clock outputs.
 92                                                    92 
 93   "#sound-dai-cells":                              93   "#sound-dai-cells":
 94     const: 1                                       94     const: 1
 95                                                    95 
 96   AVDD-supply:                                     96   AVDD-supply:
 97     description: Regulator supplying analog po     97     description: Regulator supplying analog power through the AVDD pin.
 98                                                    98 
 99   MICVDD-supply:                                   99   MICVDD-supply:
100     description: Regulator supplying power for    100     description: Regulator supplying power for the microphone bias through the
101       MICVDD pin.                                 101       MICVDD pin.
102                                                   102 
103   DBVDD-supply:                                   103   DBVDD-supply:
104     description: Regulator supplying I/O power    104     description: Regulator supplying I/O power through the DBVDD pin.
105                                                   105 
106   LDO1-IN-supply:                                 106   LDO1-IN-supply:
107     description: Regulator supplying power to     107     description: Regulator supplying power to the digital core and charge pump
108       through the LDO1_IN pin.                    108       through the LDO1_IN pin.
109                                                   109 
110 unevaluatedProperties: false                      110 unevaluatedProperties: false
111                                                   111 
112 required:                                         112 required:
113   - compatible                                    113   - compatible
114   - reg                                           114   - reg
115   - AVDD-supply                                   115   - AVDD-supply
116   - MICVDD-supply                                 116   - MICVDD-supply
117   - DBVDD-supply                                  117   - DBVDD-supply
118   - LDO1-IN-supply                                118   - LDO1-IN-supply
119                                                   119 
120 examples:                                         120 examples:
121   - |                                             121   - |
122     #include <dt-bindings/gpio/gpio.h>            122     #include <dt-bindings/gpio/gpio.h>
123     #include <dt-bindings/interrupt-controller    123     #include <dt-bindings/interrupt-controller/irq.h>
124                                                   124 
125     i2c {                                         125     i2c {
126         #address-cells = <1>;                     126         #address-cells = <1>;
127         #size-cells = <0>;                        127         #size-cells = <0>;
128                                                   128 
129         codec@1a {                                129         codec@1a {
130             compatible = "realtek,rt5682s";       130             compatible = "realtek,rt5682s";
131             reg = <0x1a>;                         131             reg = <0x1a>;
132             interrupts = <6 IRQ_TYPE_LEVEL_HIG    132             interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
133             realtek,ldo1-en-gpios =               133             realtek,ldo1-en-gpios =
134                 <&gpio 2 GPIO_ACTIVE_HIGH>;       134                 <&gpio 2 GPIO_ACTIVE_HIGH>;
135             realtek,dmic1-data-pin = <1>;         135             realtek,dmic1-data-pin = <1>;
136             realtek,dmic1-clk-pin = <1>;          136             realtek,dmic1-clk-pin = <1>;
137             realtek,jd-src = <1>;                 137             realtek,jd-src = <1>;
138                                                   138 
139             #clock-cells = <1>;                   139             #clock-cells = <1>;
140             clock-output-names = "rt5682-dai-w    140             clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
141                                                   141 
142             clocks = <&osc>;                      142             clocks = <&osc>;
143             clock-names = "mclk";                 143             clock-names = "mclk";
144                                                   144 
145             AVDD-supply = <&avdd_reg>;            145             AVDD-supply = <&avdd_reg>;
146             MICVDD-supply = <&micvdd_reg>;        146             MICVDD-supply = <&micvdd_reg>;
147             DBVDD-supply = <&dbvdd_reg>;          147             DBVDD-supply = <&dbvdd_reg>;
148             LDO1-IN-supply = <&ldo1_in_reg>;      148             LDO1-IN-supply = <&ldo1_in_reg>;
149         };                                        149         };
150     };                                            150     };
                                                      

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