From patchwork Tue Jul 26 06:11:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9247657 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 733EB60868 for ; Tue, 26 Jul 2016 06:12:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6417B208C2 for ; Tue, 26 Jul 2016 06:12:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 591CF276AE; Tue, 26 Jul 2016 06:12:56 +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 E5F46205AA for ; Tue, 26 Jul 2016 06:12:55 +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 1bRvbq-000340-To; Tue, 26 Jul 2016 06:12:54 +0000 Received: from mail-pa0-f65.google.com ([209.85.220.65]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bRvbm-0002zi-3o for linux-rockchip@lists.infradead.org; Tue, 26 Jul 2016 06:12:52 +0000 Received: by mail-pa0-f65.google.com with SMTP id q2so12711585pap.0 for ; Mon, 25 Jul 2016 23:12:29 -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=ipEZ4B97nDIApA236k7kSgQ+UrLzkM5s/uo/qCY+hLo=; b=DPUvy6IrrzZze+2XEV1IPwO/ZkqihWOpNTpkwGgOBNfFbaweLvp5sVB0/t+hnT1dN1 e193IX6I7Drw/K+RR72bCRb898j1NcnNoRXSCR9Kv7Ti9NmVI3uT+uJu5BS6bgKIh4kX yQWZHrR3za9FyZQwxpBU9oLHC+OCfSZc1fwOtHYuvv5djR9VaLSEeJDVQY6fVc/FSuGt KKfQ5wllXWJTj3kvzmbi7pqbOIUUQBRpV/kVql5dpcK983QJgJA1mtuXLl35QF9Gdpip QTwGv7hy+N//djNepvS5r5HNEP1NvimeMjKJFrbJxkIwlkB8kcerCvD8j2li3N1qwrPM XD1A== X-Gm-Message-State: AEkooutIFOleAzTbz1Bz7L48q9iN6AvaCNFY+/xQEcOEYEQsDh5cUiDBLHc8T5JZHfA1ug== X-Received: by 10.66.80.2 with SMTP id n2mr36187029pax.134.1469513549467; Mon, 25 Jul 2016 23:12:29 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id x184sm44387121pfd.70.2016.07.25.23.12.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Jul 2016 23:12:28 -0700 (PDT) From: Caesar Wang To: jic23@kernel.org Subject: [PATCH 2/4] arm64: dts: rockchip: add the saradc for rk3399 Date: Tue, 26 Jul 2016 14:11:48 +0800 Message-Id: <1469513510-1516-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469513510-1516-1-git-send-email-wxt@rock-chips.com> References: <1469513510-1516-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160725_231250_250473_0ADE8484 X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, heiko@sntech.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux@roeck-us.net, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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 --- 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>;