forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
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
+};