Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4998372rwd; Tue, 30 May 2023 13:02:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4TI6/8dELI+VylJCNSbqOiUMQgXE7h/hezBhkCkX1AJp/G63AlSJeusoSE+PnB1Rvpc69Z X-Received: by 2002:a17:90a:4214:b0:246:634d:a89c with SMTP id o20-20020a17090a421400b00246634da89cmr3517487pjg.41.1685476956778; Tue, 30 May 2023 13:02:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685476956; cv=none; d=google.com; s=arc-20160816; b=YAMZG6Gz1ruyDW5CqjQQrfoU7r7qB0Efh4SNRBktMknPY+7pmR3iMf1pIjyAmWn+rY EdYd/n38f1SwktIioP0KblFObTgOm4E/1h3m9nccr6ecBsgIlhpvCqv5lrAC1Qz2fV/P cX4I/QRCOidMod9J6pLJAn6ipbyHqUsDjueXbYj0FJ3/Q31Avr+BicNFrkuiQt4/EOMm 4CSOE3fjVTFHbO0XUEjhjQY20cHOayMHj6i4mTjVQ0AMtNljzuKPj6OHwv5FFGKLA2fX EF3887hTE8XxM3lR7u/12TmT6hQY40AAstV/8yCYZ2TlzN18wYzOYYHRPxa8x/w26qZn HBnw== 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=xMbc7ZMxh3N33Yc+ipgSHRqfEAA1Um0qlVG11Tvtq50=; b=tUdD9iBSIHrf5uWG5Ie9+w27ZTfAW4pXWGIMGLZb1IkFkWOkp8DerL+YDxuOZGo3fa WSOZkbv/3KF4ZqOh41ByO8OQeGGCvi6IVue29sqwDHORzxPkn5myaV1WFZoqVi5pbrNG Gyp3yyQyZX8D28VrABKpJeoMRMABhlGCg80uMBmdr8S6AJPbxxQoDZWWYleKSHXIvXBt CIO82jzv2DmYoUy7734qMb8ib/WlzzzxXgKTyb4E97IUEFQ44fB3JGtCjt3nMchH/O4L sba+XNtp4b3Tp3wpQnvRk0R5whzSoRTuorh1nZquCGhPK5OVxNkn2vYTl60OZbxqjcI/ AJzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=SQBjpmxh; 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 i25-20020a633c59000000b0051f74e18927si5027233pgn.184.2023.05.30.13.02.24; Tue, 30 May 2023 13:02:36 -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=SQBjpmxh; 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 S233437AbjE3Tvn (ORCPT + 99 others); Tue, 30 May 2023 15:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbjE3Tvl (ORCPT ); Tue, 30 May 2023 15:51:41 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0285F9 for ; Tue, 30 May 2023 12:51:37 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-30aef0b8837so1844235f8f.1 for ; Tue, 30 May 2023 12:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1685476296; x=1688068296; 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=xMbc7ZMxh3N33Yc+ipgSHRqfEAA1Um0qlVG11Tvtq50=; b=SQBjpmxhV4in/9DZqzAkeEBpua4/dKoQjL/6zGi7N6k7Qnv+gudpP6eiebLLyKWWtv xcYOgCaDTg9Ad6kH84wmmIvD3sSwJON2ESqPBayJ+uk49FpaAoc+m3ak7XPNUzCl/Fa/ DPelZdwKMFeb9F8UrqQtyJyG2E5fpEElIzdROCJL2NMRSj7EDuZL8vxmaBcmn8YCdFA3 cj80QMxxkZ6GnJ4vhksdj/6L86a/wybg48m/BNYVSNkulCNi3aVORvgK1+ftAYJytKTb hZWrAGW3J1UYmQzUEK+V4+e3lqyGKQ0CFdEkiX8wthmR+6XZUucxm4Q2YkX1iTpha4VD rQ+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476296; x=1688068296; 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=xMbc7ZMxh3N33Yc+ipgSHRqfEAA1Um0qlVG11Tvtq50=; b=XLaxvoHyKEmD3LtsVh6pz6IbXLchX1adm8LXYjHFM7OJeo8fPvxIE+wBToR1w3aJJr cHTBGTCGWBLAIVtEQ5z8iDIJIX/QLiyU+oKZgTM7Rvxxigg4sxv0xGqosc7V5HsmGhOo ozi5NpQloB/nWegD/91iwD2CG10vffs+vcxhrlfUU/ef80UkkoO1vj6ubkdZcgRkLsb3 KpuclTyBdPrf4Zsq+GmYo1DSLvHv1zTymPc3JxeHkoVGWApJk8jmumlT6aYsrl8o5qRd SO0rtDeApFw3Cjq9xlbZT02aVE7zYWBBZh5qQbb3a5EtK408Xis11xyj2ppNldrco9Y7 YiLg== X-Gm-Message-State: AC+VfDwFoc2m4LuufP/d9P0aC1F25yn7xen/MAFl8yWukI30BpC+7fIm qeoS2SemDleL6PIWCQDEdxpy6w== X-Received: by 2002:a5d:4d51:0:b0:306:2c39:5d52 with SMTP id a17-20020a5d4d51000000b003062c395d52mr2033984wru.57.1685476296347; Tue, 30 May 2023 12:51:36 -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 n11-20020adfe34b000000b003078cd719ffsm4271545wrj.95.2023.05.30.12.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:51:35 -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 v4 1/5] dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for mt8192 Date: Tue, 30 May 2023 21:51:28 +0200 Message-ID: <20230530195132.2286163-2-bero@baylibre.com> X-Mailer: git-send-email 2.41.0.rc2 In-Reply-To: <20230530195132.2286163-1-bero@baylibre.com> References: <20230530195132.2286163-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=unavailable 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 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 */ -- 2.41.0.rc2