linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add Mediatek Efuse Device Node for MT8192 SoC
@ 2021-02-01  3:59 Yz.Wu
  2021-02-01  3:59 ` [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
  2021-02-01  3:59 ` [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
  0 siblings, 2 replies; 6+ messages in thread
From: Yz.Wu @ 2021-02-01  3:59 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Matthias Brugger
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen, Ryan Wu

From: Ryan Wu <Yz.Wu@mediatek.com>

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(+)

-- 
2.6.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC
  2021-02-01  3:59 [PATCH v4 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
@ 2021-02-01  3:59 ` Yz.Wu
  2021-02-09 20:41   ` Rob Herring
  2021-03-30  8:42   ` Matthias Brugger
  2021-02-01  3:59 ` [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
  1 sibling, 2 replies; 6+ messages in thread
From: Yz.Wu @ 2021-02-01  3:59 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Matthias Brugger
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen, Ryan Wu

From: Ryan Wu <Yz.Wu@mediatek.com>

This updates dt-binding documentation for MediaTek mt8192

Signed-off-by: Ryan Wu <Yz.Wu@mediatek.com>
---
This patch is based on v5.10-rc7.
---
 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 0668c45..82dafa3 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,mt8192-efuse", "mediatek,efuse": for MT8192
 - reg: Should contain registers location and length
 
 = Data cells =
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC
  2021-02-01  3:59 [PATCH v4 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
  2021-02-01  3:59 ` [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
@ 2021-02-01  3:59 ` Yz.Wu
  2021-03-30  8:40   ` Matthias Brugger
  1 sibling, 1 reply; 6+ messages in thread
From: Yz.Wu @ 2021-02-01  3:59 UTC (permalink / raw)
  To: Srinivas Kandagatla, Rob Herring, Matthias Brugger
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen, Ryan Wu

From: Ryan Wu <Yz.Wu@mediatek.com>

Add eFuse node to read Mediatek eFuse

Signed-off-by: Ryan Wu <Yz.Wu@mediatek.com>
---
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(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 69d45c7..4a0d941 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -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>,
-- 
2.6.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC
  2021-02-01  3:59 ` [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
@ 2021-02-09 20:41   ` Rob Herring
  2021-03-30  8:42   ` Matthias Brugger
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2021-02-09 20:41 UTC (permalink / raw)
  To: Yz.Wu
  Cc: linux-kernel, linux-mediatek, Seiya Wang, devicetree,
	Rob Herring, linux-arm-kernel, Matthias Brugger, Andrew-CT Chen,
	Srinivas Kandagatla

On Mon, 01 Feb 2021 11:59:45 +0800, Yz.Wu@mediatek.com wrote:
> From: Ryan Wu <Yz.Wu@mediatek.com>
> 
> This updates dt-binding documentation for MediaTek mt8192
> 
> Signed-off-by: Ryan Wu <Yz.Wu@mediatek.com>
> ---
> This patch is based on v5.10-rc7.
> ---
>  Documentation/devicetree/bindings/nvmem/mtk-efuse.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC
  2021-02-01  3:59 ` [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
@ 2021-03-30  8:40   ` Matthias Brugger
  0 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2021-03-30  8:40 UTC (permalink / raw)
  To: Yz.Wu, Srinivas Kandagatla, Rob Herring
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen



On 01/02/2021 04:59, Yz.Wu@mediatek.com wrote:
> From: Ryan Wu <Yz.Wu@mediatek.com>
> 
> Add eFuse node to read Mediatek eFuse
> 
> Signed-off-by: Ryan Wu <Yz.Wu@mediatek.com>
> ---
> 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(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index 69d45c7..4a0d941 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -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

> +		};
> +
>  		i2c3: i2c3@11cb0000 {
>  			compatible = "mediatek,mt8192-i2c";
>  			reg = <0 0x11cb0000 0 0x1000>,
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC
  2021-02-01  3:59 ` [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
  2021-02-09 20:41   ` Rob Herring
@ 2021-03-30  8:42   ` Matthias Brugger
  1 sibling, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2021-03-30  8:42 UTC (permalink / raw)
  To: Yz.Wu, Srinivas Kandagatla, Rob Herring
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen



On 01/02/2021 04:59, Yz.Wu@mediatek.com wrote:
> From: Ryan Wu <Yz.Wu@mediatek.com>
> 
> This updates dt-binding documentation for MediaTek mt8192
> 
> Signed-off-by: Ryan Wu <Yz.Wu@mediatek.com>

Applied to v5.12-next/dts64

Please resend the DTS patch with the comments I made.

> ---
> This patch is based on v5.10-rc7.
> ---
>  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 0668c45..82dafa3 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,mt8192-efuse", "mediatek,efuse": for MT8192
>  - reg: Should contain registers location and length
>  
>  = Data cells =
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-30  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01  3:59 [PATCH v4 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
2021-02-01  3:59 ` [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
2021-02-09 20:41   ` Rob Herring
2021-03-30  8:42   ` Matthias Brugger
2021-02-01  3:59 ` [PATCH v4 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
2021-03-30  8:40   ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).