diff mbox series

[1/2] arm64: dts: mt8183: add efuse and Mediatek Chip id node to read

Message ID 20190416081922.21711-2-michael.mei@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: mt8183: add efuse and Mediatek Chip id node to read | expand

Commit Message

Michael Mei April 16, 2019, 8:19 a.m. UTC
From: Michael Mei <michael.mei@mediatek.com>

support for reading chip ID and efuse

Signed-off-by: Michael Mei <michael.mei@mediatek.com>
---
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(+)

Comments

Matthias Brugger April 16, 2019, 9:07 a.m. UTC | #1
Hi Michael,

On 16/04/2019 10:19, michael.mei@mediatek.com wrote:
> From: Michael Mei <michael.mei@mediatek.com>
> 
> support for reading chip ID and efuse
> 
> Signed-off-by: Michael Mei <michael.mei@mediatek.com>
> ---
> 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

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

> ---
>  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index b36e37fcdfe3..405cd7e2ca4b 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -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>;
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index b36e37fcdfe3..405cd7e2ca4b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -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>;