Lines Matching +full:dmic1 +full:- +full:data +full:- +full:pin

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bard Liao <[email protected]>
13 - $ref: dai-common.yaml#
18 - realtek,rt5682
19 - realtek,rt5682i
29 realtek,dmic1-data-pin:
32 - 0 # dmic1 data is not used
33 - 1 # using GPIO2 pin as dmic1 data pin
34 - 2 # using GPIO5 pin as dmic1 data pin
36 Specify which GPIO pin be used as DMIC1 data pin.
38 realtek,dmic1-clk-pin:
41 - 0 # using GPIO1 pin as dmic1 clock pin
42 - 1 # using GPIO3 pin as dmic1 clock pin
44 Specify which GPIO pin be used as DMIC1 clk pin.
46 realtek,jd-src:
49 - 0 # No JD is used
50 - 1 # using JD1 as JD source
54 realtek,ldo1-en-gpios:
56 The GPIO that controls the CODEC's LDO1_EN pin.
58 realtek,btndet-delay:
62 The delay time is realtek,btndet-delay value multiple of 8.192 ms.
65 realtek,dmic-clk-rate-hz:
69 realtek,dmic-delay-ms:
73 realtek,dmic-clk-driving-high:
80 - description: phandle and clock specifier for codec MCLK.
82 clock-names:
84 - const: mclk
86 "#clock-cells":
89 clock-output-names:
94 "#sound-dai-cells":
97 AVDD-supply:
98 description: Regulator supplying analog power through the AVDD pin.
100 MICVDD-supply:
102 the MICVDD pin.
104 VBAT-supply:
105 description: Regulator supplying battery power through the VBAT pin.
107 DBVDD-supply:
108 description: Regulator supplying I/O power through the DBVDD pin.
110 LDO1-IN-supply:
112 pump through the LDO1_IN pin.
115 - compatible
116 - reg
117 - AVDD-supply
118 - VBAT-supply
119 - MICVDD-supply
120 - DBVDD-supply
121 - LDO1-IN-supply
126 - |
127 #include <dt-bindings/gpio/gpio.h>
128 #include <dt-bindings/interrupt-controller/irq.h>
131 #address-cells = <1>;
132 #size-cells = <0>;
138 realtek,ldo1-en-gpios =
140 realtek,dmic1-data-pin = <1>;
141 realtek,dmic1-clk-pin = <1>;
142 realtek,jd-src = <1>;
144 #clock-cells = <1>;
145 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
148 clock-names = "mclk";
150 AVDD-supply = <&avdd_reg>;
151 VBAT-supply = <&vbat_reg>;
152 MICVDD-supply = <&micvdd_reg>;
153 DBVDD-supply = <&dbvdd_reg>;
154 LDO1-IN-supply = <&ldo1_in_reg>;