forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
....@@ -7,6 +7,8 @@
77 <L3 interconnect address, size>;
88 - interrupts: Interrupt number for McPDM
99 - ti,hwmods: Name of the hwmod associated to the McPDM
10
+- clocks: phandle for the pdmclk provider, likely <&twl6040>
11
+- clock-names: Must be "pdmclk"
1012
1113 Example:
1214
....@@ -18,3 +20,11 @@
1820 interrupt-parent = <&gic>;
1921 ti,hwmods = "mcpdm";
2022 };
23
+
24
+In board DTS file the pdmclk needs to be added:
25
+
26
+&mcpdm {
27
+ clocks = <&twl6040>;
28
+ clock-names = "pdmclk";
29
+ status = "okay";
30
+};