diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-05-18 16:46:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-30 16:19:17 +0100 |
commit | 65aca64d05b5eaa5ce15e18b458a8d338ddbd478 (patch) | |
tree | 542ac7ca09adcc1acf2fb533bd8f7520cfe93816 /Documentation | |
parent | 4a5c83744feb7608422e6c23fa4cce85569b678c (diff) | |
download | linux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.tar.gz linux-65aca64d05b5eaa5ce15e18b458a8d338ddbd478.tar.bz2 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')
-rw-r--r-- | Documentation/devicetree/bindings/sound/omap-mcpdm.txt | 10 |
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"; +}; |