All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties
@ 2020-03-03  6:38 ` Kuldeep Singh
  0 siblings, 0 replies; 6+ messages in thread
From: Kuldeep Singh @ 2020-03-03  6:38 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel, Shawn Guo
  Cc: Li Yang, Rob Herring, Mark Rutland, Kuldeep Singh

Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
automatic detection of flash.

This also helps in fixing below warning:
spi-nor spi0.0: found mt35xu512aba, expected m25p80
spi-nor spi0.1: found mt35xu512aba, expected m25p80

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
index 51615de..22d0308 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
@@ -84,7 +84,7 @@
 	mt35xu512aba0: flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,m25p80";
+		compatible = "jedec,spi-nor";
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		reg = <0>;
@@ -95,7 +95,7 @@
 	mt35xu512aba1: flash@1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,m25p80";
+		compatible = "jedec,spi-nor";
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		reg = <1>;
-- 
2.7.4


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

* [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties
@ 2020-03-03  6:38 ` Kuldeep Singh
  0 siblings, 0 replies; 6+ messages in thread
From: Kuldeep Singh @ 2020-03-03  6:38 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel, Shawn Guo
  Cc: Mark Rutland, Kuldeep Singh, Rob Herring, Li Yang

Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
automatic detection of flash.

This also helps in fixing below warning:
spi-nor spi0.0: found mt35xu512aba, expected m25p80
spi-nor spi0.1: found mt35xu512aba, expected m25p80

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
index 51615de..22d0308 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
@@ -84,7 +84,7 @@
 	mt35xu512aba0: flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,m25p80";
+		compatible = "jedec,spi-nor";
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		reg = <0>;
@@ -95,7 +95,7 @@
 	mt35xu512aba1: flash@1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,m25p80";
+		compatible = "jedec,spi-nor";
 		m25p,fast-read;
 		spi-max-frequency = <50000000>;
 		reg = <1>;
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 2/2] arm64: dts: lx2160aqds: Add FSPI node properties
  2020-03-03  6:38 ` Kuldeep Singh
@ 2020-03-03  6:38   ` Kuldeep Singh
  -1 siblings, 0 replies; 6+ messages in thread
From: Kuldeep Singh @ 2020-03-03  6:38 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel, Shawn Guo
  Cc: Li Yang, Rob Herring, Mark Rutland, Kuldeep Singh

lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each
connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected
on different buses, only one flash can be probed at a time.

Add fspi node properties aligned with LX2160A-RDB fspi properties.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
index 1a5acf6..3b88e1e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
@@ -43,6 +43,21 @@
 	status = "okay";
 };
 
+&fspi {
+	status = "okay";
+
+	mt35xu512aba0: flash@0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "jedec,spi-nor";
+		m25p,fast-read;
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+		spi-rx-bus-width = <8>;
+		spi-tx-bus-width = <8>;
+	};
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.7.4


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

* [PATCH 2/2] arm64: dts: lx2160aqds: Add FSPI node properties
@ 2020-03-03  6:38   ` Kuldeep Singh
  0 siblings, 0 replies; 6+ messages in thread
From: Kuldeep Singh @ 2020-03-03  6:38 UTC (permalink / raw
  To: linux-kernel, devicetree, linux-arm-kernel, Shawn Guo
  Cc: Mark Rutland, Kuldeep Singh, Rob Herring, Li Yang

lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each
connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected
on different buses, only one flash can be probed at a time.

Add fspi node properties aligned with LX2160A-RDB fspi properties.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
index 1a5acf6..3b88e1e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
@@ -43,6 +43,21 @@
 	status = "okay";
 };
 
+&fspi {
+	status = "okay";
+
+	mt35xu512aba0: flash@0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "jedec,spi-nor";
+		m25p,fast-read;
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+		spi-rx-bus-width = <8>;
+		spi-tx-bus-width = <8>;
+	};
+};
+
 &i2c0 {
 	status = "okay";
 
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties
  2020-03-03  6:38 ` Kuldeep Singh
@ 2020-03-11  8:34   ` Shawn Guo
  -1 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-03-11  8:34 UTC (permalink / raw
  To: Kuldeep Singh
  Cc: linux-kernel, devicetree, linux-arm-kernel, Li Yang, Rob Herring,
	Mark Rutland

On Tue, Mar 03, 2020 at 12:08:31PM +0530, Kuldeep Singh wrote:
> Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
> automatic detection of flash.
> 
> This also helps in fixing below warning:
> spi-nor spi0.0: found mt35xu512aba, expected m25p80
> spi-nor spi0.1: found mt35xu512aba, expected m25p80
> 
> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>

Applied both, thanks.

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

* Re: [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties
@ 2020-03-11  8:34   ` Shawn Guo
  0 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2020-03-11  8:34 UTC (permalink / raw
  To: Kuldeep Singh
  Cc: Mark Rutland, devicetree, linux-kernel, Li Yang, Rob Herring,
	linux-arm-kernel

On Tue, Mar 03, 2020 at 12:08:31PM +0530, Kuldeep Singh wrote:
> Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
> automatic detection of flash.
> 
> This also helps in fixing below warning:
> spi-nor spi0.0: found mt35xu512aba, expected m25p80
> spi-nor spi0.1: found mt35xu512aba, expected m25p80
> 
> Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>

Applied both, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-03-11  8:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-03  6:38 [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties Kuldeep Singh
2020-03-03  6:38 ` Kuldeep Singh
2020-03-03  6:38 ` [PATCH 2/2] arm64: dts: lx2160aqds: Add " Kuldeep Singh
2020-03-03  6:38   ` Kuldeep Singh
2020-03-11  8:34 ` [PATCH 1/2] arm64: dts: lx2160ardb: Update " Shawn Guo
2020-03-11  8:34   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.