[PATCH 0/2] ath6kl_sdio: add control of CHIP_PWD_L via GPIO
Julian Calaby
julian.calaby at gmail.com
Mon Nov 16 22:10:23 PST 2015
Hi Steve,
On Tue, Nov 17, 2015 at 4:32 PM, Steve deRosier <derosier at gmail.com> wrote:
> This set of two patches adds the ablity for ath6kl_sdio to control the
> CHIP_PWD_L pin on startup and for suspend/wakeup. This is importaint because
> on some platforms, this is the only way to achieve minimum power consumption.
> The CHIP_PWD_L pin is used to hold the ath chip in reset and this is the
> proper way to achieve its lowest power state (per QCA's datasheets).
>
> This GPIO is controled by the kernel standard GPIOLIB and as such depends on
> CONFIG_GPIOLIB. If this isn't enabled, then the various usages will generally
> compile out. Even if enabled, by default the GPIO is set to an invalid number,
> and each use will check: if not a valid GPIO, then behavior will be unchanged.
>
> This adds a new module parameter to allow the user to set the GPIO to use.
I want to say that this should go in DeviceTree or equivalent, however
ath6kl doesn't have DeviceTree support, so...
Thanks,
--
Julian Calaby
Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
More information about the ath6kl
mailing list