Skip to contentSkip to conversation

Add Mediatek Efuse Device Node for MT8192 SoC

PATCH In review [email protected] 2 participants 4 messages Apr 14, 2021 – Sep 3, 2021

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

v5 cover Add Mediatek Efuse Device Node for MT8192 SoC

From: Ryan Wu <[email protected]>

This patch adds efuse to read via NVMEM.

Ryan Wu (2):
dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC
arm64: dts: mt8192: add eFuse support for MT8192 SoC

 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
 arch/arm64/boot/dts/mediatek/mt8192.dtsi              | 5 +++++
 2 files changed, 6 insertions(+)
Signature · 1 line
2.6.4
#1 lore raw

PATCH v5 1/2 dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

From: Ryan Wu <[email protected]>

This updates dt-binding documentation for MediaTek mt8192

---
This patch is based on v5.12-rc2.

---
 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +1 -0
index ef93c3b..dbd4da8 100644
@@ -7,6 +7,7 @@ Required properties:
 	      "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
 	      "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
 	      "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
+		  "mediatek,mt8192-efuse", "mediatek,efuse": for MT8192
 	      "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
 - reg: Should contain registers location and length
 
Signature · 1 line
2.6.4
#2 lore raw

PATCH v5 2/2 arm64: dts: mt8192: add eFuse support for MT8192 SoC

In reply to [email protected]

From: Ryan Wu <[email protected]>

Add eFuse node 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 | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +5 -0
index 9757138..4d4e4de 100644
@@ -436,6 +436,11 @@
 			status = "disable";
 		};
 
+		efuse: efuse@11c10000 {
+				compatible = "mediatek,mt8192-efuse",
+							 "mediatek,efuse";
+		};
+
 		i2c3: i2c3@11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,
Signature · 1 line
2.6.4
maintainer
#3 lore raw

Re: [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC

Quoted 21 lines · On 14/04/2021 09:17, [email protected] wrote:

From: Ryan Wu <[email protected]>

Add eFuse node 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 | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +0 -0
index 9757138..4d4e4de 100644

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

Quoted 6 lines
arch/arm64/boot/dts/mediatek/mt8192.dtsi +3 -0
@@ -436,6 +436,11 @@
 			status = "disable";
 		};
 
+		efuse: efuse@11c10000 {
+				compatible = "mediatek,mt8192-efuse",
+							 "mediatek,efuse";

Please fix identation.
Binding description mandates a reg property, please help to make the patch better by adding that property.

Thanks a lot,
Matthias

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