]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: omap4-panda-common: Add pdmclk binding for audio
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:55:15 +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-panda-common.dtsi

index df2e356ec089df2d9723497f8b89bb470823c891..e1d606f64cb79444fab184560c54eef2c5b18ef3 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";
 };