pinctrl: axp209: Add support for GPIO3 on the AXP209
authorJonathan McDowell <noodles@earth.li>
Tue, 16 May 2023 17:47:29 +0000 (18:47 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 09:50:41 +0000 (11:50 +0200)
commit44825e5ead0f3e8dda4bbc1c20175c42942659ab
tree0a878aee237a77491dc02f0cca7aebd1604fa36d
parent0f9367525ad32eef888400106312709053798a53
pinctrl: axp209: Add support for GPIO3 on the AXP209

The AXP209 device has a 4th GPIO which has a slightly different register
setup, where the control + status bits are held in a single register
rather than sharing AXP20X_GPIO20_SS with GPIOs 0-2.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/dde40307f0ebc23b9841c32e702b481ab5193dc4.1684258957.git.noodles@earth.li
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-axp209.c