[PATCH v3 1/2] ath6kl_sdio: Add reset gpio module parameter for CHIP_PWD_L pin

Kalle Valo kvalo at qca.qualcomm.com
Tue Dec 1 05:01:08 PST 2015


Steve deRosier <derosier at gmail.com> writes:

> Many ath6k chips have a reset pin, usually labeled CHIP_PWD_L. This pin can
> be pulled low by the host processor to hold the wifi chip in reset. By
> holding the chip in reset, the lowest power consumption available can be
> achieved.
>
> This adds a module parameter so the ath6kl_sdio driver can control the
> CHIP_PWD_L pin if the implementer so desires. This code is only available
> if GPIOLIB is configured.
>
> Signed-off-by: Steve deRosier <steve.derosier at lairdtech.com>

I haven't reviewed the patch yet but at least it doesn't compile on
32bit x86:

  CC [M]  drivers/net/wireless/ath/ath6kl/sdio.o
drivers/net/wireless/ath/ath6kl/sdio.c:81:38: error: ‘ARCH_NR_GPIOS’
undeclared here (not in a function)

-- 
Kalle Valo



More information about the ath6kl mailing list