[PATCH] ARM: rockchip: disable jtag/sdmmc autoswitching on rk3288

Olof Johansson olof at lixom.net
Mon Jan 12 14:08:07 PST 2015


On Sun, Jan 11, 2015 at 11:09:23PM +0100, Heiko Stübner wrote:
> rk3288 SoCs have a function to automatically switch between jtag/sdmmc pinmux
> settings depending on the card state. This collides with a lot of assumptions.
> 
> It only works when using the internal card-detect mechanism and breaks
> horribly when using either the normal card-detect via the slot-gpio function
> or via any other pin. Also there is of course no link between the mmc and jtag
> on the software-side, so the jtag clocks may very well be disabled when the
> card is ejected and the soc switches back to the jtag pinmux.
> 
> Leaving the switching function enabled did result in mmc timeouts and rcu
> stalls thus hanging the system on 3.19-rc1. Therefore disable it in all cases,
> as we expect the devicetree to explicitly select either mmc or jtag pinmuxes
> anyway.
> 
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>

Thanks, applied.


-Olof



More information about the linux-arm-kernel mailing list