Skip to contentSkip to conversation

ARM: dts: imx6ul: imx6ul-14x14-evk.dtsi: Fix SPI NOR probing

PATCH Superseded Stefan Roese 3 participants 3 messages Nov 5, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6ul: imx6ul-14x14-evk.dtsi: Fix SPI NOR probing

Without this "jedec,spi-nor" compatible property, probing of the SPI NOR does not work on the NXP i.MX6ULL EVK. Fix this by adding this compatible property to the DT.

Cc Fabio Estevam <[email protected]>
Cc Frieder Schrempf <[email protected]>
Cc Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +1 -1
index c2a9dd57e56a..aa86341adaaa 100644
@@ -215,7 +215,7 @@
 	flash0: n25q256a@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "micron,n25q256a";
+		compatible = "micron,n25q256a", "jedec,spi-nor";
 		spi-max-frequency = <29000000>;
 		spi-rx-bus-width = <4>;
 		spi-tx-bus-width = <4>;
Signature · 7 lines
2.24.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Stefan Roese

Without this "jedec,spi-nor" compatible property, probing of the SPI NOR does not work on the NXP i.MX6ULL EVK. Fix this by adding this compatible property to the DT.

Cc Fabio Estevam <[email protected]>
Cc Frieder Schrempf <[email protected]>
Cc Shawn Guo <[email protected]>
Quoted 10 lines
---
  arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +0 -0
index c2a9dd57e56a..aa86341adaaa 100644

arch/arm/boot/dts/imx6ul-14x14-evk.dtsi line 221

Quoted 8 lines
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +1 -1
@@ -215,7 +215,7 @@
  	flash0: n25q256a@0 {
  		#address-cells = <1>;
  		#size-cells = <1>;
-		compatible = "micron,n25q256a";
+		compatible = "micron,n25q256a", "jedec,spi-nor";
  		spi-max-frequency = <29000000>;
  		spi-rx-bus-width = <4>;
  		spi-tx-bus-width = <4>;

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

reviewer Reviewed-by on v1 1/1
#2 lore raw
In reply to Stefan Roese

Hi Stefan,

Quoted 9 lines · Stefan Roese

Without this "jedec,spi-nor" compatible property, probing of the SPI NOR does not work on the NXP i.MX6ULL EVK. Fix this by adding this compatible property to the DT.

Cc Fabio Estevam <[email protected]>
Cc Frieder Schrempf <[email protected]>
Cc Shawn Guo <[email protected]>

Thanks for the fix.

Please add a Fixes tag so that it can be backported to older kernels.

Then you can also add:

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel