[1/2] ARM: dts: exynos: correct SPI nor compatible in SMDKv310

Message ID 20230208164942.387390-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series [1/2] ARM: dts: exynos: correct SPI nor compatible in SMDKv310 |

Commit Message

Krzysztof Kozlowski Feb. 8, 2023, 4:49 p.m. UTC
  SPI NOR flash compatible should come with generic jedec,spi-nor fallback
and proper vendor prefix:

  exynos4210-smdkv310.dtb: /soc/spi@13940000/flash@0: failed to match any schema with compatible: ['w25x80']

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/exynos4210-smdkv310.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Krzysztof Kozlowski Feb. 9, 2023, 11:10 a.m. UTC | #1
On Wed, 8 Feb 2023 17:49:41 +0100, Krzysztof Kozlowski wrote:
> SPI NOR flash compatible should come with generic jedec,spi-nor fallback
> and proper vendor prefix:
> 
>   exynos4210-smdkv310.dtb: /soc/spi@13940000/flash@0: failed to match any schema with compatible: ['w25x80']
> 
> 

Applied, thanks!

[1/2] ARM: dts: exynos: correct SPI nor compatible in SMDKv310
      https://git.kernel.org/krzk/linux/c/44ffd27d83042e31c4dd85c148204b7610f0dc6c
[2/2] ARM: dts: exynos: correct SPI nor compatible in SMDK5250
      https://git.kernel.org/krzk/linux/c/428218307dd2ef175314f39f141beb93163ae1ca

Best regards,
  

Patch

diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts
index a5dfd7fd49b3..181c99eca675 100644
--- a/arch/arm/boot/dts/exynos4210-smdkv310.dts
+++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts
@@ -203,7 +203,7 @@  &spi_2 {
 	flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "w25x80";
+		compatible = "winbond,w25x80", "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <1000000>;