Message ID | 20230307154524.118541-1-bchihi@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:570d:b0:a1:2e52:cf23 with SMTP id h13csp1978186dyk; Tue, 7 Mar 2023 07:54:47 -0800 (PST) X-Google-Smtp-Source: AK7set9c/7UqoRCsAuBKJd+sDGK9PAC4vbrK0hXtSdHXXsMoTr+QH8PL551UltPlY3QXfwB5zWcM X-Received: by 2002:a17:907:a397:b0:8f7:6ea6:b451 with SMTP id se23-20020a170907a39700b008f76ea6b451mr15316567ejc.2.1678204487369; Tue, 07 Mar 2023 07:54:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678204487; cv=none; d=google.com; s=arc-20160816; b=pwBJOXilRbzIJ9IMeriwAilyCQwjEOFQywiH3n9B/pPHE+RXPfOfS8Ol/xY5AiMc4r 6hntzt/QMY+javjcr9+uQPGrqVF8WEzK3LmyN0w0G+O81PP9U0ZSNdzs6EdmIP/oVID7 qgSqY04SU8wd+y+H2VH9nIKdqi1pMc2HfCH4AKZYmLdFwCePmcHmInfwA458sT6zIofd oy/yGGi81HpkvZVqHkPSFaZlzB4aLtcOSFngOIYMcC8GkL73l14rlDzsFWzOP/BBR8D9 pRxW2R3uPfg16rKDKtTMDsr+mqOrHvRF43670bAsNcq+KElnZJ21hlChQ/t5zH0mi7jh SjiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0NMT354TdG7a+Mjd6nR8XY28RmDaq3SVnAflnava9+4=; b=Oj8U2KGYHuZjP83Q3n7c7ImD/KWIIJ/ovBONLe10gBPXrF8ZfKILV4GClYNIQbxrpU qtS/QYGgx73km/XqpCngdekNzHN69ihVg94oJ5156O+Lig98HVUQmizh0dms3NRr4Fqs jxscRa1wOdupxZq0eNjMDxGA7feNDU/SRV50QIQ5uiTzeQ1N6ItpfRu7wAnGXyrC3/Kw A3knWjL9x5mxz8Moj4JxbW58lAV/P9tTFcuLZk4q1iUhPyEnoUUUNBP4Bfr51IJTRwvm pMdLvbw3eb2MfDGwRO8CdaYaebWQd+hSdKT64bYRuqQJe8N8G680OGNZ+oTrE9e+Re+c qK0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=hMkvX07Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m13-20020aa7c48d000000b004b05eccef0bsi765503edq.148.2023.03.07.07.54.20; Tue, 07 Mar 2023 07:54:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=hMkvX07Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230354AbjCGPpe (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 10:45:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbjCGPpb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 10:45:31 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194D032CD0 for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 07:45:29 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id f11so12572013wrv.8 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 07:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678203927; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0NMT354TdG7a+Mjd6nR8XY28RmDaq3SVnAflnava9+4=; b=hMkvX07ZWoEiUrNshSUONwBDA8mCpjSl9GndL4JQtN8MUn8/BnoS2vISYH7f/VMaBf 3hveIte2Is2YGBevN1S5N46ox8c4WHSl4yZCnT4eydXX6lN4ozH2k/5Z9P1C1p2yY6Y6 UXvo62ShrMcy7kC0Wpd3efQsBiXiMT5Vi24vQ+bIxtTENvmbWZt7b5w+PIFu40sgcf+w 4tcZHu3Ncvf7+aFNMnKhCIWk16fLycz2FCVwP8noBTWbzETc0mefmwm+lz58SGhoQNbg z80QcsPVIuLS3/Au9xz8pUr/yUVnBkLaJx1LSJmLuXzSvsLrN4xxUONwQYZZyY6efQkk fErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678203927; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0NMT354TdG7a+Mjd6nR8XY28RmDaq3SVnAflnava9+4=; b=skSi8/BVCG7Lmm5CAN5cImzudAX4cKpY5n3cmLcDh02VCVB9pgFI4B1LTjrOHjFTeX ltsVM8qp8MCZ9EMtMbRs7aR272CxHIduI8qlNMom68yKf+M8q1ILkJdNTVLMA0oNdMO4 pgEekCwgGL42bFEyACz+0YFr8jddvJVOsulRl5xpEStzGv2F9z+U8GG15wYbTxr9n/4I BuxypngAPvcmNKn+c9nzHs+nzp9ke6Pl6/UOUP0xULUVL0ZixjNEqJs9FYXKdVGt93st ICnmkpowjocLO/Rja7+msMR197peMFVq9pY1BEgFqLZqv6t172HS+jwJQa+r+B4xjCB5 Yf7A== X-Gm-Message-State: AO0yUKUGfnhYki4Z388nkNzRcMYnnSlFi0BgPT6t4OzqGHBcu3rWL+FC YkbddDAg6CHUaTMbkT6nFYiQpQ== X-Received: by 2002:a5d:4bca:0:b0:2c5:4ca8:a5a1 with SMTP id l10-20020a5d4bca000000b002c54ca8a5a1mr9236688wrt.23.1678203927555; Tue, 07 Mar 2023 07:45:27 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-248-155.w90-24.abo.wanadoo.fr. [90.24.137.155]) by smtp.gmail.com with ESMTPSA id f2-20020a5d50c2000000b002c704271b05sm12697905wrt.66.2023.03.07.07.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 07:45:27 -0800 (PST) From: bchihi@baylibre.com To: daniel.lezcano@linaro.org, angelogioacchino.delregno@collabora.com, rafael@kernel.org, amitk@kernel.org, rui.zhang@intel.com, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rdunlap@infradead.org, ye.xingchen@zte.com.cn, p.zabel@pengutronix.de Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, khilman@baylibre.com, james.lo@mediatek.com, rex-bc.chen@mediatek.com Subject: [PATCH 0/4] Add LVTS's AP thermal domain support for mt8195 Date: Tue, 7 Mar 2023 16:45:20 +0100 Message-Id: <20230307154524.118541-1-bchihi@baylibre.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759724948523419323?= X-GMAIL-MSGID: =?utf-8?q?1759724948523419323?= |
Series |
Add LVTS's AP thermal domain support for mt8195
|
|
Message
Balsam CHIHI
March 7, 2023, 3:45 p.m. UTC
From: Balsam CHIHI <bchihi@baylibre.com>
Add AP thermal domain support to LVTS Driver for MediaTek MT8195 SoC.
This series is a continuation of the original series "Add LVTS Thermal Architecture" v14 :
https://patchwork.kernel.org/project/linux-pm/cover/20230209105628.50294-1-bchihi@baylibre.com/
Based on top of thermal/linux-next :
base-commit: 6828e402d06f7c574430b61c05db784cd847b19f
Depends on these patches as they are not yet applyied to thermal/linux-next branch :
[v14,3/6] arm64: dts: mt8195: Add efuse node to mt8195 (already included in linux master branch)
https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-4-bchihi@baylibre.com/
[v14,5/6] arm64: dts: mediatek: mt8195: Add thermal zones and thermal nodes
https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-6-bchihi@baylibre.com/
[v14,6/6] arm64: dts: mediatek: mt8195: Add temperature mitigation threshold
https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-7-bchihi@baylibre.com/
Balsam CHIHI (4):
dt-bindings: thermal: mediatek: Add AP domain to LVTS thermal
controllers for mt8195
thermal/drivers/mediatek/lvts_thermal: Add AP domain for mt8195
arm64: dts: mediatek: mt8195: Add AP domain thermal zones
arm64: dts: mediatek: mt8195: Add AP domain temperature thresholds
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 180 ++++++++++++++++++
drivers/thermal/mediatek/lvts_thermal.c | 94 +++++++--
.../thermal/mediatek,lvts-thermal.h | 10 +
3 files changed, 264 insertions(+), 20 deletions(-)
base-commit: 6828e402d06f7c574430b61c05db784cd847b19f
prerequisite-patch-id: 73be949bd16979769e5b94905b244dcee4a8f687
prerequisite-patch-id: 9076e9b3bd3cc411b7b80344211364db5f0cca17
prerequisite-patch-id: e220d6ae26786f524c249588433f02e5f5f906ad
prerequisite-patch-id: 58e295ae36ad4784f3eb3830412f35dad31bb8b6
prerequisite-patch-id: d23d83a946e5b876ef01a717fd51b07df1fa08dd
prerequisite-patch-id: d67f2455eef1c4a9ecc460dbf3c2e3ad47d213ec
Comments
On Tue, Mar 7, 2023 at 11:45 PM <bchihi@baylibre.com> wrote: > > From: Balsam CHIHI <bchihi@baylibre.com> > > Add AP thermal domain support to LVTS Driver for MediaTek MT8195 SoC. > > This series is a continuation of the original series "Add LVTS Thermal Architecture" v14 : > https://patchwork.kernel.org/project/linux-pm/cover/20230209105628.50294-1-bchihi@baylibre.com/ > > Based on top of thermal/linux-next : > base-commit: 6828e402d06f7c574430b61c05db784cd847b19f > > Depends on these patches as they are not yet applyied to thermal/linux-next branch : > [v14,3/6] arm64: dts: mt8195: Add efuse node to mt8195 (already included in linux master branch) > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-4-bchihi@baylibre.com/ > [v14,5/6] arm64: dts: mediatek: mt8195: Add thermal zones and thermal nodes > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-6-bchihi@baylibre.com/ > [v14,6/6] arm64: dts: mediatek: mt8195: Add temperature mitigation threshold > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-7-bchihi@baylibre.com/ > > Balsam CHIHI (4): > dt-bindings: thermal: mediatek: Add AP domain to LVTS thermal > controllers for mt8195 > thermal/drivers/mediatek/lvts_thermal: Add AP domain for mt8195 > arm64: dts: mediatek: mt8195: Add AP domain thermal zones > arm64: dts: mediatek: mt8195: Add AP domain temperature thresholds Whole series is Tested-by: Chen-Yu Tsai <wenst@chromium.org> on MT8195 Tomato Chromebook.
On Fri, Mar 10, 2023 at 4:22 AM Chen-Yu Tsai <wenst@chromium.org> wrote: > > On Tue, Mar 7, 2023 at 11:45 PM <bchihi@baylibre.com> wrote: > > > > From: Balsam CHIHI <bchihi@baylibre.com> > > > > Add AP thermal domain support to LVTS Driver for MediaTek MT8195 SoC. > > > > This series is a continuation of the original series "Add LVTS Thermal Architecture" v14 : > > https://patchwork.kernel.org/project/linux-pm/cover/20230209105628.50294-1-bchihi@baylibre.com/ > > > > Based on top of thermal/linux-next : > > base-commit: 6828e402d06f7c574430b61c05db784cd847b19f > > > > Depends on these patches as they are not yet applyied to thermal/linux-next branch : > > [v14,3/6] arm64: dts: mt8195: Add efuse node to mt8195 (already included in linux master branch) > > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-4-bchihi@baylibre.com/ > > [v14,5/6] arm64: dts: mediatek: mt8195: Add thermal zones and thermal nodes > > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-6-bchihi@baylibre.com/ > > [v14,6/6] arm64: dts: mediatek: mt8195: Add temperature mitigation threshold > > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-7-bchihi@baylibre.com/ > > > > Balsam CHIHI (4): > > dt-bindings: thermal: mediatek: Add AP domain to LVTS thermal > > controllers for mt8195 > > thermal/drivers/mediatek/lvts_thermal: Add AP domain for mt8195 > > arm64: dts: mediatek: mt8195: Add AP domain thermal zones > > arm64: dts: mediatek: mt8195: Add AP domain temperature thresholds > > Whole series is > > Tested-by: Chen-Yu Tsai <wenst@chromium.org> > > on MT8195 Tomato Chromebook. Hi Chen-Yu Tsai, Thank you very much for testing it! Best regards, Balsam
On 07/03/2023 16:45, bchihi@baylibre.com wrote: > From: Balsam CHIHI <bchihi@baylibre.com> > > Add AP thermal domain support to LVTS Driver for MediaTek MT8195 SoC. > > This series is a continuation of the original series "Add LVTS Thermal Architecture" v14 : > https://patchwork.kernel.org/project/linux-pm/cover/20230209105628.50294-1-bchihi@baylibre.com/ > > Based on top of thermal/linux-next : > base-commit: 6828e402d06f7c574430b61c05db784cd847b19f > > Depends on these patches as they are not yet applyied to thermal/linux-next branch : > [v14,3/6] arm64: dts: mt8195: Add efuse node to mt8195 (already included in linux master branch) > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-4-bchihi@baylibre.com/ > [v14,5/6] arm64: dts: mediatek: mt8195: Add thermal zones and thermal nodes > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-6-bchihi@baylibre.com/ > [v14,6/6] arm64: dts: mediatek: mt8195: Add temperature mitigation threshold > https://patchwork.kernel.org/project/linux-pm/patch/20230209105628.50294-7-bchihi@baylibre.com/ > > Balsam CHIHI (4): > dt-bindings: thermal: mediatek: Add AP domain to LVTS thermal > controllers for mt8195 > thermal/drivers/mediatek/lvts_thermal: Add AP domain for mt8195 > arm64: dts: mediatek: mt8195: Add AP domain thermal zones > arm64: dts: mediatek: mt8195: Add AP domain temperature thresholds > > arch/arm64/boot/dts/mediatek/mt8195.dtsi | 180 ++++++++++++++++++ > drivers/thermal/mediatek/lvts_thermal.c | 94 +++++++-- > .../thermal/mediatek,lvts-thermal.h | 10 + > 3 files changed, 264 insertions(+), 20 deletions(-) > Applied, patch 1 & 2