Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3422470rwd; Mon, 29 May 2023 10:09:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5daIxtKkz/UZB5TOnMDObe8Zf6U0C5Xl4kzvQxUsT4VE243hd4V92jNSSLne7Ivz4vzahs X-Received: by 2002:a17:903:2442:b0:1ad:eb62:f61c with SMTP id l2-20020a170903244200b001adeb62f61cmr12387799pls.11.1685380199562; Mon, 29 May 2023 10:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685380199; cv=none; d=google.com; s=arc-20160816; b=OH0yeiclOuWRMwEV8gHq0/VeieMq/F8VBlFogiub2Z/Mg9cK9SKnbHS7XWm8m2McYt G/cmgmgHU6N1K4wSDlcBkzAlrosCTBrQlOlGXGYj37m4WpXjb6p9+BjpjkUogEmYcgnC D4/gJhVw2aGBmsvxIKNzAa6u1P3+zcWVLJ7H/O8J6mGRIzFtEDvt4ZofveNWox1P4fuD 9AC3eHAjdLbCiohg8a9VCrca+sVALF+UsbLgXDEyQEmOKYz/9hGasSlBfROfJzF0TkiH ei/TJa8K3U3upAnnS3TDsxO97/kNKzrQVOUSB/Cupyn5gwN7tZ0k/Kmvqep0FOhoWIms oXJQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NxiLnH0M50rO/qW7JX7iQtyXgKtx4AkJoJmCH1LebW4=; b=BqXSqrv3n/TVW4Cp1CX0ymUB60l6sCGcupHzaEGRrXkdkN9yNsPLyd9lCScp8IdXEo 5rKmBYVFMKfrmElpTCgdnkhFy5ZY2IulD0FU2o54PQXmyGGItflDgRqZZzvnOEt24MkF xbf0FIgzPwwI91ukPzHw+vkRtKLl4ToJLIoAjBPCrH04dAnGQYx+lB/CMYwD7RmP/oe2 D9QER0VbNXf7w4wD7P1P7BtqXj6OklfPTRByGyAN9cblWP6qt2YAcqVTfKxbMk2rGedl jwzrrZIN7LBiL7mg4kKG+KuY3+FTwX9DltenZonv43XHIybeD+gecvlxrBVzvm/mMRTS Z6+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=PibI7ffA; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a170902eccb00b001b00ae4ad40si8531040plh.368.2023.05.29.10.09.46; Mon, 29 May 2023 10:09:59 -0700 (PDT) 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.20221208.gappssmtp.com header.s=20221208 header.b=PibI7ffA; 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 S229601AbjE2QqT (ORCPT + 99 others); Mon, 29 May 2023 12:46:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjE2QqQ (ORCPT ); Mon, 29 May 2023 12:46:16 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD85DB5 for ; Mon, 29 May 2023 09:46:12 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5148ebc4b89so4691807a12.3 for ; Mon, 29 May 2023 09:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1685378771; x=1687970771; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NxiLnH0M50rO/qW7JX7iQtyXgKtx4AkJoJmCH1LebW4=; b=PibI7ffA9bBX6+x+JjrVc/w2AtIj2KQz9bHSi7VttnfkI2ZPnN5if7C07dvBLWSW2d weRes3Hd1QPpQcvo3POp/tvrkp2oIEdReemvYsYG9FbVbg3mldjfY3IMDDhToLEWzyAL yTxOybUXSpRIbqPJ5nuXrpHQHzXv/z1yDltXM9OHI/BxWELLgVTcXvUvGSSB8WnO44dB AOl62/fqCQkXB57zIEgAMOlXnNN4CC2SjZIKaLuiCleZqTQESdLi1DSWxGpfz8uW7qkY 2pcQIk2OIeXZS6kstrpadwun7XKLtMaAXFewu8LlghyYhPzzI3TPkUjZVsRSuu5EB1pT xqvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685378771; x=1687970771; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NxiLnH0M50rO/qW7JX7iQtyXgKtx4AkJoJmCH1LebW4=; b=RNWXHggp3ladOH/O5Glol2x9pdICkaQShXVx/w2AU1fJtydQ85popuNM6iZNi81UEh oFYGDykofissMziVpHsc5zs5LBSc/buSyMjHosQufJllFxGb1RWfidoIy1elPwLAWpZI YFRONYARa3gcED33kLy/lcGP6VxB8TAYdnilechNA66EepCLSb44ABXYGKReJWlUuGDk 2a4kV3nstQ92smQbtCj+oT+yqr1a3dk3vEa+H5zOdz/O4uChgygD7GdHewWaCpn2NW7V IHnve91covS0tsi9ggyiyCgDC6cWUvCuwL1bICCD0EYmPH+w7FOd7ex1axT1lyLRG/tV kEYQ== X-Gm-Message-State: AC+VfDwW1ejmb/7Br3PcnZZU4u1/ggSPf8LU/vMl9AY9KMq4xz7vRM/G ZvmfhBTvAIPEjIbrZc7jhxK27g== X-Received: by 2002:aa7:c317:0:b0:514:a0a7:7e7f with SMTP id l23-20020aa7c317000000b00514a0a77e7fmr223165edq.2.1685378771160; Mon, 29 May 2023 09:46:11 -0700 (PDT) Received: from ph18.baylibre (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id f4-20020aa7d844000000b0050d89daaa70sm3248578eds.2.2023.05.29.09.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 May 2023 09:46:10 -0700 (PDT) From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= 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, wenst@chromium.org, james.lo@mediatek.com, rex-bc.chen@mediatek.com, nfraprado@collabora.com, abailon@baylibre.com, amergnat@baylibre.com, khilman@baylibre.com Subject: [PATCH v3 1/5] dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for mt8192 Date: Mon, 29 May 2023 18:46:01 +0200 Message-ID: <20230529164605.3552619-2-bero@baylibre.com> X-Mailer: git-send-email 2.41.0.rc2 In-Reply-To: <20230529164605.3552619-1-bero@baylibre.com> References: <20230529164605.3552619-1-bero@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Balsam CHIHI Add LVTS thermal controller definition for MT8192. Signed-off-by: Balsam CHIHI Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski Signed-off-by: Bernhard Rosenkränzer --- .../thermal/mediatek,lvts-thermal.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h index 8fa5a46675c46..5e9eb62174268 100644 --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h @@ -26,4 +26,23 @@ #define MT8195_AP_CAM0 15 #define MT8195_AP_CAM1 16 +#define MT8192_MCU_BIG_CPU0 0 +#define MT8192_MCU_BIG_CPU1 1 +#define MT8192_MCU_BIG_CPU2 2 +#define MT8192_MCU_BIG_CPU3 3 +#define MT8192_MCU_LITTLE_CPU0 4 +#define MT8192_MCU_LITTLE_CPU1 5 +#define MT8192_MCU_LITTLE_CPU2 6 +#define MT8192_MCU_LITTLE_CPU3 7 + +#define MT8192_AP_VPU0 8 +#define MT8192_AP_VPU1 9 +#define MT8192_AP_GPU0 10 +#define MT8192_AP_GPU1 11 +#define MT8192_AP_INFRA 12 +#define MT8192_AP_CAM 13 +#define MT8192_AP_MD0 14 +#define MT8192_AP_MD1 15 +#define MT8192_AP_MD2 16 + #endif /* __MEDIATEK_LVTS_DT_H */ -- 2.41.0.rc2