Skip to contentSkip to conversation

ARM: shmobile: dts: Add "nor-jedec" compatible value

PATCH New Geert Uytterhoeven 2 participants 7 messages Apr 28, 2015 – Apr 30, 2015

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

cover ARM: shmobile: dts: Add "nor-jedec" compatible value

Hi Simon, Magnus,

This patch series adds the "nor-jedec" compatible value to all device nodes for JEDEC-compliant SPI FLASHes on Renesas shmobile boards, It allows the driver to bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80: add "nor-jedec" binding").

This was tested on r8a7791/koelsch. I verified that it also works with "nor-jedec" only, without the specific compatible value.

Thanks for applying!

Geert Uytterhoeven (5):
ARM: shmobile: koelsch dts: Add "nor-jedec" compatible value
ARM: shmobile: lager dts: Add "nor-jedec" compatible value
ARM: shmobile: henninger dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value
ARM: shmobile: bockw dts: Add "nor-jedec" compatible value

 arch/arm/boot/dts/r8a7778-bockw-reference.dts | 2 +-
 arch/arm/boot/dts/r8a7778-bockw.dts           | 2 +-
 arch/arm/boot/dts/r8a7790-lager.dts           | 2 +-
 arch/arm/boot/dts/r8a7791-henninger.dts       | 2 +-
 arch/arm/boot/dts/r8a7791-koelsch.dts         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
Signature · 12 lines
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
#1 lore raw

PATCH 1/5 ARM: shmobile: koelsch dts: Add "nor-jedec" compatible value

Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").

---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-koelsch.dts +1 -1
index 74c3212f1f11e47e..70e9d5e9afddc546 100644
@@ -474,7 +474,7 @@
 	flash: flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,s25fl512s";
+		compatible = "spansion,s25fl512s", "nor-jedec";
 		reg = <0>;
 		spi-max-frequency = <30000000>;
 		spi-tx-bus-width = <4>;
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/5 ARM: shmobile: lager dts: Add "nor-jedec" compatible value

In reply to Geert Uytterhoeven

Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").

---
 arch/arm/boot/dts/r8a7790-lager.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7790-lager.dts +1 -1
index aaa4f258e279ccfa..a6c793de8d809bd4 100644
@@ -429,7 +429,7 @@
 	flash: flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,s25fl512s";
+		compatible = "spansion,s25fl512s", "nor-jedec";
 		reg = <0>;
 		spi-max-frequency = <30000000>;
 		spi-tx-bus-width = <4>;
Signature · 1 line
1.9.1
#3 lore raw

PATCH 3/5 ARM: shmobile: henninger dts: Add "nor-jedec" compatible value

In reply to Geert Uytterhoeven

Spansion s25fl512s is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").

---
 arch/arm/boot/dts/r8a7791-henninger.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7791-henninger.dts +1 -1
index e33e4047b0b0c920..bb80122b4113bd8a 100644
@@ -226,7 +226,7 @@
 	flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,s25fl512s";
+		compatible = "spansion,s25fl512s", "nor-jedec";
 		reg = <0>;
 		spi-max-frequency = <30000000>;
 		spi-tx-bus-width = <4>;
Signature · 1 line
1.9.1
#4 lore raw

PATCH 4/5 ARM: shmobile: bockw-reference dts: Add "nor-jedec" compatible value

In reply to Geert Uytterhoeven

Spansion s25fl008k is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").

---
 arch/arm/boot/dts/r8a7778-bockw-reference.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw-reference.dts +1 -1
index 04c0c37bb7843997..f9422d887b4441c3 100644
@@ -119,7 +119,7 @@
 	flash: flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,s25fl008k";
+		compatible = "spansion,s25fl008k", "nor-jedec";
 		reg = <0>;
 		spi-max-frequency = <104000000>;
 		m25p,fast-read;
Signature · 1 line
1.9.1
#5 lore raw

PATCH 5/5 ARM: shmobile: bockw dts: Add "nor-jedec" compatible value

In reply to Geert Uytterhoeven

Spansion s25fl008k is compatible with "nor-jedec". Hence add the "nor-jedec" compatible value, so the driver can bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80:
add "nor-jedec" binding").

---
 arch/arm/boot/dts/r8a7778-bockw.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/r8a7778-bockw.dts +1 -1
index 787fa6f9f46ddf4d..7ebc4a4f4608f0af 100644
@@ -186,7 +186,7 @@
 	flash: flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spansion,s25fl008k";
+		compatible = "spansion,s25fl008k", "nor-jedec";
 		reg = <0>;
 		spi-max-frequency = <104000000>;
 		m25p,fast-read;
Signature · 1 line
1.9.1
#6 lore raw

cover ARM: shmobile: dts: Add "nor-jedec" compatible value

In reply to Geert Uytterhoeven
Quoted 8 lines · Geert Uytterhoeven

Hi Simon, Magnus,

This patch series adds the "nor-jedec" compatible value to all device nodes for JEDEC-compliant SPI FLASHes on Renesas shmobile boards, It allows the driver to bind against the generic name, cfr. commit 8ff16cf77ce314c2 ("Documentation: devicetree: m25p80: add "nor-jedec" binding").

Quoted 4 lines

This was tested on r8a7791/koelsch. I verified that it also works with "nor-jedec" only, without the specific compatible value.

Thanks for applying!

Thanks, I have queued these up for v4.2.