forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/Documentation/devicetree/bindings/sound/rt5682.txt
....@@ -27,6 +27,23 @@
2727
2828 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
2929
30
+- realtek,btndet-delay
31
+ The debounce delay for push button.
32
+ The delay time is realtek,btndet-delay value multiple of 8.192 ms.
33
+ If absent, the default is 16.
34
+
35
+- #clock-cells : Should be set to '<1>', wclk and bclk sources provided.
36
+- clock-output-names : Name given for DAI clocks output.
37
+
38
+- clocks : phandle and clock specifier for codec MCLK.
39
+- clock-names : Clock name string for 'clocks' attribute, should be "mclk".
40
+
41
+- realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of
42
+ the particular DMIC.
43
+
44
+- realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of
45
+ the particular DMIC.
46
+
3047 Pins on the device (for linking into audio routes) for RT5682:
3148
3249 * DMIC L1
....@@ -41,10 +58,17 @@
4158 compatible = "realtek,rt5682i";
4259 reg = <0x1a>;
4360 interrupt-parent = <&gpio>;
44
- interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
61
+ interrupts = <TEGRA_GPIO(U, 6) IRQ_TYPE_LEVEL_HIGH>;
4562 realtek,ldo1-en-gpios =
4663 <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
4764 realtek,dmic1-data-pin = <1>;
4865 realtek,dmic1-clk-pin = <1>;
4966 realtek,jd-src = <1>;
67
+ realtek,btndet-delay = <16>;
68
+
69
+ #clock-cells = <1>;
70
+ clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
71
+
72
+ clocks = <&osc>;
73
+ clock-names = "mclk";
5074 };