linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Add Mediatek Efuse Device Node for MT8192 SoC
@ 2021-04-14  7:17 Yz.Wu
  2021-04-14  7:17 ` [PATCH v5 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
  2021-04-14  7:17 ` [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Yz.Wu @ 2021-04-14  7:17 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] 4+ messages in thread

* [PATCH v5 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC
  2021-04-14  7:17 [PATCH v5 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
@ 2021-04-14  7:17 ` Yz.Wu
  2021-04-14  7:17 ` [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
  1 sibling, 0 replies; 4+ messages in thread
From: Yz.Wu @ 2021-04-14  7:17 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.12-rc2.
---
 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 ef93c3b..dbd4da8 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
 	      "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
 - reg: Should contain registers location and length
 
-- 
2.6.4


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

* [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC
  2021-04-14  7:17 [PATCH v5 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
  2021-04-14  7:17 ` [PATCH v5 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
@ 2021-04-14  7:17 ` Yz.Wu
  2021-09-03 10:06   ` Matthias Brugger
  1 sibling, 1 reply; 4+ messages in thread
From: Yz.Wu @ 2021-04-14  7:17 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 9757138..4d4e4de 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -436,6 +436,11 @@
 			status = "disable";
 		};
 
+		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] 4+ messages in thread

* Re: [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC
  2021-04-14  7:17 ` [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
@ 2021-09-03 10:06   ` Matthias Brugger
  0 siblings, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2021-09-03 10:06 UTC (permalink / raw)
  To: Yz.Wu, Srinivas Kandagatla, Rob Herring
  Cc: Seiya Wang, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Andrew-CT Chen, Tzung-Bi Shih



On 14/04/2021 09:17, 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 9757138..4d4e4de 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -436,6 +436,11 @@
>  			status = "disable";
>  		};
>  
> +		efuse: efuse@11c10000 {
> +				compatible = "mediatek,mt8192-efuse",
> +							 "mediatek,efuse";

Please fix identation.
Binding description mandates a reg property, please help to make the patch
better by adding that property.

Thanks a lot,
Matthias

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

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

end of thread, other threads:[~2021-09-03 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14  7:17 [PATCH v5 0/2] Add Mediatek Efuse Device Node for MT8192 SoC Yz.Wu
2021-04-14  7:17 ` [PATCH v5 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC Yz.Wu
2021-04-14  7:17 ` [PATCH v5 2/2] arm64: dts: mt8192: add eFuse support for MT8192 SoC Yz.Wu
2021-09-03 10:06   ` 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).