ARM: omap2: Get USB hub reset GPIO from descriptor
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 1 May 2023 09:05:22 +0000 (11:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 May 2023 13:01:57 +0000 (15:01 +0200)
commit94075d16beefc2304e756e3b23d8ecf0f36eecd7
treed7d23b9ec32d607dff77c8ecb165c65537ec5de7
parentd5f4fa60d63aa54ae33339895b88d8932b6037ed
ARM: omap2: Get USB hub reset GPIO from descriptor

This switches the USB hub GPIO reset line handling in the
OMAP2 pdata quirks over to using GPIO descriptors to avoid using
the global GPIO numberspace.

Since the GPIOs are exported and assumedly used by some kind
of userspace we cannot simply use hogs in the device tree.

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