From patchwork Mon Apr 17 12:46:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 9683821 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E15CB60375 for ; Mon, 17 Apr 2017 12:47:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D12F326C9B for ; Mon, 17 Apr 2017 12:47:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C619E27A98; Mon, 17 Apr 2017 12:47:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8268B26C9B for ; Mon, 17 Apr 2017 12:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756309AbdDQMrq (ORCPT ); Mon, 17 Apr 2017 08:47:46 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:50676 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753756AbdDQMrp (ORCPT ); Mon, 17 Apr 2017 08:47:45 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id 37271207D2; Mon, 17 Apr 2017 14:47:43 +0200 (CEST) Received: from localhost (132.230.147.77.rev.sfr.net [77.147.230.132]) by mail.free-electrons.com (Postfix) with ESMTPSA id 75349207FB; Mon, 17 Apr 2017 14:47:29 +0200 (CEST) From: Thomas Petazzoni To: arm-soc , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Arnd Bergmann , Olof Johansson Cc: linux-arm-kernel@lists.infradead.org, Viresh Kumar , Thomas Petazzoni Subject: [PATCH v2 6/7] arm: spear6xx: add DT description of the ADC on SPEAr600 Date: Mon, 17 Apr 2017 14:46:44 +0200 Message-Id: <1492433205-13376-7-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492433205-13376-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1492433205-13376-1-git-send-email-thomas.petazzoni@free-electrons.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The SPEAr600 has a built-in ADC, which already has a Device Tree binding described in Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt. This commit adds the description in the SPEAr600 Device Tree of this ADC device. Signed-off-by: Thomas Petazzoni Acked-by: Viresh Kumar --- arch/arm/boot/dts/spear600.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi index 8459286..6b32d20 100644 --- a/arch/arm/boot/dts/spear600.dtsi +++ b/arch/arm/boot/dts/spear600.dtsi @@ -204,6 +204,14 @@ interrupt-parent = <&vic0>; interrupts = <16>; }; + + adc: adc@d820b000 { + compatible = "st,spear600-adc"; + reg = <0xd820b000 0x1000>; + interrupt-parent = <&vic1>; + interrupts = <6>; + status = "disabled"; + }; }; }; };