ARM: dts: omap4-duovero: Add pdmclk binding for audio
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 30 May 2016 08:55:18 +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-duovero.dtsi

index f2a94fa625527661e19b4983f27372be0119f7e0..a90b582e4c3f15d3307b184989c48b4dc51fd011 100644 (file)
 
        twl6040: twl@4b {
                compatible = "ti,twl6040";
+               #clock-cells = <0>;
                reg = <0x4b>;
                interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;         /* IRQ_SYS_2N cascaded to gic */
                ti,audpwron-gpio = <&gpio6 0 GPIO_ACTIVE_HIGH>;         /* gpio_160 */
 &mcpdm {
        pinctrl-names = "default";
        pinctrl-0 = <&mcpdm_pins>;
+
+       clocks = <&twl6040>;
+       clock-names = "pdmclk";
+
        status = "okay";
 };