Skip to content
  • Kishon Vijay Abraham I's avatar
    ARM: dts: am57xx-idk: Select pull down for mmc1_clk line in default mode · 18aa0f4b
    Kishon Vijay Abraham I authored
    
    
    During a short period when the bus voltage is switched from 3.3v to 1.8v,
    (to enumerate UHS mode), the mmc module is disabled and the mmc IO lines
    are kept in a state according to the programmed pad mux pull type.
    
    According to 4.2.4.2 Timing to Switch Signal Voltage in "SD Specifications
    Part 1 Physical Layer Specification Version 5.00 February 22, 2016", the
    host should hold CLK low for at least 5ms.
    
    In order to keep the card line low during voltage switch, the pad mux of
    mmc1_clk line should be configured to pull down.
    
    This is specific to am57xx-idk (and not all dra72/dra74 based boards)
    since mmc1_clk line in am57xx-idk is not connected to an external
    pullup.
    
    While at that change the order of header files in am571x-idk.dts and
    am572x-idk.dts so that the modified pinctrl values in am57xx-idk-common
    could take effect.
    
    Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    18aa0f4b