summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/omap-mcpdm.txt
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-05-18 16:46:36 +0300
committerMark Brown <broonie@kernel.org>2016-05-30 18:19:17 +0300
commit65aca64d05b5eaa5ce15e18b458a8d338ddbd478 (patch)
tree542ac7ca09adcc1acf2fb533bd8f7520cfe93816 /Documentation/devicetree/bindings/sound/omap-mcpdm.txt
parent4a5c83744feb7608422e6c23fa4cce85569b678c (diff)
downloadlinux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.tar.xz
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";
+};