Message ID | 20230920175001.47563-3-linux@fw-web.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp4370536vqi; Wed, 20 Sep 2023 12:20:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrhppAupxayvDj8C+HUNHi/ObMoI0fqnry3MaJMirXH9PXW8bi4ypXUyZTflD3HDxir/MA X-Received: by 2002:a17:902:d4ca:b0:1c3:83e2:d0a9 with SMTP id o10-20020a170902d4ca00b001c383e2d0a9mr4128498plg.58.1695237600780; Wed, 20 Sep 2023 12:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695237600; cv=none; d=google.com; s=arc-20160816; b=q4MFEA+ac7g/+Pj1c5jxB93SQ/+62WJusZ0yKExrcWcN/CmOpSvwxagWCwGj7Po08C v9S06KoqzeQGj7H56/vytHaKZpZLbVCbDZWQvSjCohJFPkdzWTPluh/HjtjscDrcM4oU guJGgYlG/sPNnrHpnYNElB4eyhRYDFAlOCfn8irPhtkOhKeYn088y+mJXSyPl1sKP19o I6VDYqag72AcLtLK0qBdcv+4qIh8m8E/clD4ijRq/IS+JS09FBNvwruQEek9RWK4AB10 YpRhxkXLTdLnq47xErl8oOSxUxd2+bZWYqz7p2HNRzaAZPVrpieGFX0FMPswT9r6YlgU mesw== 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=6Ab/IJGopl0Fd9bE40PtYLKeKlhYSWE9/GzXwTQ8IZ0=; fh=FBLOeAhicL3MHbPCCQPBrSY+L4SCfw6OdXtfmzn+ZOE=; b=mAA0umRlBkFf/e8WC/DkJiVq/pbSCpMTf7YuPIj9X3gxsnkCgkCgpK0X4VRPcQH/97 F4h1d2yxpJ9rxzDZwA+8wvVgku3sK08CDdO2lVgAjpB5UENS4pfM7jc6EBZwUMYmBwqC mlenQ2Bk8y05xps8b2XeLS2HyHlL5KrU0wnoP5tuNw42GyB7iEBfz6gbAaZr5reDV3pG ZKsVxP6lsSB13TeRXSTou5EH25l0IfOyNbvRUpw3epQVuF/x1whWPgF1sl5Ec9qscbLy 4dEy2S6N9hLvQnTA+/XXTR0clDiwxGscdReY1dBoHupWOkd0AIzUGJHaGDp7RObtYqFV qCZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=KDbQv9Gp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id y8-20020a17090264c800b001b895572179si7650588pli.184.2023.09.20.12.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 12:20:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=KDbQv9Gp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 0C5378067103; Wed, 20 Sep 2023 10:50:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229600AbjITRuX (ORCPT <rfc822;realc9580@gmail.com> + 27 others); Wed, 20 Sep 2023 13:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjITRuR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 20 Sep 2023 13:50:17 -0400 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68C9594; Wed, 20 Sep 2023 10:50:11 -0700 (PDT) Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout2.routing.net (Postfix) with ESMTP id C33F1615FC; Wed, 20 Sep 2023 17:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1695232209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Ab/IJGopl0Fd9bE40PtYLKeKlhYSWE9/GzXwTQ8IZ0=; b=KDbQv9Gp+pCwGmY6GAW2gND9JNsiWa5glAC5IBTBQfSu8U0WauN54as8GQ2Wo1J/3n3+Dy MsTnFSnIdVbzRL0rgcTtKfQ9SO/zQwVJZRAOIReRI/NzAxlqlFEsHOyF0GRefAPf95F53V IvQNeadAvecIjjDQl6HUgoP4KTimw1k= Received: from frank-G5.. (fttx-pool-217.61.152.105.bambit.de [217.61.152.105]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id 059B31015CA; Wed, 20 Sep 2023 17:50:09 +0000 (UTC) From: Frank Wunderlich <linux@fw-web.de> To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich <frank-w@public-files.de>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/4] dt-bindings: thermal: mediatek: Add LVTS thermal sensors for mt7988 Date: Wed, 20 Sep 2023 19:49:59 +0200 Message-Id: <20230920175001.47563-3-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230920175001.47563-1-linux@fw-web.de> References: <20230920175001.47563-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: c3a287f9-3456-4424-bf8c-b952a733516f 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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 10:50:35 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777585462210463474 X-GMAIL-MSGID: 1777585462210463474 |
Series |
add LVTS support for mt7988
|
|
Commit Message
Frank Wunderlich
Sept. 20, 2023, 5:49 p.m. UTC
From: Frank Wunderlich <frank-w@public-files.de> Add sensor constants for MT7988. Signed-off-by: Frank Wunderlich <frank-w@public-files.de> --- v2: - new patch (moved from driver code to binding header) - give sensors more meaningful names --- include/dt-bindings/thermal/mediatek,lvts-thermal.h | 9 +++++++++ 1 file changed, 9 insertions(+)
Comments
Il 20/09/23 19:49, Frank Wunderlich ha scritto: > From: Frank Wunderlich <frank-w@public-files.de> > > Add sensor constants for MT7988. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > v2: > - new patch (moved from driver code to binding header) > - give sensors more meaningful names > --- > include/dt-bindings/thermal/mediatek,lvts-thermal.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > index 8fa5a46675c4..8c1fdc18cf34 100644 > --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h > +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h > @@ -7,6 +7,15 @@ > #ifndef __MEDIATEK_LVTS_DT_H > #define __MEDIATEK_LVTS_DT_H > > +#define MT7988_CPU_0 0 > +#define MT7988_CPU_1 1 > +#define MT7988_ETH2P5G_0 2 > +#define MT7988_ETH2P5G_1 3 > +#define MT7988_TOPS_0 4 > +#define MT7988_TOPS_1 5 > +#define MT7988_ETHWARP_0 6 > +#define MT7988_ETHWARP_1 7 > + > #define MT8195_MCU_BIG_CPU0 0 > #define MT8195_MCU_BIG_CPU1 1 > #define MT8195_MCU_BIG_CPU2 2
On Thu, Sep 21, 2023 at 09:55:46AM +0200, AngeloGioacchino Del Regno wrote: > Il 20/09/23 19:49, Frank Wunderlich ha scritto: > > From: Frank Wunderlich <frank-w@public-files.de> > > > > Add sensor constants for MT7988. > > > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor.
diff --git a/include/dt-bindings/thermal/mediatek,lvts-thermal.h b/include/dt-bindings/thermal/mediatek,lvts-thermal.h index 8fa5a46675c4..8c1fdc18cf34 100644 --- a/include/dt-bindings/thermal/mediatek,lvts-thermal.h +++ b/include/dt-bindings/thermal/mediatek,lvts-thermal.h @@ -7,6 +7,15 @@ #ifndef __MEDIATEK_LVTS_DT_H #define __MEDIATEK_LVTS_DT_H +#define MT7988_CPU_0 0 +#define MT7988_CPU_1 1 +#define MT7988_ETH2P5G_0 2 +#define MT7988_ETH2P5G_1 3 +#define MT7988_TOPS_0 4 +#define MT7988_TOPS_1 5 +#define MT7988_ETHWARP_0 6 +#define MT7988_ETHWARP_1 7 + #define MT8195_MCU_BIG_CPU0 0 #define MT8195_MCU_BIG_CPU1 1 #define MT8195_MCU_BIG_CPU2 2