From patchwork Wed Oct 21 02:42:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7454151 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C80E5BEEA4 for ; Wed, 21 Oct 2015 02:45:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 15AAA20913 for ; Wed, 21 Oct 2015 02:45:30 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 3E6BF20902 for ; Wed, 21 Oct 2015 02:45:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZojNZ-0002h9-Sb; Wed, 21 Oct 2015 02:43:53 +0000 Received: from mail-pa0-f65.google.com ([209.85.220.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZojNP-0002bN-Up; Wed, 21 Oct 2015 02:43:44 +0000 Received: by pagq8 with SMTP id q8so2881996pag.2; Tue, 20 Oct 2015 19:43:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bSMPcQrM7fk+WspHv8Lz/21looRVswssQ4+oJgEbNeQ=; b=HAAeRUWshTfCTeLGNn8HBnR+m+5TX1YqJSrOazCHwX03s7W42YQ00F2i4K+/Y/tHxx 3gxX7cI5BLT2RoMkH326C9SEupu4ehAzP32ORyNvQf8Tmi9Hd9LEa+/PlTk/44yhrHQq /O69zMf8zbzaNlrxDsy2WbPa6zAwJavRq5+WXl05R4f3bV6SaynkxxqeUdmUX4kkz5/Z ejRsGmMQYaQnlCuzQKaPWrD11e35QIHyclAUac98993fNOTSnybm8EzonEOCTb4ziZ88 7avhd839p4iWl+zREaIAhRr/Z3o7YrE4pwx1Ok+NsruIE/b7yVGEE/vXDlIqZIyuS3w5 izwg== X-Received: by 10.68.69.35 with SMTP id b3mr7917938pbu.22.1445395404123; Tue, 20 Oct 2015 19:43:24 -0700 (PDT) Received: from localhost.localdomain ([43.226.228.195]) by smtp.gmail.com with ESMTPSA id hq8sm6184944pad.35.2015.10.20.19.43.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Oct 2015 19:43:23 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner Subject: [PATCH v1 1/2] dt-bindings: Sync the dts to this document Date: Wed, 21 Oct 2015 10:42:59 +0800 Message-Id: <1445395380-5365-2-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445395380-5365-1-git-send-email-wxt@rock-chips.com> References: <1445395380-5365-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151020_194344_147754_7ED680B9 X-CRM114-Status: GOOD ( 11.61 ) X-Spam-Score: -2.6 (--) 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: Mark Rutland , devicetree@vger.kernel.org, Ian Campbell , Pawel Moll , linux-pm@vger.kernel.org, Dmitry Torokhov , dianders@chromium.org, linux-kernel@vger.kernel.org, Eduardo Valentin , linux-rockchip@lists.infradead.org, Rob Herring , Kumar Gala , Zhang Rui , 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the OTP gpio state, we need switch the pin to gpio state before the TSADC controller is reset. Signed-off-by: Caesar Wang Reviewed-by: Douglas Anderson --- Changes in v1: - As the Doug comments, add the 'init' property to sync document. Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt index ef802de..28e84f7 100644 --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt @@ -27,8 +27,9 @@ tsadc: tsadc@ff280000 { clock-names = "tsadc", "apb_pclk"; resets = <&cru SRST_TSADC>; reset-names = "tsadc-apb"; - pinctrl-names = "default"; - pinctrl-0 = <&otp_out>; + pinctrl-names = "init", "default"; + pinctrl-0 = <&otp_gpio>; + pinctrl-1 = <&otp_out>; #thermal-sensor-cells = <1>; rockchip,hw-tshut-temp = <95000>; rockchip,hw-tshut-mode = <0>;