diff mbox

[2/2] ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049

Message ID 1351182234-22971-3-git-send-email-maxime.ripard@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Maxime Ripard Oct. 25, 2012, 4:23 p.m. UTC
This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555
GPIO expander eventually.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/imx28-cfa10049.dts |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Wolfram Sang Nov. 16, 2012, 8:32 a.m. UTC | #1
On Thu, Oct 25, 2012 at 06:23:54PM +0200, Maxime Ripard wrote:
> This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555
> GPIO expander eventually.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Shawn, I pushed the needed code to my for-next now. So you could apply
this patch for 3.8 or give an ack in case you want me to pick it via
i2c.

Regards,

   Wolfram
Wolfram Sang Nov. 16, 2012, 2:09 p.m. UTC | #2
On Fri, Nov 16, 2012 at 10:25:32PM +0800, Shawn Guo wrote:
> On Fri, Nov 16, 2012 at 09:32:18AM +0100, Wolfram Sang wrote:
> > On Thu, Oct 25, 2012 at 06:23:54PM +0200, Maxime Ripard wrote:
> > > This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555
> > > GPIO expander eventually.
> > > 
> > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > 
> > Shawn, I pushed the needed code to my for-next now. So you could apply
> > this patch for 3.8 or give an ack in case you want me to pick it via
> > i2c.
> > 
> I have already sent mxs 3.8 stuff to arm-soc, so please have it go via
> i2c tree.  Thanks.
> 
> Acked-by: Shawn Guo <shawn.guo@linaro.org>

OK. Applied to my for-next, thanks!
Shawn Guo Nov. 16, 2012, 2:25 p.m. UTC | #3
On Fri, Nov 16, 2012 at 09:32:18AM +0100, Wolfram Sang wrote:
> On Thu, Oct 25, 2012 at 06:23:54PM +0200, Maxime Ripard wrote:
> > This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555
> > GPIO expander eventually.
> > 
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> 
> Shawn, I pushed the needed code to my for-next now. So you could apply
> this patch for 3.8 or give an ack in case you want me to pick it via
> i2c.
> 
I have already sent mxs 3.8 stuff to arm-soc, so please have it go via
i2c tree.  Thanks.

Acked-by: Shawn Guo <shawn.guo@linaro.org>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts
index 97ee098..2cda823 100644
--- a/arch/arm/boot/dts/imx28-cfa10049.dts
+++ b/arch/arm/boot/dts/imx28-cfa10049.dts
@@ -76,6 +76,30 @@ 
 				status = "okay";
 			};
 
+			i2cmux {
+				compatible = "i2c-mux-gpio";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
+				i2c-parent = <&i2c1>;
+
+				i2c@0 {
+					reg = <0>;
+				};
+
+				i2c@1 {
+					reg = <1>;
+				};
+
+				i2c@2 {
+					reg = <2>;
+				};
+
+				i2c@3 {
+					reg = <3>;
+				};
+			};
+
 			usbphy1: usbphy@8007e000 {
 				status = "okay";
 			};