Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402987 > unrolled thread

[PATCH 10/14] ARM: dts: omap4-duovero: Add pdmclk binding for audio

Started byPeter Ujfalusi <peter.ujfalusi@ti.com>
First post2016-05-18 15:50 +0200
Last post2016-05-18 15:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 10/14] ARM: dts: omap4-duovero: Add pdmclk binding for audio Peter Ujfalusi <peter.ujfalusi@ti.com> - 2016-05-18 15:50 +0200

#1402987 — [PATCH 10/14] ARM: dts: omap4-duovero: Add pdmclk binding for audio

FromPeter Ujfalusi <peter.ujfalusi@ti.com>
Date2016-05-18 15:50 +0200
Subject[PATCH 10/14] ARM: dts: omap4-duovero: Add pdmclk binding for audio
Message-ID<rAa1k-2O5-17@gated-at.bofh.it>
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>
---
 arch/arm/boot/dts/omap4-duovero.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-duovero.dtsi b/arch/arm/boot/dts/omap4-duovero.dtsi
index f2a94fa62552..a90b582e4c3f 100644
--- a/arch/arm/boot/dts/omap4-duovero.dtsi
+++ b/arch/arm/boot/dts/omap4-duovero.dtsi
@@ -177,6 +177,7 @@
 
 	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 */
@@ -207,6 +208,10 @@
 &mcpdm {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mcpdm_pins>;
+
+	clocks = <&twl6040>;
+	clock-names = "pdmclk";
+
 	status = "okay";
 };
 
-- 
2.8.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web