From patchwork Mon May 29 16:46:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= X-Patchwork-Id: 100363 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1656783vqr; Mon, 29 May 2023 10:06:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7iN/YaGOCeVCdKy9J4/JgYVjqCSh+0CXNaWT/AqjNrX1dKUanFoC8jGyqhrwdgCphiH+dW X-Received: by 2002:a05:6a20:72a8:b0:10b:6f14:32d7 with SMTP id o40-20020a056a2072a800b0010b6f1432d7mr10255576pzk.31.1685380018946; Mon, 29 May 2023 10:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685380018; cv=none; d=google.com; s=arc-20160816; b=A5jKlzl+niksDBYEAMwNggyAVx2uMLNUmLp8IxtW7e4YZacO/bNY4hMGendEM5iKUh yyMeos/y6o/gxIMAs3lWUAO1wPrSyI6FLJZg48x8mnu+AeuZlm3cSbTx0icHXn3ZMMX0 Rwxd8Oi2UvnDXkbWM/G045LTTgq6FydOPAFTiGzJ6FvDYfAbKJNpuH64YZXTmNrf4dBB i7jW6E4PDtiBqeYh+0iCBtB9f89kOMdTMPv3kAZ5o3p9YxhYIC1dSb/MIk8z+HM54GeK MYOn8K7dizALbd2veKqmefLIRvjUqWTJcOdiPPXh8mPlg7b9vLQefuKqOBm6j1tYeuN3 T1yA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a639544000000b005208c4fa34csi9128693pgn.773.2023.05.29.10.06.45; Mon, 29 May 2023 10:06:58 -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 S229640AbjE2QqU (ORCPT + 99 others); Mon, 29 May 2023 12:46:20 -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_Rosenkr=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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767249038888990614?= X-GMAIL-MSGID: =?utf-8?q?1767249038888990614?= 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 Reviewed-by: Matthias Brugger --- .../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 */