Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: sound: omap-mcpdm: Update documentation for pdmclk

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>

authored by

Peter Ujfalusi and committed by
Mark Brown
22cc062c 80e733fd

+10
+10
Documentation/devicetree/bindings/sound/omap-mcpdm.txt
··· 7 7 <L3 interconnect address, size>; 8 8 - interrupts: Interrupt number for McPDM 9 9 - 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" 10 12 11 13 Example: 12 14 ··· 19 17 interrupts = <0 112 0x4>; 20 18 interrupt-parent = <&gic>; 21 19 ti,hwmods = "mcpdm"; 20 + }; 21 + 22 + In board DTS file the pdmclk needs to be added: 23 + 24 + &mcpdm { 25 + clocks = <&twl6040>; 26 + clock-names = "pdmclk"; 27 + status = "okay"; 22 28 };