Skip to contentSkip to conversation

ARM: dts: imx: add "nor-jedec" flash compatible binding

PATCH New Rafał Miłecki 2 participants 4 messages May 8, 2015 – May 14, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx: add "nor-jedec" flash compatible binding

Starting with commits
8ff16cf ("Documentation: devicetree: m25p80: add "nor-jedec" binding") 1103b85 ("mtd: m25p80: bind to "nor-jedec" ID, for auto-detection") we have "nor-jedec" binding indicating support for JEDEC identification.

---
 arch/arm/boot/dts/imx28-evk.dts              | 2 +-
 arch/arm/boot/dts/imx28-m28evk.dts           | 2 +-
 arch/arm/boot/dts/imx28-sps1.dts             | 2 +-
 arch/arm/boot/dts/imx50-evk.dts              | 2 +-
 arch/arm/boot/dts/imx53-smd.dts              | 2 +-
 arch/arm/boot/dts/imx6dl-rex-basic.dts       | 2 +-
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts      | 2 +-
 arch/arm/boot/dts/imx6q-gw5400-a.dts         | 2 +-
 arch/arm/boot/dts/imx6q-rex-pro.dts          | 2 +-
 arch/arm/boot/dts/imx6qdl-aristainetos.dtsi  | 2 +-
 arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi | 2 +-
 arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi    | 2 +-
 arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +-
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi     | 2 +-
 arch/arm/boot/dts/imx6qdl-sabrelite.dtsi     | 2 +-
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi       | 2 +-
 arch/arm/boot/dts/imx6sl-evk.dts             | 2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)
arch/arm/boot/dts/imx28-evk.dts +1 -1
index 279249b..5fa7c16 100644
@@ -57,7 +57,7 @@
 				flash: m25p80 at 0 {
 					#address-cells = <1>;
 					#size-cells = <1>;
-					compatible = "sst,sst25vf016b";
+					compatible = "sst,sst25vf016b", "nor-jedec";
 					spi-max-frequency = <40000000>;
 					reg = <0>;
 				};
arch/arm/boot/dts/imx28-m28evk.dts +1 -1
index e35cc6b..c7c05d5 100644
@@ -41,7 +41,7 @@
 				flash: m25p80 at 0 {
 					#address-cells = <1>;
 					#size-cells = <1>;
-					compatible = "m25p80";
+					compatible = "m25p80", "nor-jedec";
 					spi-max-frequency = <40000000>;
 					reg = <0>;
 				};
arch/arm/boot/dts/imx28-sps1.dts +1 -1
index 0ce3cb8..57c8cf7 100644
@@ -59,7 +59,7 @@
 				flash: m25p80 at 0 {
 					#address-cells = <1>;
 					#size-cells = <1>;
-					compatible = "everspin,mr25h256", "mr25h256";
+					compatible = "everspin,mr25h256", "mr25h256", "nor-jedec";
 					spi-max-frequency = <40000000>;
 					reg = <0>;
 				};
arch/arm/boot/dts/imx50-evk.dts +1 -1
index 1b22512..0ce50f4 100644
@@ -33,7 +33,7 @@
 	flash: m25p32 at 1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "m25p32", "m25p80";
+		compatible = "m25p32", "nor-jedec";
 		spi-max-frequency = <25000000>;
 		reg = <1>;
 
arch/arm/boot/dts/imx53-smd.dts +1 -1
index 1d32557..6c32d4d 100644
@@ -76,7 +76,7 @@
 	flash: m25p32 at 1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "st,m25p32", "st,m25p";
+		compatible = "st,m25p32", "st,m25p", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <1>;
 
