]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: hikey: Fix WiFi support
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 3 May 2017 14:11:33 +0000 (16:11 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 23 May 2017 12:18:10 +0000 (14:18 +0200)
commit7209ada4b4b518cfdcf8de37eedc003ca34eac34
tree6ceb4a177257a8bb71500a7ec7f9365a89705a4e
parentf4affda50576b1a3a713d0e64e55df61cb602399
arm64: dts: hikey: Fix WiFi support

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@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts