Skip to contentSkip to conversation

Add Mediatek Efuse Device Node for MT8192 SoC

PATCH Applied [email protected] 3 participants 6 messages Feb 1, 2021 – Mar 30, 2021

Subsystems (3)

v4 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 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 v4 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.10-rc7.

---
 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +1 -0
index 0668c45..82dafa3 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
 - reg: Should contain registers location and length
 
 = Data cells =
Signature · 5 lines
2.6.4
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
maintainer Acked-by on v4 1/2
#2 lore raw

Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

Quoted 11 lines · On Mon, 01 Feb 2021 11:59:45 +0800, [email protected] wrote:

From: Ryan Wu <[email protected]>

This updates dt-binding documentation for MediaTek mt8192

---
This patch is based on v5.10-rc7.

---
 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
 1 file changed, 1 insertion(+)

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

maintainer Applied
#3 lore raw

Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

In reply to [email protected]
Quoted 5 lines · On 01/02/2021 04:59, [email protected] wrote:

From: Ryan Wu <[email protected]>

This updates dt-binding documentation for MediaTek mt8192

Applied to v5.12-next/dts64

Please resend the DTS patch with the comments I made.

Quoted 12 lines

---
This patch is based on v5.10-rc7.

---
 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +0 -0
index 0668c45..82dafa3 100644

Documentation/devicetree/bindings/nvmem/mtk-efuse.txt Required properties: · line 13

Quoted 7 lines
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +1 -0
@@ -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
 - reg: Should contain registers location and length
 
 = Data cells =

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

#4 lore raw

PATCH v4 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 69d45c7..4a0d941 100644
@@ -422,6 +422,11 @@
 			#clock-cells = <1>;
 		};
 
+		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
#5 lore raw

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

Quoted 21 lines · On 01/02/2021 04:59, [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 69d45c7..4a0d941 100644

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

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

We are missing
#address-cells = <1>;
#size-cells = <1>;

Regards,
Matthias

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

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

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