[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <38149e55ab3e3dcf9938d6379debbe3d6706b707.1456837347.git.nicolas.ferre@atmel.com>
Date: Tue, 1 Mar 2016 14:06:08 +0100
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: <linux-arm-kernel@...ts.infradead.org>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Songjun Wu <songjun.wu@...el.com>
CC: <linux-kernel@...r.kernel.org>,
Boris BREZILLON <boris.brezillon@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...el.com>
Subject: [PATCH 2/2] ARM: dts: at91-sama5d2_xplained: add classD node
From: Songjun Wu <songjun.wu@...el.com>
Enable Class D audio amplifier on the SAMA5D2 Xplained board.
Signed-off-by: Songjun Wu <songjun.wu@...el.com>
[nicolas.ferre@...el.com: split and adapt patch to newer kernel]
Signed-off-by: Nicolas Ferre <nicolas.ferre@...el.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 75341eec2dfd..4b1cbc33cb02 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -268,6 +268,14 @@
};
pinctrl@...38000 {
+ pinctrl_classd_default: classd_default {
+ pinmux = <PIN_PB1__CLASSD_R0>,
+ <PIN_PB2__CLASSD_R1>,
+ <PIN_PB3__CLASSD_R2>,
+ <PIN_PB4__CLASSD_R3>;
+ bias-pull-up;
+ };
+
pinctrl_flx0_default: flx0_default {
pinmux = <PIN_PB28__FLEXCOM0_IO0>,
<PIN_PB29__FLEXCOM0_IO1>;
@@ -377,6 +385,14 @@
bias-disable;
};
};
+
+ classd@...48000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_classd_default>;
+ atmel,pwm-type = "diff";
+ atmel,non-overlap-time = <10>;
+ status = "okay";
+ };
};
};
};
--
2.1.3
Powered by blists - more mailing lists