diff mbox

ARM: dts: iwg22d-sodimm: Add pinctl support for scif4

Message ID 1502982549-19429-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Commit 67dbb081815e013e1e7911305b43b44537a78ed2
Delegated to: Simon Horman
Headers show

Commit Message

Biju Das Aug. 17, 2017, 3:09 p.m. UTC
Adding pinctrl support for scif4 interface.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
This patch depends upon the below patch series
[PATCH  0/2] ARM: dts: Add iWave RZ/G1E board support
http://www.spinics.net/lists/devicetree/msg190513.html

This patch is tested against renesas-dev tag 
renesas-devel-20170815-v4.13-rc5 + above dependency patch.

 arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Simon Horman Aug. 30, 2017, 7:30 a.m. UTC | #1
On Thu, Aug 17, 2017 at 04:09:09PM +0100, Biju Das wrote:
> Adding pinctrl support for scif4 interface.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> ---
> This patch depends upon the below patch series
> [PATCH  0/2] ARM: dts: Add iWave RZ/G1E board support
> http://www.spinics.net/lists/devicetree/msg190513.html
> 
> This patch is tested against renesas-dev tag 
> renesas-devel-20170815-v4.13-rc5 + above dependency patch.

Thanks for the dependency and testing details, it is very helpful.

I have applied this for v4.15.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
index cbc19fe..442a5cb 100644
--- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
+++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts
@@ -24,6 +24,16 @@ 
 	};
 };
 
+&pfc {
+	scif4_pins: scif4 {
+		groups = "scif4_data_b";
+		function = "scif4";
+	};
+};
+
 &scif4 {
+	pinctrl-0 = <&scif4_pins>;
+	pinctrl-names = "default";
+
 	status = "okay";
 };