[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180314063700.13365-1-suzuki.katsuhiro@socionext.com>
Date: Wed, 14 Mar 2018 15:37:00 +0900
From: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
To: linux-arm-kernel@...ts.infradead.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
devicetree@...r.kernel.org
Cc: Masami Hiramatsu <masami.hiramatsu@...aro.org>,
Jassi Brar <jaswinder.singh@...aro.org>,
linux-kernel@...r.kernel.org,
Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
Subject: [PATCH] arm64: dts: uniphier: divide I2S and S/PDIF audio out pin-mux group
This patch divides large pin-mux group 'aio' of UniPhier LD11/LD20
audio system as following:
aout1 : 8ch I2S output: AO1DACCK, AO1BCK, AO1LRCK, AO1D[0-2]
aoutiec1: S/PDIF output : AO1IEC, AO1ARC
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
---
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 5 +++--
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 9 +++++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index c17b77091129..e64b03fc0cae 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -192,7 +192,8 @@
reg = <0x56000000 0x80000>;
interrupts = <0 144 4>;
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_aout>;
+ pinctrl-0 = <&pinctrl_aout1>,
+ <&pinctrl_aoutiec1>;
clock-names = "aio";
clocks = <&sys_clk 40>;
reset-names = "aio";
@@ -578,7 +579,7 @@
#include "uniphier-pinctrl.dtsi"
-&pinctrl_aout {
+&pinctrl_aoutiec1 {
drive-strength = <4>; /* default: 4mA */
ao1arc {
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index c85e790fd00d..9a5df24059a2 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -292,7 +292,8 @@
reg = <0x56000000 0x80000>;
interrupts = <0 144 4>;
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_aout>;
+ pinctrl-0 = <&pinctrl_aout1>,
+ <&pinctrl_aoutiec1>;
clock-names = "aio";
clocks = <&sys_clk 40>;
reset-names = "aio";
@@ -633,13 +634,17 @@
#include "uniphier-pinctrl.dtsi"
-&pinctrl_aout {
+&pinctrl_aout1 {
drive-strength = <4>; /* default: 3.5mA */
ao1dacck {
pins = "AO1DACCK";
drive-strength = <5>; /* 5mA */
};
+};
+
+&pinctrl_aoutiec1 {
+ drive-strength = <4>; /* default: 3.5mA */
ao1arc {
pins = "AO1ARC";
--
2.16.1
Powered by blists - more mailing lists