lkml.org 
[lkml]   [2018]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] arm64: dts: uniphier: divide I2S and S/PDIF audio out pin-mux group
Date
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@socionext.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
\
 
 \ /
  Last update: 2018-03-14 07:37    [W:0.038 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site