arch/arm/boot/dts/imx6dl-rex-basic.dts +1 -1
index b13845c..9dbfcc9 100644
@@ -23,7 +23,7 @@
 
 &ecspi3 {
 	flash: m25p80 at 0 {
-		compatible = "sst,sst25vf016b";
+		compatible = "sst,sst25vf016b", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +1 -1
index 4fa2543..b58ed2a 100644
@@ -109,7 +109,7 @@
 	status = "okay";
 
 	flash: m25p80 at 0 {
-		compatible = "m25p80";
+		compatible = "m25p80", "nor-jedec";
 		spi-max-frequency = <40000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6q-gw5400-a.dts +1 -1
index 822ffb2..83b919c 100644
@@ -145,7 +145,7 @@
 	status = "okay";
 
 	flash: m25p80 at 0 {
-		compatible = "sst,w25q256";
+		compatible = "sst,w25q256", "nor-jedec";
 		spi-max-frequency = <30000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6q-rex-pro.dts +1 -1
index 3c2852b..66e7a3a 100644
@@ -23,7 +23,7 @@
 
 &ecspi3 {
 	flash: m25p80 at 0 {
-		compatible = "sst,sst25vf032b";
+		compatible = "sst,sst25vf032b", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-aristainetos.dtsi +1 -1
index e6d9195..6dc59d0 100644
@@ -109,7 +109,7 @@
 	flash: m25p80 at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "micron,n25q128a11";
+		compatible = "micron,n25q128a11", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi +1 -1
index 2c253d6..a0952ca 100644
@@ -36,7 +36,7 @@
 	flash: m25p80 at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "sst,sst25vf040b", "m25p80";
+		compatible = "sst,sst25vf040b", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +1 -1
index 0821812..fd096dc 100644
@@ -146,7 +146,7 @@
 	status = "okay";
 
 	flash: m25p80 at 0 {
-		compatible = "sst,sst25vf016b";
+		compatible = "sst,sst25vf016b", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1 -1
index 19cc269..f3bdf03 100644
@@ -78,7 +78,7 @@
 	cs-gpios = <&gpio4 24 0>;
 
 	flash at 0 {
-		compatible = "m25p80";
+		compatible = "m25p80", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +1 -1
index 009abd6..8bbcce2 100644
@@ -55,7 +55,7 @@
 	flash: m25p80 at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "st,m25p32";
+		compatible = "st,m25p32", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-sabrelite.dtsi +1 -1
index 0b28a9d..483856e2 100644
@@ -145,7 +145,7 @@
 	status = "okay";
 
 	flash: m25p80 at 0 {
-		compatible = "sst,sst25vf016b";
+		compatible = "sst,sst25vf016b", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -1
index a626e6d..0c13b01 100644
@@ -151,7 +151,7 @@
 	flash: m25p80 at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "st,m25p32";
+		compatible = "st,m25p32", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
arch/arm/boot/dts/imx6sl-evk.dts +1 -1
index 945887d..3cc5d4a 100644
@@ -126,7 +126,7 @@
 	flash: m25p80 at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "st,m25p32";
+		compatible = "st,m25p32", "nor-jedec";
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 	};
Signature · 1 line
1.8.4.5
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx: add "nor-jedec" flash compatible binding

Quoted 6 lines · Rafa? Mi?ecki

Starting with commits
8ff16cf ("Documentation: devicetree: m25p80: add "nor-jedec" binding") 1103b85 ("mtd: m25p80: bind to "nor-jedec" ID, for auto-detection") we have "nor-jedec" binding indicating support for JEDEC identification.

Applied, thanks.

#2 lore raw

PATCH 1/1 ARM: dts: imx: add "nor-jedec" flash compatible binding

Quoted 9 lines · Shawn Guo
Quoted 6 lines · Rafa? Mi?ecki

Starting with commits
8ff16cf ("Documentation: devicetree: m25p80: add "nor-jedec" binding") 1103b85 ("mtd: m25p80: bind to "nor-jedec" ID, for auto-detection") we have "nor-jedec" binding indicating support for JEDEC identification.

Applied, thanks.

Thanks, unfortunately after some discussion started by tegra patch, it may happen we will rename it to jedec,spi-nor :( If that happens, I'll care to provide another patch. Sorry for the problem.

Signature · 1 line
Rafa?
#3 lore raw

PATCH 1/1 ARM: dts: imx: add "nor-jedec" flash compatible binding

Quoted 7 lines · Rafa? Mi?ecki
Quoted 6 lines · Shawn Guo
Quoted 5 lines · Rafa? Mi?ecki

Starting with commits
8ff16cf ("Documentation: devicetree: m25p80: add "nor-jedec" binding") 1103b85 ("mtd: m25p80: bind to "nor-jedec" ID, for auto-detection") we have "nor-jedec" binding indicating support for JEDEC identification.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Applied, thanks.

Thanks, unfortunately after some discussion started by tegra patch, it may happen we will rename it to jedec,spi-nor :( If that happens, I'll care to provide another patch. Sorry for the problem.

Patch dropped.