[PATCH 8/8] arm64: dts: hikey: Fix WiFi support

John Stultz john.stultz at linaro.org
Wed May 31 11:14:22 PDT 2017


On Mon, May 8, 2017 at 9:21 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
> 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: Ulf Hansson <ulf.hansson at linaro.org>


Ulf,
  So oddly, this patch seems to have broken wifi on HiKey when it
landed in 4.12-rc3. I checked my config and CONFIG_PWRSEQ_SIMPLE is
enabled.

Reverting this patch seems to get things working again for me.

thanks
-john



More information about the linux-arm-kernel mailing list