diff mbox

ARM: shmobile: r8a7790: lager: add pinmux for iic0

Message ID 1441820899-10457-1-git-send-email-wsa@the-dreams.de (mailing list archive)
State Accepted
Commit 535118cac9e0705bf58de0604060f644bee7472d
Delegated to: Simon Horman
Headers show

Commit Message

Wolfram Sang Sept. 9, 2015, 5:48 p.m. UTC
From: Wolfram Sang <wsa@sang-engineering.com>

It seems we used to rely on the default pinmux setting of this HW, but
currently we need to explicitly set the pinmux to access this bus. It is
better style, too.

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Simon Horman Sept. 11, 2015, 12:40 a.m. UTC | #1
On Wed, Sep 09, 2015 at 07:48:19PM +0200, Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
> 
> It seems we used to rely on the default pinmux setting of this HW, but
> currently we need to explicitly set the pinmux to access this bus. It is
> better style, too.
> 
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>

Thanks, I have queued this up for v4.4.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 6f5d7f50d5ca09..c553abd711eeb3 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -342,6 +342,11 @@ 
 		renesas,function = "msiof1";
 	};
 
+	iic0_pins: iic0 {
+		renesas,groups = "iic0";
+		renesas,function = "iic0";
+	};
+
 	iic1_pins: iic1 {
 		renesas,groups = "iic1";
 		renesas,function = "iic1";
@@ -517,6 +522,8 @@ 
 
 &iic0	{
 	status = "okay";
+	pinctrl-0 = <&iic0_pins>;
+	pinctrl-names = "default";
 };
 
 &iic1	{