All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: Set D-Link DNS-313 SATA to muxmode 0
@ 2018-02-25 13:08 Linus Walleij
  2018-02-26 20:42 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2018-02-25 13:08 UTC (permalink / raw)
  To: linux-arm-kernel

This stops the driver from trying to probe the ATA slave
interface. The vendor code enables the slave interface
but the driver in the vendor tree does not make use of
it.

Setting it to muxmode 0 disables the slave interface:
the hardware only has the master interface connected
to the one harddrive slot anyways.

Without this change booting takes excessive time, so it
is very annoying to end users.

Fixes: dd5c0561db75 ("ARM: dts: Add basic devicetree for D-Link DNS-313")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please apply this for fixes for v4.16.
---
 arch/arm/boot/dts/gemini-dlink-dns-313.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/gemini-dlink-dns-313.dts b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
index 08568ce24d06..da8bb9d60f99 100644
--- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts
+++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
@@ -269,7 +269,7 @@
 
 		sata: sata at 46000000 {
 			/* The ROM uses this muxmode */
-			cortina,gemini-ata-muxmode = <3>;
+			cortina,gemini-ata-muxmode = <0>;
 			cortina,gemini-enable-sata-bridge;
 			status = "okay";
 		};
-- 
2.14.3

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

* [PATCH] ARM: dts: Set D-Link DNS-313 SATA to muxmode 0
  2018-02-25 13:08 [PATCH] ARM: dts: Set D-Link DNS-313 SATA to muxmode 0 Linus Walleij
@ 2018-02-26 20:42 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2018-02-26 20:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Feb 25, 2018 at 2:08 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> This stops the driver from trying to probe the ATA slave
> interface. The vendor code enables the slave interface
> but the driver in the vendor tree does not make use of
> it.
>
> Setting it to muxmode 0 disables the slave interface:
> the hardware only has the master interface connected
> to the one harddrive slot anyways.
>
> Without this change booting takes excessive time, so it
> is very annoying to end users.
>
> Fixes: dd5c0561db75 ("ARM: dts: Add basic devicetree for D-Link DNS-313")
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this for fixes for v4.16.

Applied, thanks!

      Arnd

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

end of thread, other threads:[~2018-02-26 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-25 13:08 [PATCH] ARM: dts: Set D-Link DNS-313 SATA to muxmode 0 Linus Walleij
2018-02-26 20:42 ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.