From: Ben Dooks <ben.dooks@codethink.co.uk>
To: linux-sh@vger.kernel.org
Subject: [PATCH 2/2] ARM: lager: add i2c1, i2c2 pins
Date: Wed, 12 Feb 2014 17:04:34 +0000 [thread overview]
Message-ID: <1392224674-5328-2-git-send-email-ben.dooks@codethink.co.uk> (raw)
Add pinctrl definitions for i2c1 and i2c2 busses on the Lager board
to ensure these are setup correctly at initialisation time. The i2c0
and i2c3 busses are connected to single function pins.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
arch/arm/boot/dts/r8a7790-lager.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 890e39d..300ab20 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -80,6 +80,16 @@
renesas,groups = "mmc1_data8", "mmc1_ctrl";
renesas,function = "mmc1";
};
+
+ i2c1_pins: i2c1 {
+ renesas,groups = "i2c1";
+ renesas,function = "i2c1";
+ };
+
+ i2c2_pins: i2c2 {
+ renesas,groups = "i2c2";
+ renesas,function = "i2c2";
+ };
};
&mmcif1 {
@@ -102,10 +112,14 @@
&i2c1 {
status = "ok";
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
};
&i2c2 {
status = "ok";
+ pinctrl-0 = <&i2c2_pins>;
+ pinctrl-names = "default";
};
&i2c3 {
--
1.8.5.3
next reply other threads:[~2014-02-12 17:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 17:04 Ben Dooks [this message]
2014-02-13 0:27 ` [PATCH 2/2] ARM: lager: add i2c1, i2c2 pins Kuninori Morimoto
2014-06-05 0:32 ` Simon Horman
2014-06-05 13:39 ` Sergei Shtylyov
2014-06-05 16:30 ` Ben Dooks
2014-06-05 17:49 ` Sergei Shtylyov
2014-06-06 7:16 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392224674-5328-2-git-send-email-ben.dooks@codethink.co.uk \
--to=ben.dooks@codethink.co.uk \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).