From patchwork Thu Apr 25 10:12:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elaine Zhang X-Patchwork-Id: 10916731 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 832F01575 for ; Thu, 25 Apr 2019 10:12:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73E5728C78 for ; Thu, 25 Apr 2019 10:12:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C60028C84; Thu, 25 Apr 2019 10:12:51 +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=-3.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_WEB autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0660628AFB for ; Thu, 25 Apr 2019 10:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=WeJZXbWptDUV4f70AtfynZ9TZ5ndPOpu8fcHWTHLDko=; b=tQ+ tj+y3I51Mfrmu9JXwmpNTQzj3MMXOO3lsQvE2Fq/pD2lw9fQc9mxINp/u4tmNvDqlb2iA87sj9Djj l6YDJ8bRGNdATzyJyMpzSFPNlMam+GUV3kgyVK7dgb4YqcJGzJxaR1+pnYp9p94VaBZvwVKox+gCk ACBjR2oXuSs7xpR1PQNDXmkPrfEpGRw+eLmwi+0Bg/pfROla2sBHG48SLfmhn/DJmrPrqb4xXmyiG 2hQE4toQGqDJYJQuJ6sZYZStivce4IxKIH5z8lRQMMDfK5tWWBUihk1hkYNSmwbBVGT8UVvJSJTZ/ w2T4hqlOVQ78P19EacPFOjcTduo56EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJbMz-0007pB-Bi; Thu, 25 Apr 2019 10:12:45 +0000 Received: from regular1.263xmail.com ([211.150.70.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJbMv-0007nn-61; Thu, 25 Apr 2019 10:12:43 +0000 Received: from zhangqing?rock-chips.com (unknown [192.168.167.13]) by regular1.263xmail.com (Postfix) with ESMTP id 73959785; Thu, 25 Apr 2019 18:12:33 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P797T140025968707328S1556187150403323_; Thu, 25 Apr 2019 18:12:32 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: X-RL-SENDER: zhangqing@rock-chips.com X-SENDER: zhangqing@rock-chips.com X-LOGIN-NAME: zhangqing@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Elaine Zhang To: heiko@sntech.de Subject: [PATCH v2 0/3] thermal: rockchip: fix up thermal driver Date: Thu, 25 Apr 2019 18:12:26 +0800 Message-Id: <1556187154-22632-1-git-send-email-zhangqing@rock-chips.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190425_031241_398968_D45094CD X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Elaine Zhang , huangtao@rock-chips.com, linux-pm@vger.kernel.org, xxx@rock-chips.com, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, xf@rock-chips.com, edubezval@gmail.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, rui.zhang@intel.com, linux-arm-kernel@lists.infradead.org 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 1. add pinctrl control. 2. support PX30 soc change in V2: PATCH V2 1/3: keep tshut_mode TSHUT_MODE_GPIO; In case of pinctrl get or lookup error, just bail out; No need to use the thermal_pinctrl_select_otp/gpio wrappers, just replace them with: PATCH V2 2/3: No change in V2. PATCH V2 2/3: keep tshut_mode TSHUT_MODE_GPIO; Remove the grf in 'rk_tsadcv4_initialize' function. pinctrl_select_state(thermal->pinctrl, thermal->pinctrl_state); Elaine Zhang (3): thermal: rockchip: fix up the tsadc pinctrl setting error dt-bindings: rockchip-thermal: Support the PX30 SoC compatible thermal: rockchip: Support the PX30 SoC in thermal driver .../bindings/thermal/rockchip-thermal.txt | 1 + drivers/thermal/rockchip_thermal.c | 74 +++++++++++++++++++++- 2 files changed, 72 insertions(+), 3 deletions(-)