From patchwork Tue Sep 20 15:03:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amjad Ouled-Ameur X-Patchwork-Id: 12982323 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16FFFECAAD8 for ; Tue, 20 Sep 2022 15:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:Date:From:MIME-Version :Subject: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=wPRO831IjyWFl1bIqO9UsDiWn61hQOhftRLjVaWYuI0=; b=RLSNy6BjyBIWPd fJ+haJwxHqtROoarCo60UCpsfiz5WG+qc9TT8t5EDbtk1p42+s7lsL8ShBLuplJ4H2fYrRTU/u+uk IRPEw9/QEiQ0fxca1AskKnJ0QK32evFfyn01/t8ITiI63sbjFIZw9W3er6Es0+gO2RwRpxE4t5Ys+ V4gtbaGEhInO0YX0uJTpofXd6xVW8vpO0j2Rp1Ojeu+H3lvL+sQgH2Hpyzq4hxPx4BXD25uhxPR5z 13tTCwogTtYGZSmMVbemwvMVmMwUsmu24mqB7+Bon+XZvso6XLp8Dhy0xYNuR/ietXBc5dGFu9MWJ AsdHBjtaVzhG1OwmMqzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaenD-004gkC-AR; Tue, 20 Sep 2022 15:04:11 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaemw-004gZR-0m for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2022 15:03:57 +0000 Received: by mail-wr1-x434.google.com with SMTP id y5so4805256wrh.3 for ; Tue, 20 Sep 2022 08:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date; bh=uqh2dUbJoe0czrli6Kd224HI22Ux46FPe3M+hCU7TSM=; b=DXJVo1kZdhTaLHixoiyKqUBvm4HdflY4OsRIzLyHV4lW717MrOMbIq4EGZ0xOzT389 PCprPBKzPHmgAy781JFqC5+s1HsvkFwvP8AHPzHE8FrmFG+Ep3w6tK09z5oiUIo04u6s QpsCkrrwcdC4jTvmM+zUCcjyhnKqYhkN0jou9sXbP9wGbz2hnWqxmHIEo9YhMhAKz83c ZVsGAXRsZIe7mCbWVuBOwfmRlwq3AOTkVD5135EGU1qIHWivegHi/VH3PP0xY2dC9BVt aoIrdkEZ7hG/o7ldH00g/HjNnrcafYhO0HGI06DixwaDSizyZqZSsmvJzm4k3uuI47gp oftg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date; bh=uqh2dUbJoe0czrli6Kd224HI22Ux46FPe3M+hCU7TSM=; b=gSqdcsO9LaoSni3IxbC/jqFC1LvCEnksqU1dsbrwdOcaqTHpRu1uUWcUgiMiQz9fIS vWtWVhSPHe80zRT6yag0WxelP04Od3QntowWcfqytmdmiri8ZSR5P93up1kPhAO6rlh4 K7ZsnF4PW9CfimoAf88iWrGRAJi6Mp2+TaJDc6kkSKmZ913kPUpVfeGURMKiReyg+QGH 8CQdFh4vu/HxAyN7kb3nCQvy2BCNnmgh+zySjtCFJPtmNApQdyO+lIMGMxVCzIyipPQA WZeFVibR0AFwgZl8lLBqb/YuyguRavJdXR+qyb7YtfcRxKOJze0bI+eNm13gYfB4Uf2K H0aQ== X-Gm-Message-State: ACrzQf3tAHyyg+3OGkC/aimH/uFievQbfhGCeGQroGcTAG7Kz5wPvDuw l8AhRq7Vw16kwtacT29I8aa/UA== X-Google-Smtp-Source: AMsMyM4N3YyCHurPDYZZtnr9E0TUg9Sv7/xmEAaHI2ynKZ4GFkBWucudF/uupLgrSQ0U9mOQa4DTtQ== X-Received: by 2002:adf:d0d2:0:b0:22a:daf4:87e8 with SMTP id z18-20020adfd0d2000000b0022adaf487e8mr14283790wrh.167.1663686229972; Tue, 20 Sep 2022 08:03:49 -0700 (PDT) Received: from [127.0.1.1] (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.googlemail.com with ESMTPSA id u3-20020a5d4683000000b00225239d9265sm242056wrq.74.2022.09.20.08.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 08:03:49 -0700 (PDT) Subject: [PATCH v5 0/4] thermal: mediatek: Add support for MT8365 SoC MIME-Version: 1.0 X-b4-tracking: H4sIAFPWKWMC/w3LQQqAIBAAwK/EnluwlQL7jdqWC2ah2UX6ex7nMA0KZ+EC69Ag8ytFrtQxjwP4YN PBKFs3kCJShhSKnhU+gfNpI9YbSfPG+6SNWxz05WxhdNkmH/pLNcbv+wFekBRVZgAAAA== From: Amjad Ouled-Ameur Date: Tue, 20 Sep 2022 17:03:47 +0200 Message-Id: <20220920-i350-thermal-up-v5-0-123bc852d199@baylibre.com> To: Amit Kucheria , Rob Herring , Zhang Rui , Daniel Lezcano , "Rafael J. Wysocki" , Krzysztof Kozlowski Cc: Fabien Parent , Hsin-Yi Wang , Markus Schneider-Pargmann , linux-pm@vger.kernel.org, AngeloGioacchino Del Regno , Matthias Brugger , Michael Kao , Amjad Ouled-Ameur , Rob Herring , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.10.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1663686228; l=928; i=aouledameur@baylibre.com; s=20220920; h=from:subject:message-id; bh=ZDTa/tO2w1q5PgHHJH+pnlRiuHKoLh+P+DGPwBVzPgQ=; b=P9O/bhuGn1v+GUuvjvPBQVRiw0A/n7SOtf6jGT64bGiMkH7KDObNF9pLdTQ8KkFK77EYyL5gAOHA Au3g1oCCBWraOD/6z1bud2qipvaOG0SPzh5+3xrzGknI5+HRm6JI X-Developer-Key: i=aouledameur@baylibre.com; a=ed25519; pk=HgYWawSL4qLGPx+RzJ+Cuu+V8Pi/KQnDDm1wjWPMOFE= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220920_080354_113532_0BD27994 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patchset adds thermal support for MT8365 SoC which contains three thermal sensors. Changes in V5: - rebased on thermal/linux-next Signed-off-by: Amjad Ouled-Ameur --- Amjad Ouled-Ameur (1): thermal: mediatek: add another get_temp ops for thermal sensors Fabien Parent (2): dt-bindings: thermal: mediatek: add binding documentation for MT8365 SoC thermal: mediatek: add support for MT8365 SoC Markus Schneider-Pargmann (1): thermal: mediatek: control buffer enablement tweaks .../bindings/thermal/mediatek-thermal.txt | 1 + drivers/thermal/mtk_thermal.c | 197 +++++++++++++++++---- 2 files changed, 166 insertions(+), 32 deletions(-) --- base-commit: 64b269c002273cac4c41fb69572f3684dd1e3284 change-id: 20220920-i350-thermal-up-23edef139b6b Best regards,