Skip to contentSkip to conversation

arm64: dts: mt8192: add efuse support for MT8192 SoC

PATCH In review [email protected] 2 participants 2 messages Dec 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: mt8192: add efuse support for MT8192 SoC

From: Ryan Wu <[email protected]>

to read Mediatek efuse

---
This patch dependents on "arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile"[1]

mt8192.dtsi file is needed for this patch.
Please also accept this patch together with [1].

[1]http://lists.infradead.org/pipermail/linux-mediatek/2020-November/019378.html

---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +7 -0
index 69d45c7b31f1..55a805a61428 100644
@@ -422,6 +422,13 @@
 			#clock-cells = <1>;
 		};
 
+		efuse: efuse@11c10000 {
+			compatible = "mediatek,efuse";
+			reg = <0 0x11c10000 0 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+		};
+
 		i2c3: i2c3@11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,
Signature · 5 lines
2.18.0
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
#1 lore raw
Quoted 2 lines · On Wed, Dec 16, 2020 at 5:00 AM <[email protected]> wrote:

From: Ryan Wu <[email protected]>

Use get_maintainers.pl please.

Quoted 2 lines

to read Mediatek efuse

Complete sentences?

Quoted 18 lines

---
This patch dependents on "arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile"[1]

mt8192.dtsi file is needed for this patch.
Please also accept this patch together with [1].

[1]http://lists.infradead.org/pipermail/linux-mediatek/2020-November/019378.html

---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +0 -0
index 69d45c7b31f1..55a805a61428 100644

arch/arm64/boot/dts/mediatek/mt8192.dtsi line 426

Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt8192.dtsi +2 -0
@@ -422,6 +422,13 @@
                        #clock-cells = <1>;
                };
 
+               efuse: efuse@11c10000 {
+                       compatible = "mediatek,efuse";

Needs SoC specific compatible and to be documented.

arch/arm64/boot/dts/mediatek/mt8192.dtsi line 429

Quoted 4 lines
arch/arm64/boot/dts/mediatek/mt8192.dtsi +3 -0
+                       reg = <0 0x11c10000 0 0x1000>;
 
+                       #address-cells = <1>;
+                       #size-cells = <1>;

These aren't needed unless you have child nodes.

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt8192.dtsi +2 -0
+               };
+
                i2c3: i2c3@11cb0000 {
                        compatible = "mediatek,mt8192-i2c";
                        reg = <0 0x11cb0000 0 0x1000>,

--
2.18.0

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek