2018-03-20 02:50:11

by Katsuhiro Suzuki

[permalink] [raw]
Subject: [PATCH v2 1/2] arm64: dts: uniphier: add syscon property for UniPhier sound system

This patch adds syscon property for specifying soc-glue core into
device-tree of LD11/LD20 SoC.

Currently, soc-glue core is used for changing the state of S/PDIF
signal output pin to signal output state or Hi-Z state.

Signed-off-by: Katsuhiro Suzuki <[email protected]>
---
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 3 ++-
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index efa95573b2aa..e62bda1cf2d9 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -197,6 +197,7 @@
reset-names = "aio";
resets = <&sys_rst 40>;
#sound-dai-cells = <1>;
+ socionext,syscon = <&soc_glue>;

i2s_port0: port@0 {
i2s_hdmi: endpoint {
@@ -479,7 +480,7 @@
};
};

- soc-glue@5f800000 {
+ soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-ld11-soc-glue",
"simple-mfd", "syscon";
reg = <0x5f800000 0x2000>;
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index 19c935688a77..9efe20d07589 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -297,6 +297,7 @@
reset-names = "aio";
resets = <&sys_rst 40>;
#sound-dai-cells = <1>;
+ socionext,syscon = <&soc_glue>;

i2s_port0: port@0 {
i2s_hdmi: endpoint {
@@ -525,7 +526,7 @@
cdns,phy-dll-delay-sdclk-hsmmc = <21>;
};

- soc-glue@5f800000 {
+ soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-ld20-soc-glue",
"simple-mfd", "syscon";
reg = <0x5f800000 0x2000>;
--
2.16.2



2018-03-20 02:49:58

by Katsuhiro Suzuki

[permalink] [raw]
Subject: [PATCH v2 2/2] ARM: dts: uniphier: add syscon property for UniPhier sound system

This patch adds syscon property for specifying soc-glue core into
device-tree of PXs2 SoC.

Currently, soc-glue core is used for changing the state of S/PDIF
signal output pin to signal output state or Hi-Z state.

Signed-off-by: Katsuhiro Suzuki <[email protected]>
---
arch/arm/boot/dts/uniphier-pxs2.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi
index 595045441c9c..debcbd15c24b 100644
--- a/arch/arm/boot/dts/uniphier-pxs2.dtsi
+++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi
@@ -242,6 +242,7 @@
reset-names = "aio";
resets = <&sys_rst 40>;
#sound-dai-cells = <1>;
+ socionext,syscon = <&soc_glue>;

i2s_port0: port@0 {
i2s_hdmi: endpoint {
@@ -418,7 +419,7 @@
};
};

- soc-glue@5f800000 {
+ soc_glue: soc-glue@5f800000 {
compatible = "socionext,uniphier-pxs2-soc-glue",
"simple-mfd", "syscon";
reg = <0x5f800000 0x2000>;
--
2.16.2


2018-03-20 15:17:13

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] arm64: dts: uniphier: add syscon property for UniPhier sound system

2018-03-20 11:48 GMT+09:00 Katsuhiro Suzuki <[email protected]>:
> This patch adds syscon property for specifying soc-glue core into
> device-tree of LD11/LD20 SoC.
>
> Currently, soc-glue core is used for changing the state of S/PDIF
> signal output pin to signal output state or Hi-Z state.
>
> Signed-off-by: Katsuhiro Suzuki <[email protected]>

Both applied.
Thanks.