Skip to contentSkip to conversation

dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver

PATCH Applied Chris Healy 2 participants 4 messages Aug 21, 2020 – Aug 23, 2020

Subsystems (3)

v3 of 4 Applied Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/2 dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver

From: Chris Healy <[email protected]>

Add syscon compatibility with Vybrid OCOTP driver binding. This is required to access the UID.

Fixes fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")
---
 Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt +1 -1
index 56ed481c3e26..5db39f399568 100644
@@ -11,7 +11,7 @@ Required Properties:
 Example for Vybrid VF5xx/VF6xx:
 
 	ocotp: ocotp@400a5000 {
-		compatible = "fsl,vf610-ocotp";
+		compatible = "fsl,vf610-ocotp", "syscon";
 		#address-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x400a5000 0xCF0>;
Signature · 1 line
2.26.2
#1 lore raw

PATCH v3 2/2 ARM: dts: vfxxx: Add syscon compatible with OCOTP

From: Chris Healy <[email protected]>

Add syscon compatibility with Vybrid OCOTP node. This is required to access the UID.

Fixes fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")

---
Changes in v2:
- Add Fixes line to commit message
Changes in v3:
- Add Reviewed-by tags

---
 arch/arm/boot/dts/vfxxx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/vfxxx.dtsi +1 -1
index 0fe03aa0367f..2259d11af721 100644
@@ -495,7 +495,7 @@ edma1: dma-controller@40098000 {
 			};
 
 			ocotp: ocotp@400a5000 {
-				compatible = "fsl,vf610-ocotp";
+				compatible = "fsl,vf610-ocotp", "syscon";
 				reg = <0x400a5000 0x1000>;
 				clocks = <&clks VF610_CLK_OCOTP>;
 			};
Signature · 1 line
2.26.2
Applied
#2 lore raw

Re: [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP

Quoted 10 lines · Chris Healy

From: Chris Healy <[email protected]>

Add syscon compatibility with Vybrid OCOTP node. This is required to access the UID.

Fixes fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")

Applied, thanks.

#3 lore raw
In reply to Chris Healy
Quoted 6 lines · Chris Healy

From: Chris Healy <[email protected]>

Add syscon compatibility with Vybrid OCOTP driver binding. This is required to access the UID.

Fixes fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")

The bindings doc was not added by this commit though.

Quoted 11 lines
---
 Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt +0 -0
index 56ed481c3e26..5db39f399568 100644

Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt Required Properties: · line 14

Quoted 5 lines
Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt +1 -1
@@ -11,7 +11,7 @@ Required Properties:
 Example for Vybrid VF5xx/VF6xx:
 
 	ocotp: ocotp@400a5000 {
-		compatible = "fsl,vf610-ocotp";
+		compatible = "fsl,vf610-ocotp", "syscon";

It's not only about fixing example. More important one is "compatible" property of the bindings.

Shawn

Quoted 6 lines
Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt +0 -0
 		#address-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x400a5000 0xCF0>;
Signature · 1 line
2.26.2