Thread (4 messages) 4 messages, 3 authors, 2020-09-21

Re: [PATCH] arm64: dts: mt8173: elm: Fix nor_flash node property

From: Matthias Brugger <matthias.bgg@gmail.com>
Date: 2020-09-21 10:06:00
Also in: linux-devicetree, linux-mediatek, lkml


On 27/07/2020 09:41, Hsin-Yi Wang wrote:
bus-width and non-removable is not used by the driver.
max-frequency should be spi-max-frequency for flash node.

Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board")
Reported-by: Nicolas Boichat <redacted>
Signed-off-by: Hsin-Yi Wang <redacted>
Applied to v5.9-next/dts64

Thanks!
quoted hunk ↗ jump to hunk
---
  arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index a5a12b2599a4..01522dd10603 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -431,12 +431,11 @@ &nor_flash {
  	status = "okay";
  	pinctrl-names = "default";
  	pinctrl-0 = <&nor_gpio1_pins>;
-	bus-width = <8>;
-	max-frequency = <50000000>;
-	non-removable;
+
  	flash@0 {
  		compatible = "jedec,spi-nor";
  		reg = <0>;
+		spi-max-frequency = <50000000>;
  	};
  };
  
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help