]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 1 May 2023 09:05:23 +0000 (11:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 May 2023 13:01:58 +0000 (15:01 +0200)
commit078dc5194c0ac1b8e2fc088be2168a1104e16f72
tree914ab14396acb2363ccf7c21d4e45efa44c54196
parent94075d16beefc2304e756e3b23d8ecf0f36eecd7
ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors

The OMAP2 platform data quirk is using the global GPIO numberspace
to obtain two WLAN GPIOs to drive power and xcvr reset GPIO
lines during start-up.

Rewrite the quirk to use a GPIO descriptor table so we avoid using
global GPIO numbers.

This gets rid of the final dependency on the legacy <linux/gpio.h>
header from the OMAP2/3 platforms.

Fixes: 92bf78b33b0b ("gpio: omap: use dynamic allocation of base")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-omap2/pdata-quirks.c