From patchwork Tue Jul 26 12:13:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9248115 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 B3C5160757 for ; Tue, 26 Jul 2016 12:16:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4F8F20951 for ; Tue, 26 Jul 2016 12:16:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 99962272AA; Tue, 26 Jul 2016 12:16:10 +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 3B0F120951 for ; Tue, 26 Jul 2016 12:16:10 +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 1bS1G3-0007JZ-DX; Tue, 26 Jul 2016 12:14:47 +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 1bS1FA-0006q8-Sc; Tue, 26 Jul 2016 12:13:53 +0000 Received: by mail-pa0-f65.google.com with SMTP id q2so13263584pap.0; Tue, 26 Jul 2016 05:13:35 -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=4/9o1lGdw3t06CAXOTO/ROrxSUTr67+GhRMTq3R1V1A=; b=O9HmdPaK/Mq82b4VXplRKCNJgIDkJYdkAo4TMDz6qBDVx/TOwVc5h81cHzifQcMeL4 J8oAjMlmtTtDc0UUaasHV0N1NUqnNhZrflI20lAjFI9ERMzosaNqnpd4fsaFKXlMKJEP N0cRH6ckU5wxORElgymp+pN51gKcF/S5CaMpV/edjby6kzs+cEnUI3GcD590QcoWOur0 8XvK+yNKZbCN5bjomUzxNuNNK/GjYcMWpWnydIAwSVmhx+CzOa2e6R+JDDLb5tFJ4aE/ T4WTuywcWVgMDjxcbzoKuUntlKeyusGfYMOOO7qvZuQUC2jOu3AIvyHBl4PtyN3GTfGf WjGg== X-Gm-Message-State: AEkoousbyop2cXFJ7qvzJuRmVoq/7iCvV0r5zbMjwo+6xoraJJSVnczoaNfP4xOCcg+J+g== X-Received: by 10.66.66.13 with SMTP id b13mr39138508pat.45.1469535214818; Tue, 26 Jul 2016 05:13:34 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id a20sm1273286pfa.27.2016.07.26.05.13.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jul 2016 05:13:33 -0700 (PDT) From: Caesar Wang To: jic23@kernel.org, heiko@sntech.de Subject: [PATCH v2 3/4] arm64: dts: rockchip: add reset saradc node for rk3368 SoCs Date: Tue, 26 Jul 2016 20:13:14 +0800 Message-Id: <1469535195-5227-3-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469535195-5227-1-git-send-email-wxt@rock-chips.com> References: <1469535195-5227-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160726_051352_991628_0EC36E7A X-CRM114-Status: UNSURE ( 8.24 ) 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@roeck-us.net, linux-arm-kernel@lists.infradead.org, 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 SARADC controller needs to be reset before programming it, otherwise it will not function properly. Signed-off-by: Caesar Wang --- Changes in v2: None arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index d02a9003..4f44d11 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -270,6 +270,8 @@ #io-channel-cells = <1>; clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>; clock-names = "saradc", "apb_pclk"; + resets = <&cru SRST_SARADC>; + reset-names = "saradc-apb"; status = "disabled"; };