ARM: dts: omap4-sdp: Add pdmclk binding for audio
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:55:16 +0000 (11:55 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Jun 2016 11:58:08 +0000 (04:58 -0700)
The twl6040 codec is generating the pdmclk, which is used by the McPDM as
functional clock.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-sdp.dts

index aae5132..7e6cd2d 100644 (file)
 
        twl6040: twl@4b {
                compatible = "ti,twl6040";
+               #clock-cells = <0>;
                reg = <0x4b>;
 
                pinctrl-names = "default";
 &mcpdm {
        pinctrl-names = "default";
        pinctrl-0 = <&mcpdm_pins>;
+
+       clocks = <&twl6040>;
+       clock-names = "pdmclk";
+
        status = "okay";
 };