Lines Matching +full:codec +full:- +full:analog +full:- +full:controls
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Realtek rt5682s codec
10 - Derek Fang <derek.fang@realtek.com>
13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
16 - $ref: dai-common.yaml#
28 description: The CODEC's interrupt output.
30 realtek,dmic1-data-pin:
33 - 0 # dmic1 data is not used
34 - 1 # using GPIO2 pin as dmic1 data pin
35 - 2 # using GPIO5 pin as dmic1 data pin
39 realtek,dmic1-clk-pin:
42 - 0 # dmic1 clk is not used
43 - 1 # using GPIO1 pin as dmic1 clock pin
44 - 2 # using GPIO3 pin as dmic1 clock pin
48 realtek,jd-src:
51 - 0 # No JD is used
52 - 1 # using JD1 as JD source
56 realtek,ldo1-en-gpios:
58 The GPIO that controls the CODEC's LDO1_EN pin.
60 realtek,dmic-clk-rate-hz:
64 realtek,dmic-delay-ms:
68 realtek,amic-delay-ms:
72 realtek,dmic-clk-driving-high:
79 - description: phandle and clock specifier for codec MCLK.
81 clock-names:
83 - const: mclk
85 "#clock-cells":
88 clock-output-names:
93 "#sound-dai-cells":
96 AVDD-supply:
97 description: Regulator supplying analog power through the AVDD pin.
99 MICVDD-supply:
103 DBVDD-supply:
106 LDO1-IN-supply:
113 - compatible
114 - reg
115 - AVDD-supply
116 - MICVDD-supply
117 - DBVDD-supply
118 - LDO1-IN-supply
121 - |
122 #include <dt-bindings/gpio/gpio.h>
123 #include <dt-bindings/interrupt-controller/irq.h>
126 #address-cells = <1>;
127 #size-cells = <0>;
129 codec@1a {
133 realtek,ldo1-en-gpios =
135 realtek,dmic1-data-pin = <1>;
136 realtek,dmic1-clk-pin = <1>;
137 realtek,jd-src = <1>;
139 #clock-cells = <1>;
140 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
143 clock-names = "mclk";
145 AVDD-supply = <&avdd_reg>;
146 MICVDD-supply = <&micvdd_reg>;
147 DBVDD-supply = <&dbvdd_reg>;
148 LDO1-IN-supply = <&ldo1_in_reg>;