From patchwork Tue Apr 30 10:09:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elaine Zhang X-Patchwork-Id: 10923133 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 82FDD14DB for ; Tue, 30 Apr 2019 10:10:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71CD928939 for ; Tue, 30 Apr 2019 10:10:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6599928571; Tue, 30 Apr 2019 10:10:21 +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 09AE028571 for ; Tue, 30 Apr 2019 10:10:21 +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=d/K/6VRwNkTWD1gQ8ots3RJBDuoyyU6bKXFWA/rLrYQ=; b=pR7 vLXOE9EwrFXh54suRQYzds0JuCqLF4lOw6YHMsdCqw19IIBLPSMGdTSpjaOvPKqHnAyPsN0Mb6Cd/ hsB474IvT6h3PfZva6LDbJU3ICaQp/HQFiGonTNutQSMb62vr3I9deDGPo+fGGLMI+vk1jkvbZZWa swZVdBLITfFjMzyk1I2QvhCbxfl+LrCTnevu+lwzN1nJHblOOBOd0qz4MTgDbRRC30fpG24NLEoX3 uwcs7JKPzqWt6MRpDJhv7WU9BqKp937uVGdeYf3MCRbG3Vzwo3sT6kNZ97/24lDUnwdSLfYA4ktFE cjj5WcIM7dJoUSr9mQFL1G4AvnyeNYQ==; 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 1hLPiJ-0004zU-44; Tue, 30 Apr 2019 10:10:15 +0000 Received: from regular1.263xmail.com ([211.150.70.197]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLPi5-0003XH-3x; Tue, 30 Apr 2019 10:10:03 +0000 Received: from zhangqing?rock-chips.com (unknown [192.168.167.190]) by regular1.263xmail.com (Postfix) with ESMTP id 5A98366C; Tue, 30 Apr 2019 18:09:48 +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 P7395T139736951809792S1556618984950678_; Tue, 30 Apr 2019 18:09:47 +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 v3 0/3] thermal: rockchip: fix up thermal driver Date: Tue, 30 Apr 2019 18:09:43 +0800 Message-Id: <1556618986-18923-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-20190430_031001_822251_76F0F90D X-CRM114-Status: UNSURE ( 7.76 ) 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 V3: PATCH V3 1/3: remove panic. PATCH V3 2/3: No change in V3. PATCH V3 2/3: No change in V3 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. 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(-)