From patchwork Tue Apr 25 13:30:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Balsam CHIHI X-Patchwork-Id: 87405 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3407764vqo; Tue, 25 Apr 2023 06:32:37 -0700 (PDT) X-Google-Smtp-Source: AKy350ZERCaYIYwRJoseH9Bz3VWWFpJJYH1CsSVeRM2iC5vqEboxQ8CL9f/J1fDnLWPyVyYdMhUZ X-Received: by 2002:a05:6a00:1801:b0:638:edbc:74ca with SMTP id y1-20020a056a00180100b00638edbc74camr26329605pfa.0.1682429557319; Tue, 25 Apr 2023 06:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682429557; cv=none; d=google.com; s=arc-20160816; b=XcQP7IqwwJoK3gfKmLv/ROiVsSjO0WUBvTPY6871azDiDWQivhPGWdcBxmNj9dEBFC l8nmYEnhvbChHtGWpGgp7jmWOZgHGLVdmx2Bs2yJXuyGQvVhS8fldIT7a0n1BTCStFDu DFxcK3+5tfUQuXi4uF3rzWFeahPF3y3T93K39HknP6ay2yAImmcM23aA+a+m3uTTKFyQ j+yc31o85exClVZ/4qBH2XO/XSSfqt2ek5XMB12x+gl2i9oLehd1xQrixDVRXc4co3C6 3MZzPILxc7rFMCBCmHGwFcS+Ph4kOjNKoLjOwuJ0lR+QrT6A//9FQmcIdPuOF83klAyC 0yKw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h64-20020a625343000000b0063b356e36fesi13869705pfb.372.2023.04.25.06.32.24; Tue, 25 Apr 2023 06:32:37 -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 S234099AbjDYNbE (ORCPT + 99 others); Tue, 25 Apr 2023 09:31:04 -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 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?1764155255823537703?= X-GMAIL-MSGID: =?utf-8?q?1764155255823537703?= From: Balsam CHIHI Add LVTS thermal controller definition for MT8192. Signed-off-by: Balsam CHIHI Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski Reviewed-by: NĂ­colas F. R. A. Prado --- .../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 */