Aw: Re: [RFC v1 10/14] arm64: dts: mediatek: mt7988: add lvts node

From: Frank Wunderlich
Date: Wed Nov 27 2024 - 10:29:24 EST


> Gesendet: Mittwoch, 27. November 2024 um 14:34
&gt; Von: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@xxxxxxxxxxxxx>
&gt; An: "Frank Wunderlich" <linux@xxxxxxxxx>, "Rob Herring" <robh@xxxxxxxxxx>, "Krzysztof Kozlowski" <krzk+dt@xxxxxxxxxx>, "Conor Dooley" <conor+dt@xxxxxxxxxx>, "Matthias Brugger" <matthias.bgg@xxxxxxxxx>
&gt; CC: "Frank Wunderlich" <frank-w@xxxxxxxxxxxxxxx>, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-mediatek@xxxxxxxxxxxxxxxxxxx
&gt; Betreff: Re: [RFC v1 10/14] arm64: dts: mediatek: mt7988: add lvts node
&gt;
&gt; Il 29/10/24 11:39, Frank Wunderlich ha scritto:
&gt; &gt; From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
&gt; &gt;
&gt; &gt; Add Low Voltage Thermal Sensor (LVTS) node for mt7988 SoC.
&gt; &gt;
&gt; &gt; Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
&gt;
&gt; Please add the lvts_calibration nvmem entry in this commit instead.

and leaving the other (currently not linked) subnodes?

&gt; Cheers,
&gt; Angelo
&gt;
&gt; &gt; ---
&gt; &gt; arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 13 +++++++++++++
&gt; &gt; 1 file changed, 13 insertions(+)
&gt; &gt;
&gt; &gt; diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; index ed8ce1e6f68b..de9a9ff2edd8 100644
&gt; &gt; --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; @@ -4,6 +4,7 @@
&gt; &gt; #include <dt-bindings interrupt-controller="" arm-gic.h="">
&gt; &gt; #include <dt-bindings phy="" phy.h="">
&gt; &gt; #include <dt-bindings pinctrl="" mt65xx.h="">
&gt; &gt; +#include <dt-bindings reset="" mediatek,mt7988-resets.h="">
&gt; &gt;
&gt; &gt; / {
&gt; &gt; compatible = "mediatek,mt7988a";
&gt; &gt; @@ -103,6 +104,7 @@ infracfg: clock-controller@10001000 {
&gt; &gt; compatible = "mediatek,mt7988-infracfg", "syscon";
&gt; &gt; reg = &lt;0 0x10001000 0 0x1000&gt;;
&gt; &gt; #clock-cells = &lt;1&gt;;
&gt; &gt; + #reset-cells = &lt;1&gt;;
&gt; &gt; };
&gt; &gt;
&gt; &gt; topckgen: clock-controller@1001b000 {
&gt; &gt; @@ -268,6 +270,17 @@ i2c2: i2c@11005000 {
&gt; &gt; status = "disabled";
&gt; &gt; };
&gt; &gt;
&gt; &gt; + lvts: lvts@1100a000 {
&gt; &gt; + compatible = "mediatek,mt7988-lvts-ap";
&gt; &gt; + #thermal-sensor-cells = &lt;1&gt;;
&gt; &gt; + reg = &lt;0 0x1100a000 0 0x1000&gt;;
&gt; &gt; + clocks = &lt;&amp;infracfg CLK_INFRA_26M_THERM_SYSTEM&gt;;
&gt; &gt; + interrupts = <gic_spi 138="" irq_type_level_high="">;
&gt; &gt; + resets = &lt;&amp;infracfg MT7988_INFRA_RST1_THERM_CTRL_SWRST&gt;;
&gt; &gt; + nvmem-cells = &lt;&amp;lvts_calibration&gt;;
&gt; &gt; + nvmem-cell-names = "lvts-calib-data-1";
&gt; &gt; + };
&gt; &gt; +
&gt; &gt; ssusb0: usb@11190000 {
&gt; &gt; compatible = "mediatek,mt7988-xhci", "mediatek,mtk-xhci";
&gt; &gt; reg = &lt;0 0x11190000 0 0x2e00&gt;,
&gt;
&gt; </gic_spi></dt-bindings></dt-bindings></dt-bindings></dt-bindings></frank-w@xxxxxxxxxxxxxxx></frank-w@xxxxxxxxxxxxxxx></frank-w@xxxxxxxxxxxxxxx></matthias.bgg@xxxxxxxxx></conor+dt@xxxxxxxxxx></krzk+dt@xxxxxxxxxx></robh@xxxxxxxxxx></linux@xxxxxxxxx></angelogioacchino.delregno@xxxxxxxxxxxxx>