Skip to content
  • Ulf Hansson's avatar
    arm64: dts: hikey: Fix WiFi support · ea452678
    Ulf Hansson authored
    
    
    The description of the connection between the dwmmc (SDIO) controller and
    the Wifi chip, which is attached to the SDIO bus is wrong. Currently the
    SDIO card can't be detected and thus the Wifi doesn't work.
    
    Let's fix this by assigning the correct vmmc supply, which is the always on
    regulator VDD_3V3 and remove the WLAN enable regulator altogether. Then to
    properly deal with the power on/off sequence, add a mmc-pwrseq node to
    describe the resources needed to detect the SDIO card.
    
    Except for the WLAN enable GPIO and its corresponding assert/de-assert
    delays, the mmc-pwrseq node also contains a handle to a clock provided by
    the hi655x pmic. This clock is also needed to be able to turn on the WiFi
    chip.
    
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    ea452678