[v4,1/5] dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for mt8192
Message ID | 20230530195132.2286163-2-bero@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2429789vqr; Tue, 30 May 2023 13:05:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6APYL2RLw1VApN8gUVgg6UwB1i8TJJt+BuLga0rYUDGb02QPmjY3REBhXoc1UdSgtM2khH X-Received: by 2002:a17:902:d2cf:b0:1ac:5717:fd2 with SMTP id n15-20020a170902d2cf00b001ac57170fd2mr3672520plc.47.1685477142660; Tue, 30 May 2023 13:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685477142; cv=none; d=google.com; s=arc-20160816; b=p4ET46oj/79ETkGMYkuqDSki19FQfxrttfDyk9TCia0tPyNQ9rz0NZKWhbHbBC9Ibc ISjciu2aNzLcoQ2aU+TUsxNikKjlcTQ8MuQyCv7kgeAy6YvkfAoogTutm8MdgiwVwF3R ZuF/kiZAslvy3V4PsIIrt+lL8hiZ9kj86PgDF4aS/jjBrF14sq5pOqCuxrYeTkAkAEtY fzOSlLFlXTto9EVnZwA6J/zFZtPA8JldOf4ToJJX6oO7NQI1FPOFfk0QdY3YYvhvJjMo jv2jZVPrMY+kgKpy8cy4Viz2klg3XD2Z8oWgpqbSDSy8muvLU/XwJ2Umq0udhszrzhU6 Smww== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik12-20020a170902ab0c00b001a1a0db7f61si7172392plb.336.2023.05.30.13.05.28; Tue, 30 May 2023 13:05:42 -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 S233445AbjE3Tvn (ORCPT <rfc822;andrewvogler123@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Tue, 30 May 2023 12:51:37 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-30aef0b8837so1844235f8f.1 for <linux-kernel@vger.kernel.org>; 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_Rosenkr=C3=A4nzer?= <bero@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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767350880330144767?= X-GMAIL-MSGID: =?utf-8?q?1767350880330144767?= |
Series |
Add LVTS support for mt8192
|
|
Commit Message
Bernhard Rosenkränzer
May 30, 2023, 7:51 p.m. UTC
From: Balsam CHIHI <bchihi@baylibre.com> Add LVTS thermal controller definition for MT8192. Signed-off-by: Balsam CHIHI <bchihi@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> --- .../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 */