linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: colibri: use valid range configuration for weim
@ 2019-01-21 15:53 Stefan Agner
  2019-01-22  6:01 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Agner @ 2019-01-21 15:53 UTC (permalink / raw)
  To: shawnguo, s.hauer
  Cc: max.krummenacher, marcel.ziswiler, dev, linux-arm-kernel,
	linux-kernel, Stefan Agner

A valid WEIM range configuration must specify range entries for
all four chip selects. This fixes an error on boot:
  imx-weim: probe of 21b8000.weim failed with error -22

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
index f7bcc1181c4a..5ee2ddedd038 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
@@ -238,10 +238,11 @@
 &weim {
 	status = "okay";
 
-	/* weim memory map: 32MB on CS0, 32MB on CS1, 32MB on CS2 */
+	/* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */
 	ranges = <0 0 0x08000000 0x02000000
 		  1 0 0x0a000000 0x02000000
-		  2 0 0x0c000000 0x02000000>;
+		  2 0 0x0c000000 0x02000000
+		  3 0 0x0e000000 0x02000000>;
 
 	/* SRAM on Colibri nEXT_CS0 */
 	sram@0,0 {
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: colibri: use valid range configuration for weim
  2019-01-21 15:53 [PATCH] ARM: dts: colibri: use valid range configuration for weim Stefan Agner
@ 2019-01-22  6:01 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-01-22  6:01 UTC (permalink / raw)
  To: Stefan Agner
  Cc: s.hauer, max.krummenacher, marcel.ziswiler, dev,
	linux-arm-kernel, linux-kernel

On Mon, Jan 21, 2019 at 04:53:27PM +0100, Stefan Agner wrote:
> A valid WEIM range configuration must specify range entries for
> all four chip selects. This fixes an error on boot:
>   imx-weim: probe of 21b8000.weim failed with error -22
> 
> Signed-off-by: Stefan Agner <stefan@agner.ch>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-22  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-21 15:53 [PATCH] ARM: dts: colibri: use valid range configuration for weim Stefan Agner
2019-01-22  6:01 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).