Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967531Ab3DRPjS (ORCPT ); Thu, 18 Apr 2013 11:39:18 -0400 Received: from mail.free-electrons.com ([94.23.35.102]:34055 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967480Ab3DRPjM (ORCPT ); Thu, 18 Apr 2013 11:39:12 -0400 From: Alexandre Belloni To: Shawn Guo , Grant Likely Cc: jimwall@q.com, brian@crystalfontz.com, Maxime Ripard , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Jonathan Cameron , Rob Landley , Rob Herring , Alexandre Belloni Subject: [PATCH 3/3] ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree Date: Thu, 18 Apr 2013 17:38:56 +0200 Message-Id: <1366299536-18353-4-git-send-email-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366299536-18353-1-git-send-email-alexandre.belloni@free-electrons.com> References: <1366299536-18353-1-git-send-email-alexandre.belloni@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1488 Lines: 60 From: Maxime Ripard Since these ADCs share the same non-configurable address on the I2C bus, they have to be put behind a muxer. Signed-off-by: Alexandre Belloni Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/imx28-cfa10049.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index a333dbf..23166d9 100644 --- a/arch/arm/boot/dts/imx28-cfa10049.dts +++ b/arch/arm/boot/dts/imx28-cfa10049.dts @@ -312,18 +312,36 @@ reg = <0>; #address-cells = <1>; #size-cells = <0>; + + adc0: nau7802@2a { + compatible = "nuvoton,nau7802"; + reg = <0x2a>; + nuvoton,vldo = <3000>; + }; }; i2c@1 { reg = <1>; #address-cells = <1>; #size-cells = <0>; + + adc1: nau7802@2a { + compatible = "nuvoton,nau7802"; + reg = <0x2a>; + nuvoton,vldo = <3000>; + }; }; i2c@2 { reg = <2>; #address-cells = <1>; #size-cells = <0>; + + adc2: nau7802@2a { + compatible = "nuvoton,nau7802"; + reg = <0x2a>; + nuvoton,vldo = <3000>; + }; }; i2c@3 { -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/