• H
    ARM: rockchip: disable jtag/sdmmc autoswitching on rk3288 · c9b75d51
    Heiko Stübner 提交于
    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: NHeiko Stuebner <heiko@sntech.de>
    Signed-off-by: NOlof Johansson <olof@lixom.net>
    c9b75d51
rockchip.c 2.0 KB