linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver
@ 2020-08-21 21:21 Chris Healy
  2020-08-21 21:21 ` [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP Chris Healy
  2020-08-23  3:12 ` [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Healy @ 2020-08-21 21:21 UTC (permalink / raw)
  To: srinivas.kandagatla, robh+dt, shawnguo, andrew.smirnov,
	devicetree, linux-kernel, s.hauer, kernel, stefan,
	linux-arm-kernel, stable, festevam
  Cc: Chris Healy

From: Chris Healy <cphealy@gmail.com>

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")
Cc: stable@vger.kernel.org
Signed-off-by: Chris Healy <cphealy@gmail.com>
---
 Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
index 56ed481c3e26..5db39f399568 100644
--- a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
+++ b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
@@ -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>;
-- 
2.26.2


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

* [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP
  2020-08-21 21:21 [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Chris Healy
@ 2020-08-21 21:21 ` Chris Healy
  2020-08-23  3:13   ` Shawn Guo
  2020-08-23  3:12 ` [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Shawn Guo
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Healy @ 2020-08-21 21:21 UTC (permalink / raw)
  To: srinivas.kandagatla, robh+dt, shawnguo, andrew.smirnov,
	devicetree, linux-kernel, s.hauer, kernel, stefan,
	linux-arm-kernel, stable, festevam
  Cc: Chris Healy

From: Chris Healy <cphealy@gmail.com>

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

Fixes: fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")
Cc: stable@vger.kernel.org
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Chris Healy <cphealy@gmail.com>
---
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(-)

diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 0fe03aa0367f..2259d11af721 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -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>;
 			};
-- 
2.26.2


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

* Re: [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver
  2020-08-21 21:21 [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Chris Healy
  2020-08-21 21:21 ` [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP Chris Healy
@ 2020-08-23  3:12 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-08-23  3:12 UTC (permalink / raw)
  To: Chris Healy
  Cc: srinivas.kandagatla, robh+dt, andrew.smirnov, devicetree,
	linux-kernel, s.hauer, kernel, stefan, linux-arm-kernel, stable,
	festevam

On Fri, Aug 21, 2020 at 02:21:01PM -0700, Chris Healy wrote:
> From: Chris Healy <cphealy@gmail.com>
> 
> 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.

> Cc: stable@vger.kernel.org
> Signed-off-by: Chris Healy <cphealy@gmail.com>
> ---
>  Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> index 56ed481c3e26..5db39f399568 100644
> --- a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> +++ b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
> @@ -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

>  		#address-cells = <1>;
>  		#size-cells = <1>;
>  		reg = <0x400a5000 0xCF0>;
> -- 
> 2.26.2
> 

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

* Re: [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP
  2020-08-21 21:21 ` [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP Chris Healy
@ 2020-08-23  3:13   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-08-23  3:13 UTC (permalink / raw)
  To: Chris Healy
  Cc: srinivas.kandagatla, robh+dt, andrew.smirnov, devicetree,
	linux-kernel, s.hauer, kernel, stefan, linux-arm-kernel, stable,
	festevam

On Fri, Aug 21, 2020 at 02:21:02PM -0700, Chris Healy wrote:
> From: Chris Healy <cphealy@gmail.com>
> 
> Add syscon compatibility with Vybrid OCOTP node. This is required to
> access the UID.
> 
> Fixes: fa8d20c8dbb77 ("ARM: dts: vfxxx: Add node corresponding to OCOTP")
> Cc: stable@vger.kernel.org
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> Reviewed-by: Stefan Agner <stefan@agner.ch>
> Signed-off-by: Chris Healy <cphealy@gmail.com>

Applied, thanks.

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

end of thread, other threads:[~2020-08-23  3:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21 21:21 [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Chris Healy
2020-08-21 21:21 ` [PATCH v3 2/2] ARM: dts: vfxxx: Add syscon compatible with OCOTP Chris Healy
2020-08-23  3:13   ` Shawn Guo
2020-08-23  3:12 ` [PATCH v3 1/2] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver Shawn Guo

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).