summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
diff options
context:
space:
mode:
authorPeter Ujfalusi2016-05-18 15:46:36 +0200
committerMark Brown2016-05-30 17:19:17 +0200
commit65aca64d05b5eaa5ce15e18b458a8d338ddbd478 (patch)
tree542ac7ca09adcc1acf2fb533bd8f7520cfe93816 /Documentation/devicetree/bindings/sound/omap-mcpdm.txt
parentASoC: omap-mcpdm: Support for suspend resume (diff)
downloadkernel-qcow2-linux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.tar.gz
kernel-qcow2-linux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.tar.xz
kernel-qcow2-linux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.zip
ASoC: omap-mcpdm: Add support for pdmclk clock handling
McPDM module receives it's functional clock from external source. This clock is the pdmclk provided by the twl6040 audio IC. If the clock is not available all register accesses to McPDM fails and the module is not operational. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/omap-mcpdm.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/omap-mcpdm.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/omap-mcpdm.txt b/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
index 0741dff048dd..6f6c2f8e908d 100644
--- a/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
+++ b/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
@@ -8,6 +8,8 @@ Required properties:
- interrupts: Interrupt number for McPDM
- interrupt-parent: The parent interrupt controller
- ti,hwmods: Name of the hwmod associated to the McPDM
+- clocks: phandle for the pdmclk provider, likely <&twl6040>
+- clock-names: Must be "pdmclk"
Example:
@@ -19,3 +21,11 @@ mcpdm: mcpdm@40132000 {
interrupt-parent = <&gic>;
ti,hwmods = "mcpdm";
};
+
+In board DTS file the pdmclk needs to be added:
+
+&mcpdm {
+ clocks = <&twl6040>;
+ clock-names = "pdmclk";
+ status = "okay";
+};