2020-10-16 17:21:00

by Fabien Parent

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: nvmem: mtk-efuse: add documentation for MT8516 SoC

Add binding documentation for MT8516 SoCs.

Signed-off-by: Fabien Parent <[email protected]>
---
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt
index 0668c45a156d..ef93c3b95424 100644
--- a/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt
+++ b/Documentation/devicetree/bindings/nvmem/mtk-efuse.txt
@@ -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,mt8516-efuse", "mediatek,efuse": for MT8516
- reg: Should contain registers location and length

= Data cells =
--
2.28.0


2020-10-16 17:21:39

by Fabien Parent

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: mediatek: mt8516: add efuse node

Add node to support e-fuses on MT8516

Signed-off-by: Fabien Parent <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8516.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
index 89af661e7f63..18ddea519be2 100644
--- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
@@ -237,6 +237,13 @@ pio: pinctrl@1000b000 {
interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
};

+ efuse: efuse@10009000 {
+ compatible = "mediatek,mt8516-efuse", "mediatek,efuse";
+ reg = <0 0x10009000 0 0x1000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+
pwrap: pwrap@1000f000 {
compatible = "mediatek,mt8516-pwrap";
reg = <0 0x1000f000 0 0x1000>;
--
2.28.0

2020-10-26 17:06:18

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: nvmem: mtk-efuse: add documentation for MT8516 SoC

On Fri, 16 Oct 2020 19:18:36 +0200, Fabien Parent wrote:
> Add binding documentation for MT8516 SoCs.
>
> Signed-off-by: Fabien Parent <[email protected]>
> ---
> Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>

2020-11-24 10:58:52

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: nvmem: mtk-efuse: add documentation for MT8516 SoC



On 16/10/2020 18:18, Fabien Parent wrote:
> Add binding documentation for MT8516 SoCs.
>
> Signed-off-by: Fabien Parent <[email protected]>

I have picked up the dt-bindings patch, but dts changes have to go via
arm-soc tree!

--srini

2020-11-27 08:54:28

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH 2/2] arm64: dts: mediatek: mt8516: add efuse node



On 16/10/2020 19:18, Fabien Parent wrote:
> Add node to support e-fuses on MT8516
>
> Signed-off-by: Fabien Parent <[email protected]>
> ---
> arch/arm64/boot/dts/mediatek/mt8516.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>

Applied to v5.10-next/dts64

Thanks!

> diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> index 89af661e7f63..18ddea519be2 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi
> @@ -237,6 +237,13 @@ pio: pinctrl@1000b000 {
> interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + efuse: efuse@10009000 {
> + compatible = "mediatek,mt8516-efuse", "mediatek,efuse";
> + reg = <0 0x10009000 0 0x1000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + };
> +
> pwrap: pwrap@1000f000 {
> compatible = "mediatek,mt8516-pwrap";
> reg = <0 0x1000f000 0 0x1000>;
>