From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Subject: [PATCH 3/3] WIP: adapt dts for i2c slave use
Date: Tue, 2 Sep 2014 20:02:41 +0200 [thread overview]
Message-ID: <1409680961-12632-4-git-send-email-wsa@the-dreams.de> (raw)
In-Reply-To: <1409680961-12632-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
From: Wolfram Sang <wsa+renesas-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
not for upstream yet.
Signed-off-by: Wolfram Sang <wsa+renesas-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
---
arch/arm/boot/dts/r8a7790-lager.dts | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 0118cbfd1cb3..93ff6ce357bb 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -205,9 +205,9 @@
renesas,function = "msiof1";
};
- iic1_pins: iic1 {
- renesas,groups = "iic1";
- renesas,function = "iic1";
+ i2c1_pins: i2c1 {
+ renesas,groups = "i2c1";
+ renesas,function = "i2c1";
};
iic2_pins: iic2 {
@@ -365,10 +365,15 @@
status = "ok";
};
-&iic1 {
+&i2c1 {
status = "ok";
- pinctrl-0 = <&iic1_pins>;
+ pinctrl-0 = <&i2c1_pins>;
pinctrl-names = "default";
+
+ eeprom@64 {
+ compatible = "i2c-slave-eeprom";
+ reg = <0x64>;
+ };
};
&iic2 {
--
2.0.0
prev parent reply other threads:[~2014-09-02 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 18:02 [PATCH 0/3] WIP: i2c slave support Wolfram Sang
[not found] ` <1409680961-12632-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-09-02 18:02 ` [PATCH 1/3] WIP: i2c core changes for " Wolfram Sang
2014-09-02 18:02 ` [PATCH 2/3] WIP: sketch of an slave-eeprom simulator Wolfram Sang
2014-09-02 18:02 ` Wolfram Sang [this message]
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=1409680961-12632-4-git-send-email-wsa@the-dreams.de \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).