From patchwork Wed Oct 21 16:42:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11849461 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C06BC6A2 for ; Wed, 21 Oct 2020 16:42:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 846B520874 for ; Wed, 21 Oct 2020 16:42:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dPtPqO/W"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="i0gAa5X6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 846B520874 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=MAD9w8Jf4rwYtl2RJpIEFreXUHm2/0idVH9vPHS/Bno=; b=dPtPqO/WLun1AIuVZoBOK65aPB R2cL45C7phXCNAAh/wcL+01sDGrBk1zBdOo8lEK4ojYf7rSz1jOjd4pu0KzJDHfXu+9OQoDTCffcW j8gfktRex2O8HWb5cAGGGWuc/zvt1TX5NtoTxp4oHGyp+aZRBaVk6D4Xm0O3KbrPw4BdHD9Z6diY4 pN3aQovX1g5i1A8QHhzoIriYMbUjTYFBXLN2T5IANdSoVIkicZhAS7kXkb9qwg+Mem8l1X4gfbOoE Ht17Ydk8021Ncitq4paspg4iiBxlEm1CJ8RuAi24G5Z/7jtLbjNyLk2K+tByYjGHk2U74v/moqpDc NT5TelJw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCD-0006Tt-Ih; Wed, 21 Oct 2020 16:42:41 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHC8-0006RI-Ki for linux-mediatek@lists.infradead.org; Wed, 21 Oct 2020 16:42:37 +0000 Received: by mail-wr1-x444.google.com with SMTP id h5so3820165wrv.7 for ; Wed, 21 Oct 2020 09:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ktOQBsIi43nG8a2/21JQPeKNNuRP5PqTvkBAgWAn5tg=; b=i0gAa5X6lQdX9PQRLe+laWerY6VMaJl4dmiT6eFrLnTc2mxLVLmiMvAWGcvAnHcwx4 bRRsAi9yCpLOP6i5M1k46oXGtRSSFG50d2yRDnM3GpTKGjzsmZvi7RnjDvWU2vWQGe88 VzaMuPFNaxqlgjy5VXrpkhLGdYnX69HqlTMRgJg5VQF5t+OFCOFypTyytbfPIkrfxBFZ vJaqstRk6Qz7v1TQbN5K9qy2e8WBPScm5gEmXD4E8l1cRPGg0z1g9OLSdD82DY5g2/aG 9OuQm9Oo2M2Ul/rHhjpM3jLh4xOq+/ZhBLk4gBZ+oG6iFNcRpdJzO3+nMhM1u3bR6dhA GdAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ktOQBsIi43nG8a2/21JQPeKNNuRP5PqTvkBAgWAn5tg=; b=aBY1HiqtCtNx0hNnqgad67aG9iFj/Efsf93r/uoSQP+Zu7EjKU6ggScRQASC6FtXU5 Mlctrl20hzLAj/gN77I4ah2Q+/P3Woj74l9kRvSdEJQsNYEA6rQBDrUseVjbo7kwKd3E Iy4ZOr1Pkav29Zr9+Wl1bnPNt4Lf694HSEwhuVjsmyxXB+YE0YL6OvpEyGZVXbLDk0IW wA9z98e1XRD+7KLfSHb3349xxQ4ESJ7bzrrsWY2HUIAAVg9iQbatf+UNhkQre1EvyLOQ IfR4cQfgJhk11mDoYc4QOAS5WK80l2/qOBfED/od83TUsQSVtgejTbfruiDYynVuCZcW Po3g== X-Gm-Message-State: AOAM532UuCpZvs58FoBEGxOTCCcBUAMQFnmAF8BKn+mXx3Uvw8KyXCPJ NnuS7iT7fo3u8y/MrMX9Xl+PxSQOAYOBbQ== X-Google-Smtp-Source: ABdhPJwSC4b6Zp3WR/gk387RdiJewfMgrjpTyShE4TGDBNY3p53Pb4FZAnNyTZ++ZiVCeZuokVyJVg== X-Received: by 2002:adf:de91:: with SMTP id w17mr5681928wrl.84.1603298555294; Wed, 21 Oct 2020 09:42:35 -0700 (PDT) Received: from localhost.localdomain (58.164.185.81.rev.sfr.net. [81.185.164.58]) by smtp.gmail.com with ESMTPSA id a3sm5321724wrh.94.2020.10.21.09.42.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 09:42:34 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: thermal: mediatek: make resets property optional Date: Wed, 21 Oct 2020 18:42:29 +0200 Message-Id: <20201021164231.3029956-1-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201021_124236_706417_7A3370DC X-CRM114-Status: GOOD ( 13.58 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: amitk@kernel.org, daniel.lezcano@linaro.org, Fabien Parent , robh+dt@kernel.org, matthias.bgg@gmail.com, rui.zhang@intel.com Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org MT8516 Thermal IP does not support reset. Make the resets property optional in order to be able to support MT8516 SoC. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt index 1e249c42fae0..2d20f6b0dca0 100644 --- a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt @@ -20,12 +20,12 @@ Required properties: clocks are: "therm": Main clock needed for register access "auxadc": The AUXADC clock -- resets: Reference to the reset controller controlling the thermal controller. - mediatek,auxadc: A phandle to the AUXADC which the thermal controller uses - mediatek,apmixedsys: A phandle to the APMIXEDSYS controller. - #thermal-sensor-cells : Should be 0. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. Optional properties: +- resets: Reference to the reset controller controlling the thermal controller. - nvmem-cells: A phandle to the calibration data provided by a nvmem device. If unspecified default values shall be used. - nvmem-cell-names: Should be "calibration-data" From patchwork Wed Oct 21 16:42:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11849463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DA36061C for ; Wed, 21 Oct 2020 16:42:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 93E37207FF for ; Wed, 21 Oct 2020 16:42:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UNcUPzUJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="ejJUXrzh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93E37207FF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=6KaFPcta3FI5LbWsJPG+1uIIQLnLO6KE0DbdLt+J+qI=; b=UNcUPzUJbxWwQylMe3yPcewz7 WIC1fbejHCgQl/pRXM+sA2RgaM/NWX5CVQG3p7AIZjxnmfXL9CKjEAHyvCnFWK32RORNyADl5b4O0 6m2xMJA0PBP160aS0pRDIEV7uqwgW4NNpfBObqqlSUnzTcfsUtjOcIutKjU52/ULFg4Hy3AXju0K3 f9apzgY9gqIco0i86EuGFQfNTBI5x//E6j33IDBcWLiMnsPRUX3PkYjNWUbt24xAWJvqRfcmnPPYh 6IXQR1R7fzwfL2t0Vn/+SK3thoAWCIuNkGiLtGdxpughTh+Yr+OxSA6UijZ7PDHCpJdW1it+zm1u3 GBhkgp0Vw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCJ-0006VT-5A; Wed, 21 Oct 2020 16:42:47 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCA-0006S3-2m for linux-mediatek@lists.infradead.org; Wed, 21 Oct 2020 16:42:38 +0000 Received: by mail-wr1-x442.google.com with SMTP id n6so3747845wrm.13 for ; Wed, 21 Oct 2020 09:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oJ1aKiINz0LrDU7aEXlCXE8tQqMpnuCeNmVOG6Ww0Oo=; b=ejJUXrzhfpQggo3vO73m1qC2ZK7LYm9EZfc6A/LtRy5ByuRubgYG+fwFBIu/0V1H/2 jTA5a9YkArTcVWbMcngRM0EWvr66+7EAn2ztGJMgE2LmPfRwRLKjZx8WdZyUwcaVPyqI 9yLQ45kLhXWMK1Ewzxsxh7thE//owACHFh7d/XjLVC1rFo6Fdc6vuappjtg05+7Zl+M1 lvlNIjnjClBhbepPGXcvJFciSUDz4kvHnJGltnpDGllNWmTKEv/dHFfb8dYOHohXlUdI ihJ/JE2NIGn/uhQ6bNEChusM1zoVZja207abAl9HYHeFYeldjuCCj5mbY03a4VwSQUJG yS2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oJ1aKiINz0LrDU7aEXlCXE8tQqMpnuCeNmVOG6Ww0Oo=; b=FDmBO26kx+0YsVDEEufZ1oJmLrJeim60X2ogTB+qKNsXo8s34PQbVDVntwaCcFiPXQ tgofzKbTPHp8ANELNPqP4QfShchM2Zg97NZcoF7LKNY4UshT6ucgQFRrZNQCEwIfsK1q TZxzpEVx1afMs09Oyeecchq9c5eCOqZUH0wmCXLWDL0px6ZfhaylKddDx8UyMBVyV9vG j2SKuj873pxS7h9adywhm6Eby/yyiyCOTRwoUWqLUt5WlP+1ga1z6gfdSGgYrdNblo9R 0lmXYBpmTNenlPsLDHDAWN604uHOmbqf+SequAjW49KQOAsANAEWWPeCzAmulbPpQgxA 7+CA== X-Gm-Message-State: AOAM530ZY/ITkDldn65aeCjTWxU9RrtZbSWF3pCU4hylLNK22eTNanw2 tnj9KiSbxMt/yMJJocfk7MrRXQ0+tD9Pvw== X-Google-Smtp-Source: ABdhPJx73zW9wIrp01tKrd0AfCe57dEOyLM7D7HDQ0Xn+ABvJXdf/J86jJpZPTzBTZV6B1/xQWM35g== X-Received: by 2002:a5d:4fc5:: with SMTP id h5mr5545357wrw.145.1603298556934; Wed, 21 Oct 2020 09:42:36 -0700 (PDT) Received: from localhost.localdomain (58.164.185.81.rev.sfr.net. [81.185.164.58]) by smtp.gmail.com with ESMTPSA id a3sm5321724wrh.94.2020.10.21.09.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 09:42:36 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: thermal: mediatek: add documentation for MT8516 SoC Date: Wed, 21 Oct 2020 18:42:30 +0200 Message-Id: <20201021164231.3029956-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201021164231.3029956-1-fparent@baylibre.com> References: <20201021164231.3029956-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201021_124238_158630_43B3D92A X-CRM114-Status: GOOD ( 10.92 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: amitk@kernel.org, daniel.lezcano@linaro.org, Fabien Parent , robh+dt@kernel.org, matthias.bgg@gmail.com, rui.zhang@intel.com Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Add binding documentation for the MediaTek MT8516 SoC. The SoC thermal IP is similar to MT2701. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt index 2d20f6b0dca0..5c7e7bdd029a 100644 --- a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt @@ -14,6 +14,7 @@ Required properties: - "mediatek,mt2712-thermal" : For MT2712 family of SoCs - "mediatek,mt7622-thermal" : For MT7622 SoC - "mediatek,mt8183-thermal" : For MT8183 family of SoCs + - "mediatek,mt8516-thermal", "mediatek,mt2701-thermal : For MT8516 family of SoCs - reg: Address range of the thermal controller - interrupts: IRQ for the thermal controller - clocks, clock-names: Clocks needed for the thermal controller. required From patchwork Wed Oct 21 16:42:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11849465 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1C26761C for ; Wed, 21 Oct 2020 16:42:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA409207FF for ; Wed, 21 Oct 2020 16:42:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I+WS+wZQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="rOtvEQOD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA409207FF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=VWOZTrmQcNVSHFSSudgBxvlnDBK82B0n+e27wd1vaWo=; b=I+WS+wZQNbla8DqEyzrO3b3Vu BeMYJJv47T/hawscCWj1dFI3FC6gMr8MXH9h7xtqpHtbKiRmUp+3608FgzxK5mr+9IowTx+VhTeQe q471UWCu+p21IGL+lfd/v/RqpHN2Zah+wpzydX5qJUCZ/7J62K7+qgUe1zVU5ZVtyLc51MMWeP6/Q ycpu0mK69H+XEijNcY0IS6JyYk6G8CWfY5FnxNw63IGoP5lO2Y9Q6bmyxfeqSj+afJMlAMYF15JCR 2VCcjTSJGAzuF4xOb9m68wJWcEZA+OntpJEjf2xbC9Tqm+LCDCoWwgLEK9uMljoIRTNAc/dGO05Jf j3Y+2cU/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCK-0006Vz-C6; Wed, 21 Oct 2020 16:42:48 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCB-0006Sz-NN for linux-mediatek@lists.infradead.org; Wed, 21 Oct 2020 16:42:41 +0000 Received: by mail-wr1-x444.google.com with SMTP id b8so3943182wrn.0 for ; Wed, 21 Oct 2020 09:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JS933voy/5ulGI3fj+GAntyF9rpzNqa0lFnIF6+V7Ss=; b=rOtvEQODVH17lLAdMVAKe/rIbWnNmfZ9BUkou7mb0yCv9F9XG8FRyBqy7VWOePZr3t B6bbFjV03umYPLuX1VcNKtC2+CLF3fFCFl2q6l/awYyDs/BPpvcVSF9hOKgrR5iLrW7b lEm+Km9Gh6CM0VkcmjHZOWplxr2pFhg6TscQAupU+C1yKCKQCW+rbog6Kl4pnvdbyEOn SzNZDXQVvd2fg/Ldq9HJBqhckN6lqdOML4KTnrtIsEdnInApEh5uCDhpgf7zIM3SZdVC WBK4gtXt1M8PfiI28v7ZS6ch4/9+wOq0c5udn+GBaDfNq9KzPkdqpzHy/MbqAzoo1fBS JMEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JS933voy/5ulGI3fj+GAntyF9rpzNqa0lFnIF6+V7Ss=; b=EKJ5wiKNL/fQ8+guyZR5ss9npDT2PBKY4UlxxA0J/tTXObhYu4AYCyASz6bJYM7+Hp 30k4RPDjDYFfR2yk0rwUR11lmTc6b6HgrJGzGWcWIA6rJCV+HCWagekdmb3w8gnkM7ke elaOGnvgvJMv/loOyBs8tcSyV4DaMl6sHumxL61+/rQOJh1PkTyiWNDzfMHOdZ4oBvQW jx/CcCSkAmP7GhjcfUnLmdgEKflobbjT8uaQZ138USZu1XKIbvVbi0XilMUS+R7v/1Y2 qhdDp4/+ZaunQ1xJ+hjQs01noPftrCaydrRWdNTs4l7sV2G+o9N62v8hzrbF11jPP4Cn zDAA== X-Gm-Message-State: AOAM532ObJiHFmi3LwbOfEU8g3Msqlsw1VfoLQwpIdr8EULHTDni6tUB RnBxhLIWUKhrr1jGRl0wn1AR8o8jvyXXJA== X-Google-Smtp-Source: ABdhPJyYyY/I9sCo3RstG+oqSDx3Z55fChra8Y/tiA2UQ+4pfA1kyDm2nohjoWskkdTymeEFd2UeCA== X-Received: by 2002:adf:fac3:: with SMTP id a3mr5613554wrs.240.1603298558589; Wed, 21 Oct 2020 09:42:38 -0700 (PDT) Received: from localhost.localdomain (58.164.185.81.rev.sfr.net. [81.185.164.58]) by smtp.gmail.com with ESMTPSA id a3sm5321724wrh.94.2020.10.21.09.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 09:42:37 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 3/3] thermal: mtk_thermal: make device_reset optional Date: Wed, 21 Oct 2020 18:42:31 +0200 Message-Id: <20201021164231.3029956-3-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201021164231.3029956-1-fparent@baylibre.com> References: <20201021164231.3029956-1-fparent@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201021_124239_814764_921A7419 X-CRM114-Status: GOOD ( 12.98 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: amitk@kernel.org, daniel.lezcano@linaro.org, Fabien Parent , robh+dt@kernel.org, matthias.bgg@gmail.com, rui.zhang@intel.com Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org MT8516 does not support thermal reset. Use device_reset_optional instead of device_reset. Signed-off-by: Fabien Parent Reviewed-by: Matthias Brugger --- drivers/thermal/mtk_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_thermal.c index 0bd7aa564bc2..149c6d7fd5a0 100644 --- a/drivers/thermal/mtk_thermal.c +++ b/drivers/thermal/mtk_thermal.c @@ -1052,7 +1052,7 @@ static int mtk_thermal_probe(struct platform_device *pdev) return -EINVAL; } - ret = device_reset(&pdev->dev); + ret = device_reset_optional(&pdev->dev); if (ret) return ret;