Add Mediatek Efuse Device Node
Subsystems (3)
cover Add Mediatek Efuse Device Node
From: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
This patch adds efuse and soc_data device nodes to read via NVMEM. These device nodes store data including thermal calibration, chip ID, and drivers like thermal sensor will read out theses data to configure dirver.
Michael Mei (2):
arm64: dts: mt8183: add efuse and Mediatek Chip id node to read
dt-bindings: nvmem: mediatek: add support for MediaTek mt8183 SoC
.../devicetree/bindings/nvmem/mtk-efuse.txt | 1 + arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++++++++++++++ 2 files changed, 16 insertions(+)
Signature · 1 line
2.18.0
A message that is not in the archive (sent off-list or not yet received): 20190416081922.21711-1-michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]
PATCH 1/2 arm64: dts: mt8183: add efuse and Mediatek Chip id node to read
From: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
support for reading chip ID and efuse
---
This patch is based on v5.1-rc1 and these patches:
https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +15 -0
@@ -148,6 +148,15 @@ compatible = "simple-bus"; ranges; + soc_data: soc_data@08000000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x08000000 0 0x0010>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>;
@@ -353,6 +362,12 @@ status = "disabled"; }; + efuse: efuse@11f10000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x11f10000 0 0x1000>; + }; + mfgcfg: syscon@13000000 { compatible = "mediatek,mt8183-mfgcfg", "syscon"; reg = <0 0x13000000 0 0x1000>;
Signature · 1 line
2.18.0
A message that is not in the archive (sent off-list or not yet received): 20190416081922.21711-2-michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]
Re: [PATCH 1/2] arm64: dts: mt8183: add efuse and Mediatek Chip id node to read
Hi Michael,
Quoted 8 lines · On 16/04/2019 10:19, michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected] wrote:
From: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
support for reading chip ID and efuse
---
This patch is based on v5.1-rc1 and these patches:
Quoted 7 lines
https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519
Can you please work with JJian, Hsin-Hsiung, Weiyi, Erin and Zhiyong (hope I didn't forgot anyone) to send this all as a series once the driver parts are taken by the respective maintainers? This would make my live much easier.
Thanks a lot!
Matthias
Quoted 38 lines
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)arch/arm64/boot/dts/mediatek/mt8183.dtsi +15
-0@@ -148,6 +148,15 @@ compatible = "simple-bus"; ranges; + soc_data: soc_data@08000000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x08000000 0 0x0010>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>;@@ -353,6 +362,12 @@ status = "disabled"; }; + efuse: efuse@11f10000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x11f10000 0 0x1000>; + }; + mfgcfg: syscon@13000000 { compatible = "mediatek,mt8183-mfgcfg", "syscon"; reg = <0 0x13000000 0 0x1000>;
PATCH 1/2 arm64: dts: mt8183: add efuse and Mediatek Chip id node to read
In reply to a message not in the archiveFrom: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
support for reading chip ID and efuse
---
This patch is based on v5.1-rc1 and these patches:
https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519
--- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +15 -0
@@ -148,6 +148,15 @@ compatible = "simple-bus"; ranges; + soc_data: soc_data@08000000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x08000000 0 0x0010>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>;
@@ -353,6 +362,12 @@ status = "disabled"; }; + efuse: efuse@11f10000 { + compatible = "mediatek,mt8183-efuse", + "mediatek,efuse"; + reg = <0 0x11f10000 0 0x1000>; + }; + mfgcfg: syscon@13000000 { compatible = "mediatek,mt8183-mfgcfg", "syscon"; reg = <0 0x13000000 0 0x1000>;
Signature · 1 line
2.18.0
PATCH 2/2 dt-bindings: nvmem: mediatek: add support for MediaTek mt8183 SoC
In reply to a message not in the archiveFrom: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
This updates dt-binding documentation for MediaTek mt8183 For the both SoCs supported all rely on the fallback binding of the generic case with "mediatek,efuse".
---
This patch is based on v5.1-rc1 and these patches:
https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519
--- Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + 1 file changed, 1 insertion(+)
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,mt8183-efuse" or "mediatek,efuse": for MT8183 - reg: Should contain registers location and length = Data cells =
Signature · 1 line
2.18.0
Re: [PATCH 2/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8183 SoC
[adding the corresponding maintainer]
Quoted 7 lines · On 16/04/2019 10:19, [email protected] wrote:
From: Michael Mei <[email protected]>
This updates dt-binding documentation for MediaTek mt8183 For the both SoCs supported all rely on the fallback binding of the generic case with "mediatek,efuse".
Signed-off-by Michael Mei <[email protected]>
Quoted 27 lines
---
This patch is based on v5.1-rc1 and these patches:https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519--- Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + 1 file changed, 1 insertion(+)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,mt8183-efuse" or "mediatek,efuse": for MT8183 - reg: Should contain registers location and length = Data cells =
PATCH 2/2 dt-bindings: nvmem: mediatek: add support for MediaTek mt8183 SoC
In reply to a message not in the archiveFrom: Michael Mei <michael.mei-NuS5LvNUpcJWk0Htik3J/[email protected]>
This updates dt-binding documentation for MediaTek mt8183 For the both SoCs supported all rely on the fallback binding of the generic case with "mediatek,efuse".
---
This patch is based on v5.1-rc1 and these patches:
https://patchwork.kernel.org/patch/10856987/
https://patchwork.kernel.org/patch/10839021/
https://patchwork.kernel.org/patch/10879015/
https://patchwork.kernel.org/patch/10878999/
https://patchwork.kernel.org/patch/10858941/
https://patchwork.kernel.org/patch/10846685/
https://patchwork.kernel.org/patch/10893519
--- Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 + 1 file changed, 1 insertion(+)
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,mt8183-efuse" or "mediatek,efuse": for MT8183 - reg: Should contain registers location and length = Data cells =
Signature · 1 line
2.18.0