From patchwork Wed Jul 27 14:24:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9249889 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 2F25F607F0 for ; Wed, 27 Jul 2016 14:26:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2028925223 for ; Wed, 27 Jul 2016 14:26:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14C4926D08; Wed, 27 Jul 2016 14:26:47 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8625525223 for ; Wed, 27 Jul 2016 14:26:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSPlm-0003c6-Fy; Wed, 27 Jul 2016 14:25:10 +0000 Received: from mail-pf0-f193.google.com ([209.85.192.193]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bSPli-0002gy-A2; Wed, 27 Jul 2016 14:25:07 +0000 Received: by mail-pf0-f193.google.com with SMTP id y134so1945301pfg.3; Wed, 27 Jul 2016 07:24:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9iwvypuQZ52uoJcdvvyZQkRL5Lpt2RvhxGlUu0yyFwM=; b=fDhHgiXKRo0eAWf53LvximF2Tbpv6kvW+wZ2Az6EzDHZ7j7y8ogE0LhU3nX/OSD5AY ZP0swqzNLs4j+5n++6lzWjqxVKompl9PruNhI7Yz9jIEQlxODfI+P7HP7p/phbZ/FG6N rJISpktl4pk2Z3Gf2jlmiN09WIgs06ha3cc1eTy6dLxDcZZhImgNbyCdwAleGXOxlRSq jD1ZF9I8bBelwJ3VUidU5gtYd8CoZofpt8If3K5p+CLnWTq92YJQbw5jxhyR71qa2S2a 1W2g9MbzuiJ28X6C4eGwF5cAJuK6Ko6y7xsWQnDGc580AUYX2NhmPBnQrM0is5ZHDleO XvcQ== X-Gm-Message-State: AEkooutfB6e11K+Zc2NKyqwg7W8cLOuFCUE/sRxwHBKIi5H5tzHZcnmVyK/azQxYDJho0Q== X-Received: by 10.98.104.71 with SMTP id d68mr50286467pfc.163.1469629484278; Wed, 27 Jul 2016 07:24:44 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id yv9sm9884892pab.0.2016.07.27.07.24.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jul 2016 07:24:39 -0700 (PDT) From: Caesar Wang To: jic23@kernel.org, heiko@sntech.de Subject: [PATCH v3 2/4] arm64: dts: rockchip: add the saradc for rk3399 Date: Wed, 27 Jul 2016 22:24:05 +0800 Message-Id: <1469629447-544-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469629447-544-1-git-send-email-wxt@rock-chips.com> References: <1469629447-544-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160727_072506_403354_74630706 X-CRM114-Status: UNSURE ( 8.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, john@metanate.com, linux-arm-kernel@lists.infradead.org, linux@roeck-us.net, Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds saradc needed information on rk3399 SoCs. Signed-off-by: Caesar Wang Reviewed-by: Douglas Anderson Reviewed-by: Guenter Roeck --- Changes in v3: None Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 4c84229..b81f84b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -299,6 +299,18 @@ }; }; + saradc: saradc@ff100000 { + compatible = "rockchip,rk3399-saradc"; + reg = <0x0 0xff100000 0x0 0x100>; + interrupts = ; + #io-channel-cells = <1>; + clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; + clock-names = "saradc", "apb_pclk"; + resets = <&cru SRST_P_SARADC>; + reset-names = "saradc-apb"; + status = "disabled"; + }; + i2c1: i2c@ff110000 { compatible = "rockchip,rk3399-i2c"; reg = <0x0 0xff110000 0x0 0x1000>;