Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6969231rwr; Tue, 25 Apr 2023 06:32:14 -0700 (PDT) X-Google-Smtp-Source: AKy350akZhQMgTviIN/AzpT8XvB5ZZfMg/96qQlFqANMgH4C/jh6kbg8zTO9ZM8dpDCDW+kdBUnC X-Received: by 2002:a05:6a21:788a:b0:f2:73a7:b755 with SMTP id bf10-20020a056a21788a00b000f273a7b755mr19483081pzc.20.1682429533556; Tue, 25 Apr 2023 06:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682429533; cv=none; d=google.com; s=arc-20160816; b=kQmHfUrFUVYghFYf2DciWeWLHXnZAv2I9t5u2DXo3wp+IEEeIwYtEub2MgJ8F6Nxa2 oBLW+aFHDDt0J9NTpsIXlzSm9cBQVMh/yejr3A0sKReV7fuAVDFGLACVZGOJr6l6lC8Z aSnrVJ2yVEqGQ0SzlRDBgVjhOLpX9mUAEzzQhlVbYuOEL5+dHwupbAQArZJmpKZC9kaK yg3jcVR+LG5H5xOVznUQ1q5bs2WxJYm9saz7FJVuA9qr+6D16I55uc+vZntTwniyoJwH 5nJJnnZ14uZd6zBiWGryVBLBrFK40ppCZkEayB14UPJ194ZdFuyGyUulYmNvZIxcwQ27 qevg== 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=Eh4GXBQTeeN3DdxaOs5pVxlWxuVqOqd+rT6j8+6l8sE=; b=isHZxNdbrRJxnLXqvGJ891SbwgqVCSGI7B6++JziiKTGRNuBWi+u8ztTBm5bG6rBwp ZgJM/zymKSKL9LGQS0rtT2euwpS3BWAIXAo/zEEcXu+c9ReOOsRi+L8HubVleaKrbSVj VvaBnpDdZhnsrNsqY0i3cvKDIrSJJ9Cet08465DmMaw1mfT3iY09A82dptIFVOsM96Ht LZue/TI6XkpeLB9L7LAD+XLps4u+NhtgP+iwSD61p3WtAD2RJ8rXFGRcLSYMiQHPq+6z RsO+wZQ4jc2DQ1QqG167z/6IenjfmvUyd4/PrJexq2kSBXRcm/tE/KMOC0GSjpynBT0m /Nqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=i5Qsdqol; 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 h190-20020a6383c7000000b005252c690368si6217848pge.478.2023.04.25.06.31.51; Tue, 25 Apr 2023 06:32:13 -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=i5Qsdqol; 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 S234094AbjDYNbD (ORCPT + 99 others); Tue, 25 Apr 2023 09:31:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233986AbjDYNbB (ORCPT ); Tue, 25 Apr 2023 09:31:01 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60E56CC25 for ; Tue, 25 Apr 2023 06:30:59 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f1738d0d4cso37404985e9.1 for ; Tue, 25 Apr 2023 06:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1682429458; x=1685021458; 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=Eh4GXBQTeeN3DdxaOs5pVxlWxuVqOqd+rT6j8+6l8sE=; b=i5QsdqollPNfcncQQEct9tIVIBdnrKJeZc3eFnysExlh3i4xDszbMag5cktSnxtV2p sbuXBvzAfsOtLCIjIRQft0OEriAEzdSsneG1l/zY9VSduSznZ1RTHqBDw4d3ffPomGRm xBqgGeYSZZ6QJbE1svq2CFPyY48SCMdoOQ2R5/CB21o2D+LssoCHHI9P9Yt9TM6ch7Zs IMXhm0DmQwACXr1vQ6Pr1U6ba9QyK0oVGHLkD3y4fQ2Y2676V89e23qCg0YZWMyFATEu mb2WYuarZ/mpKl7FG5aYqJTZm4L+/Lpg/o0EkcM02iek47DZevrkPmPz07EiYeQFbxc5 Pn8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682429458; x=1685021458; 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=Eh4GXBQTeeN3DdxaOs5pVxlWxuVqOqd+rT6j8+6l8sE=; b=YPTXbDrCa2Dx9hR4Zz2dRiNW+RCPRnnRRlXYQkpeHX6MVy+1qoRYaGkdh5Sc2rs0ru 5wkzFPI6l+oNcg8H1AfR5H8AccVPedgEfbhU4WYaBRi899N9jnZUv2BN+reMCPf8wcdJ 9TXljzG1HDI5l/ONhYXLgI3LI4oRs27L1NsevRyByAZ7wu7ypZLKBpRK6NYc2JQtfhNc qxIQYXcl26V44fMds7xCiPjMkuhskTIiD0bt01jdNuztJ5t+zsVCcFcfIaseoci7/g9Y McnU+NyDr4XKbizT4YDKcfcWqaCWUAyWlsBXf3YefwAi/YaR5qd+Uor5OVs8xfvxKHjH XdoA== X-Gm-Message-State: AAQBX9dMI/aVAckS3vb/b4VWA+k9ECWH4hFzIUB2naaZjlKf4KN+tcm8 OUiiy9VKCQbW45+jtZwNS1szmw== X-Received: by 2002:a7b:ca47:0:b0:3f1:9acf:8670 with SMTP id m7-20020a7bca47000000b003f19acf8670mr7954690wml.22.1682429457838; Tue, 25 Apr 2023 06:30:57 -0700 (PDT) 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 t10-20020a05600c198a00b003f16932fe7dsm18575434wmq.38.2023.04.25.06.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 06:30:57 -0700 (PDT) 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, 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 v2 2/5] dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for mt8192 Date: Tue, 25 Apr 2023 15:30:49 +0200 Message-Id: <20230425133052.199767-3-bchihi@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230425133052.199767-1-bchihi@baylibre.com> References: <20230425133052.199767-1-bchihi@baylibre.com> 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, 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 --- .../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.34.1