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: 11849469 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B20F7C388F9 for ; Wed, 21 Oct 2020 16:44:26 +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 30E852080C for ; Wed, 21 Oct 2020 16:44:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hLAT2zP2"; 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 30E852080C 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-arm-kernel-bounces+linux-arm-kernel=archiver.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=aCjd8YoZ8CAJUSy/8mLAAyJJHDXjNp+6A3kkXqB5Mo4=; b=hLAT2zP2DG1T5qYdHsHXnslD0e Cc+o96c62yssbw2g42KWSTtSknQ3VRSd3JpnUWFsZ8GcnzrDlH/gY57JdHB/mTXJNfn8W5QQLc+mG /+K7ZYdcH5gJqvTlQHjYvpH6IZj4uPXv22M+z+rdxqjgpEZhd/3gVWxwxCrKRCNGWroazo+nYR3Bp 6CzVGxzJ+sNmLWx58MQYOKmF8mKY34ecxuUDBvVFX8wWx9zOU6Lh4JET8/PcnGAk0G8HHx1q05z7Z FVs6BPFGB5TWvnLhh8OudhvmQGkUy+gN+t6ovBkPP5FeUNTbEG1n5dHJsi/vIEPj1hsIyaiL+PoRv 2TT2ol0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCB-0006Sf-3l; Wed, 21 Oct 2020 16:42:39 +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 1kVHC8-0006RF-Ea for linux-arm-kernel@lists.infradead.org; Wed, 21 Oct 2020 16:42:37 +0000 Received: by mail-wr1-x442.google.com with SMTP id n15so3905914wrq.2 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=Bq9m3nF0p/xcyJX6rwKsplxAI9aofi+wC/b/0DUI2vtGRAVRfHMbNPhomRZYq6CscJ oNAWggwj6jjBf5p5wQDArEGRM93eClpZkBvva6zUXWdtJyC6g3M3mdIkb1uEYZvt1Cly JhcuctFSk9ax+Gyp5hMwGSx+5LNEQlXfORBBjV8Wkn0pP9VDtjLHsNJW2SL/zvkrAXed bWGvj3x1lfjcLPgDUQAW2fj3BpRWBlClMr4e2vNAXpM2W9vLmkPtqAFPq+DM1NL2uy4D CqWjAc83wi32B8abGKkJOG+MeMlww7F+8K3m4Z192dtoBlZt4NGMfekZdcE0SKPA0i7B nW8A== X-Gm-Message-State: AOAM531++QWyZT/FIDxTbqiHbyHWD9hpL83iNr+cYF8dOU6kYOvlV//D mpRCiifht2zXQ4XcK0S5ZUA1tA== 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_528922_5CE46A3A X-CRM114-Status: GOOD ( 15.20 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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: 11849471 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9975C388F9 for ; Wed, 21 Oct 2020 16:44:24 +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 1F66F2080C for ; Wed, 21 Oct 2020 16:44:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Bd5RJe+a"; 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 1F66F2080C 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-arm-kernel-bounces+linux-arm-kernel=archiver.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=0kA60pueXHozk2HRVNDziLgL8C/GAHpVa6Lw0H2ruMQ=; b=Bd5RJe+a+pvSOjDRsmgWYzcHY dpV2wmlEqaFA2SCHsGOtQDRr/f7tF8kWUnaiFo8RFCCngYkRrEES1zmSfZSi0jcfRrSxtqYg/HOn4 FyltWVb6AfHjnwAfsBJgGSxnAgdTqncRWH4csHj3o2D5avbtZheRCi2Kndd8sVcm2Z35qANzHsa/a zfvy9ngSCR5pSXV7Rul2AoI9xAXtSRPJZAed9VTy47YfWhuHGSRn7py07IemffMo2v9FURvo3Oqvf 79F5jOsSzL5lo24WSdtKGfSKqeUtVNWqtDZAUEdgv4WQwz9lJwpwro+0xzhW8IaMxm39QLTKABi6P 7+BdjJIYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVHCG-0006UY-H6; Wed, 21 Oct 2020 16:42:44 +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 1kVHC9-0006Rr-Pt for linux-arm-kernel@lists.infradead.org; Wed, 21 Oct 2020 16:42:38 +0000 Received: by mail-wr1-x444.google.com with SMTP id h7so3878871wre.4 for ; Wed, 21 Oct 2020 09:42:37 -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=YiPSngCBCc6eI7Pp/PCP/o36YUjY9VNWIyJGM0WEUks/K6IlNvewA/qm38l3dL/KEc P7OIN0f3G0PgV3uAGHi7VXsWviWH1qGB2XX75g/7UPllc/MgcQosSi7R2uWokd719Hdk o/wZ4N0v3nJm2b8j7qDhAGRj5bsWO5WPGhaFp25qIS+TreBqVxIW8qZH+O+rQBOmVrpD 7CbWzaPZ6pLv8TpXcoTulEelwehzeWgdERk5tZ7Xol/7L8ng6Jvp6E84Il/bACYCuTDk tRsAO+yif9uE6DRXzCtCM83ZWVou+VJwG10buByFvivl/jf5RYNJj9huno+1I1uuyAJb jqbA== X-Gm-Message-State: AOAM530Zsm2yBcsHlFQIbZAK38svy8ZIatqtrD/ko5wqBs/V/Hc1mAPQ lwd5VsXUpuUEa1qgSSQYrYe06g== 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_124237_849726_157AFC86 X-CRM114-Status: GOOD ( 12.95 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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