All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6sx-sdb: add i2c3 node
@ 2016-01-24 22:49 Christoph Fritz
  2016-02-01 13:48 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Fritz @ 2016-01-24 22:49 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds node i2c bus 3 to get the appropriate userland device
file. So for prototyping it's possible to experiment within userland.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 arch/arm/boot/dts/imx6sx-sdb.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi
index e0dc1ee..3d91627 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dtsi
+++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi
@@ -197,6 +197,13 @@
 	status = "okay";
 };
 
+&i2c3 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c3>;
+	status = "okay";
+};
+
 &i2c4 {
         clock-frequency = <100000>;
         pinctrl-names = "default";
@@ -398,6 +405,13 @@
 			>;
 		};
 
+		pinctrl_i2c3: i2c3grp {
+			fsl,pins = <
+				MX6SX_PAD_KEY_ROW4__I2C3_SDA		0x4001b8b1
+				MX6SX_PAD_KEY_COL4__I2C3_SCL		0x4001b8b1
+			>;
+		};
+
 		pinctrl_i2c4: i2c4grp {
 			fsl,pins = <
 				MX6SX_PAD_CSI_DATA07__I2C4_SDA		0x4001b8b1
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx6sx-sdb: add i2c3 node
  2016-01-24 22:49 [PATCH] ARM: imx6sx-sdb: add i2c3 node Christoph Fritz
@ 2016-02-01 13:48 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2016-02-01 13:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Jan 24, 2016 at 11:49:18PM +0100, Christoph Fritz wrote:
> This patch adds node i2c bus 3 to get the appropriate userland device
> file. So for prototyping it's possible to experiment within userland.
> 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-01 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-24 22:49 [PATCH] ARM: imx6sx-sdb: add i2c3 node Christoph Fritz
2016-02-01 13:48 ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.