From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: Frank Wunderlich <frank-w@public-files.de>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: [PATCH v2 04/18] arm64: dts: mediatek: mt7988: add lvts node
Date: Mon, 2 Dec 2024 13:25:45 +0100 [thread overview]
Message-ID: <20241202122602.30734-5-linux@fw-web.de> (raw)
In-Reply-To: <20241202122602.30734-1-linux@fw-web.de>
From: Frank Wunderlich <frank-w@public-files.de>
Add Low Voltage Thermal Sensor (LVTS) node for mt7988 SoC.
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
changes:
v2:
squash
- "arm64: dts: mediatek: mt7988: add label for efuse"
- "arm64: dts: mediatek: mt7988: extend efuse node" (drop other efuse subnodes)
---
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
index 5e40446cb7b3..f7748a840297 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -4,6 +4,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/pinctrl/mt65xx.h>
+#include <dt-bindings/reset/mediatek,mt7988-resets.h>
/ {
compatible = "mediatek,mt7988a";
@@ -85,6 +86,7 @@ infracfg: clock-controller@10001000 {
compatible = "mediatek,mt7988-infracfg", "syscon";
reg = <0 0x10001000 0 0x1000>;
#clock-cells = <1>;
+ #reset-cells = <1>;
};
topckgen: clock-controller@1001b000 {
@@ -250,6 +252,17 @@ i2c@11005000 {
status = "disabled";
};
+ lvts: lvts@1100a000 {
+ compatible = "mediatek,mt7988-lvts-ap";
+ #thermal-sensor-cells = <1>;
+ reg = <0 0x1100a000 0 0x1000>;
+ clocks = <&infracfg CLK_INFRA_26M_THERM_SYSTEM>;
+ interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
+ resets = <&infracfg MT7988_INFRA_RST1_THERM_CTRL_SWRST>;
+ nvmem-cells = <&lvts_calibration>;
+ nvmem-cell-names = "lvts-calib-data-1";
+ };
+
usb@11190000 {
compatible = "mediatek,mt7988-xhci", "mediatek,mtk-xhci";
reg = <0 0x11190000 0 0x2e00>,
@@ -307,11 +320,15 @@ clock-controller@11f40000 {
#clock-cells = <1>;
};
- efuse@11f50000 {
+ efuse: efuse@11f50000 {
compatible = "mediatek,mt7988-efuse", "mediatek,efuse";
reg = <0 0x11f50000 0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
+
+ lvts_calibration: calib@918 {
+ reg = <0x918 0x28>;
+ };
};
clock-controller@15000000 {
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Frank Wunderlich <linux@fw-web.de>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 04/18] arm64: dts: mediatek: mt7988: add lvts node
Date: Mon, 2 Dec 2024 13:25:45 +0100 [thread overview]
Message-ID: <20241202122602.30734-5-linux@fw-web.de> (raw)
In-Reply-To: <20241202122602.30734-1-linux@fw-web.de>
From: Frank Wunderlich <frank-w@public-files.de>
Add Low Voltage Thermal Sensor (LVTS) node for mt7988 SoC.
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
changes:
v2:
squash
- "arm64: dts: mediatek: mt7988: add label for efuse"
- "arm64: dts: mediatek: mt7988: extend efuse node" (drop other efuse subnodes)
---
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
index 5e40446cb7b3..f7748a840297 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -4,6 +4,7 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/pinctrl/mt65xx.h>
+#include <dt-bindings/reset/mediatek,mt7988-resets.h>
/ {
compatible = "mediatek,mt7988a";
@@ -85,6 +86,7 @@ infracfg: clock-controller@10001000 {
compatible = "mediatek,mt7988-infracfg", "syscon";
reg = <0 0x10001000 0 0x1000>;
#clock-cells = <1>;
+ #reset-cells = <1>;
};
topckgen: clock-controller@1001b000 {
@@ -250,6 +252,17 @@ i2c@11005000 {
status = "disabled";
};
+ lvts: lvts@1100a000 {
+ compatible = "mediatek,mt7988-lvts-ap";
+ #thermal-sensor-cells = <1>;
+ reg = <0 0x1100a000 0 0x1000>;
+ clocks = <&infracfg CLK_INFRA_26M_THERM_SYSTEM>;
+ interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
+ resets = <&infracfg MT7988_INFRA_RST1_THERM_CTRL_SWRST>;
+ nvmem-cells = <&lvts_calibration>;
+ nvmem-cell-names = "lvts-calib-data-1";
+ };
+
usb@11190000 {
compatible = "mediatek,mt7988-xhci", "mediatek,mtk-xhci";
reg = <0 0x11190000 0 0x2e00>,
@@ -307,11 +320,15 @@ clock-controller@11f40000 {
#clock-cells = <1>;
};
- efuse@11f50000 {
+ efuse: efuse@11f50000 {
compatible = "mediatek,mt7988-efuse", "mediatek,efuse";
reg = <0 0x11f50000 0 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
+
+ lvts_calibration: calib@918 {
+ reg = <0x918 0x28>;
+ };
};
clock-controller@15000000 {
--
2.43.0
next prev parent reply other threads:[~2024-12-02 12:31 UTC|newest]
Thread overview: 95+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 12:25 [PATCH v2 00/18] continue mt7988 devicetree work Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-02 12:25 ` [PATCH v2 01/18] arm64: dts: mediatek: mt7988: enable watchdog on bpi-r4 Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 02/18] arm64: dts: mediatek: mt7988: add mmc support Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 03/18] arm64: dts: mediatek: mt7988: add fixed regulators for 1v8 and 3v3 Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 10:51 ` Frank Wunderlich
2024-12-03 14:20 ` AngeloGioacchino Del Regno
2024-12-03 15:08 ` Frank Wunderlich (linux)
2024-12-03 15:08 ` Frank Wunderlich (linux)
2024-12-02 12:25 ` Frank Wunderlich [this message]
2024-12-02 12:25 ` [PATCH v2 04/18] arm64: dts: mediatek: mt7988: add lvts node Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 05/18] arm64: dts: mediatek: mt7988: add thermal-zone Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 06/18] arm64: dts: mediatek: mt7988: add thermal trips to bpi-r4 Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 07/18] arm64: dts: mediatek: mt7988: add reserved memory Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 08/18] arm64: dts: mediatek: mt7988: add mcu-sys node for cpu Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 09/18] arm64: dts: mediatek: mt7988: add operating-points Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 10/18] arm64: dts: mediatek: mt7988: enable serial0 on bpi-r4 Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 11:27 ` Frank Wunderlich
2024-12-03 14:23 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 11/18] arm64: dts: mediatek: mt7988: add chosen node " Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-02 13:46 ` Krzysztof Kozlowski
2024-12-02 13:46 ` Krzysztof Kozlowski
2024-12-02 14:29 ` Frank Wunderlich
2024-12-02 14:29 ` Frank Wunderlich
2024-12-02 15:58 ` Krzysztof Kozlowski
2024-12-02 15:58 ` Krzysztof Kozlowski
2024-12-02 17:54 ` Aw: " Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 12/18] arm64: dts: mediatek: mt7988: add missing clock-div property for i2c Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 13/18] arm64: dts: mediatek: mt7988: add i2c to bpi-r4 board Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 10:58 ` Frank Wunderlich
2024-12-03 14:22 ` AngeloGioacchino Del Regno
2024-12-03 15:28 ` Frank Wunderlich (linux)
2024-12-03 15:28 ` Frank Wunderlich (linux)
2024-12-02 12:25 ` [PATCH v2 14/18] arm64: dts: mediatek: mt7988: add pmic on bpi-r4 Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 14:04 ` Frank Wunderlich
2024-12-03 14:04 ` Frank Wunderlich
2024-12-02 12:25 ` [PATCH v2 15/18] arm64: dts: mediatek: mt7988: add proc-supply for cpus " Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 16/18] arm64: dts: mediatek: mt7988: add i2c-mux " Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-02 12:25 ` [PATCH v2 17/18] arm64: dts: mediatek: mt7988: enable ssusb1 " Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-04 11:29 ` Frank Wunderlich (linux)
2024-12-04 11:29 ` Frank Wunderlich (linux)
2024-12-02 12:25 ` [PATCH v2 18/18] arm64: dts: mediatek: mt7988: enable pwm " Frank Wunderlich
2024-12-02 12:25 ` Frank Wunderlich
2024-12-03 9:40 ` AngeloGioacchino Del Regno
2024-12-03 9:40 ` AngeloGioacchino Del Regno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241202122602.30734-5-linux@fw-web.de \
--to=linux@fw-web.de \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frank-w@public-files.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.