Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3359547rdg; Tue, 17 Oct 2023 12:06:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbx74S1DuJf/f8wFUdCUBp0XrYkjLcOV3A/0sDNX4T6WfzEPUbnN3Op2Fx4ZMzD4QQHa1z X-Received: by 2002:a17:902:fa0f:b0:1c8:791c:d782 with SMTP id la15-20020a170902fa0f00b001c8791cd782mr3024193plb.29.1697569606915; Tue, 17 Oct 2023 12:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697569606; cv=none; d=google.com; s=arc-20160816; b=rm+xiAGDdoe8gKIgL44CKsks8QrUj2RKJ5sph3OeiFhwg7XIdEImBJBC2IXbghTWeq 293u4otC6UKittaNk74fRsWIHRLm8DYuxR7XVx5wgaYaE02pRbc7xFTj5fKDSpCZypoe viJcv5mMFU0xQWQCyLEl2FOKe3MNDP7j2voZxPoKBcSTpg/OmqIAeb8bBdY2MUL/YBHT JXQrH+vtX0VeMK+5rFhdDoZv9ai2qSKf3f4UFOzf7Jw3hK35wFdmFrrEM7r2MAvRxkBS DqEFtCqBz7PbOLdgJONGEanPSxWm3Hiopkt00XE/NiXvNJYEL+VeTZFOGlT3cYrxCfGL 6NYg== 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=M4DYHyP5rpJlCrGLu/7YVXYPDawqI0/vUMpje/5y6E4=; fh=1eEQxEbwsgrMAN0V4jvwHcoOQotbr3+hzjZUUcVMLss=; b=rwKk8vIG+WoxLgkEySjSmpTF6YltfnXh0YKy4i7kIaFIMSp+gRYl9sxOOgbcQ2Z6Dh iT1oeV3P+I40rxoJJZ5Xtnh0dJoBRZNx6w6pt+OXkAt3uond5NtfjMNd9IbxEB2aCP3m Y3Rmuv6k1b1tQBiRHpb1Xd08sNqF0gwnf2IYysvFGQGY4qidknyJWwQjM2GqfyMxreOO 5RJuxaZMkkob7S33Y6eiFQ3C0buWAsJtqbb5YezmgHmp8O4vCs54FKMmkCkLwg/ikeeQ 9u4d4g0G4L4wcUf5qKygp8/4766QQEnWtXperFb9NsK9Q2o4DgKrLKGGoTmsYIuMcQkk +LbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=F3Dzh9O5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id q14-20020a170902a3ce00b001befd0512e8si2268793plb.303.2023.10.17.12.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 12:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=F3Dzh9O5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 25272801B6F3; Tue, 17 Oct 2023 12:06:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344133AbjJQTF7 (ORCPT + 99 others); Tue, 17 Oct 2023 15:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235009AbjJQTFw (ORCPT ); Tue, 17 Oct 2023 15:05:52 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E339C109 for ; Tue, 17 Oct 2023 12:05:49 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-53e08b60febso9379069a12.1 for ; Tue, 17 Oct 2023 12:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1697569548; x=1698174348; darn=vger.kernel.org; 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=M4DYHyP5rpJlCrGLu/7YVXYPDawqI0/vUMpje/5y6E4=; b=F3Dzh9O5loghM9/63y5qKCEjs50agFE3KNtQITEcATMR6zxbZK2FyBfTkZqKUboLlZ ZlTDjKy9vVG1y3u9sNX7lD0CIEVdP3Nz9nqA/qW1xCEYihg7eJqeSETW7jixk5uwja+M OfEIx+pg4sDYuyKoYol+Xg2tVtIFa70VVvl/nB2dhryg5xpl2YaA1CgmYmFQMaJfzaZd kDZt77hfTWFN/eB+RTZaNyeAPhv4olQgLLGtMsUYr0ex6+zXTaKwyptAfaBDtC4j7mIF y3PAQyIT3ZI1N3XaC6JB6eVcr63t6TU/QYo+4Vh7CGKYVjJOST+4IaDwfHrUnrvD75DP RmPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697569548; x=1698174348; 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=M4DYHyP5rpJlCrGLu/7YVXYPDawqI0/vUMpje/5y6E4=; b=sXs5R+VsIjy+pGSz0qu80Vyn3M5LAG8tHtYutXl/egTeuYdLtYQdoDIlasIKrKZpQL Ch08Xcw3dvsUbHIIBvyI1yzN9sUx3kuYNVHr80pTGiRRUlac6xAHpTx1SNwcor4Lqmcy rCO7Gvsw46Yl076Vi/TwvJp0ZH+VQnd5Idwdr8zDF2baddez6jLym/NsVElmUY37pcPM 7hD/GxQH8fGUqBob9mtxCZhmJUSUxZbomUTMdwx1/w3rWThMFgrsZE4k5sEpOpSiFUnS UYTs72jq40j5hnp8TQZsMSA++Nuz9v+ZW2D9cehM4BXQNAuVZk+cOiPsprc5m+o5Pt8B LFjw== X-Gm-Message-State: AOJu0Ywz7MVR60vtseeMieFhppso8d6gfkTikmecajhBB+7yMVxonFvO zAfIGtHVndR252HIFbcblDTghQ== X-Received: by 2002:a05:6402:5202:b0:53e:f9ef:ca6b with SMTP id s2-20020a056402520200b0053ef9efca6bmr2682060edd.7.1697569547959; Tue, 17 Oct 2023 12:05:47 -0700 (PDT) Received: from ryzen9.fritz.box ([2a01:2a8:8f03:b001:fe65:a70:2777:ab31]) by smtp.gmail.com with ESMTPSA id bq14-20020a056402214e00b00537963f692esm1637990edb.0.2023.10.17.12.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 12:05:47 -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, dunlap@infradead.org, e.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, ames.lo@mediatek.com, rex-bc.chen@mediatek.com, nfraprado@collabora.com, abailon@baylibre.com, amergnat@baylibre.com, khilman@baylibre.com Subject: [PATCH v5 1/5] dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for mt8192 Date: Tue, 17 Oct 2023 21:05:41 +0200 Message-ID: <20231017190545.157282-2-bero@baylibre.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231017190545.157282-1-bero@baylibre.com> References: <20231017190545.157282-1-bero@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 17 Oct 2023 12:06:24 -0700 (PDT) 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 Reviewed-by: Alexandre Mergnat --- .../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.42.0