Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753427AbbDCNG7 (ORCPT ); Fri, 3 Apr 2015 09:06:59 -0400 Received: from down.free-electrons.com ([37.187.137.238]:49603 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753110AbbDCNG4 (ORCPT ); Fri, 3 Apr 2015 09:06:56 -0400 From: Antoine Tenart To: sebastian.hesselbarth@gmail.com, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: Antoine Tenart , zmxu@marvell.com, jszhang@marvell.com, yrliao@marvell.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] ARM: berlin: add an ADC node for the BG2Q Date: Fri, 3 Apr 2015 15:06:48 +0200 Message-Id: <1428066409-30392-4-git-send-email-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.3.4 In-Reply-To: <1428066409-30392-1-git-send-email-antoine.tenart@free-electrons.com> References: <1428066409-30392-1-git-send-email-antoine.tenart@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 35 This patch adds the ADC node for the Berlin BG2Q, using the newly added Berlin IIO ADC driver. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 187d056f7ad2..72b1c969a99d 100644 --- a/arch/arm/boot/dts/berlin2q.dtsi +++ b/arch/arm/boot/dts/berlin2q.dtsi @@ -565,6 +565,14 @@ function = "twsi3"; }; }; + + adc: adc { + compatible = "marvell,berlin2-adc"; + interrupt-parent = <&sic>; + interrupts = <12>, <14>; + interrupt-names = "adc", "tsen"; + status = "disabled"; + }; }; sic: interrupt-controller@e000 { -- 2.3.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/