[PATCH v3 05/12] pinctrl: axp209: add support for AXP813 GPIOs
From: robh@kernel.org (Rob Herring)
Date: 2017-10-10 18:34:02
Also in:
linux-devicetree, linux-gpio, lkml
From: robh@kernel.org (Rob Herring)
Date: 2017-10-10 18:34:02
Also in:
linux-devicetree, linux-gpio, lkml
On Mon, Oct 02, 2017 at 02:08:47PM +0200, Quentin Schulz wrote:
The AXP813 has only two GPIOs. GPIO0 can either be used as a GPIO, an LDO regulator or an ADC. GPIO1 can be used either as a GPIO or an LDO regulator. Moreover, the status bit of the GPIOs when in input mode is not offset by 4 unlike the AXP209. Signed-off-by: Quentin Schulz <redacted> --- .../devicetree/bindings/pinctrl/pinctrl-axp209.txt | 13 ++++++++-
Acked-by: Rob Herring <robh@kernel.org>
drivers/pinctrl/pinctrl-axp209.c | 32 ++++++++++++++++------ 2 files changed, 36 insertions(+), 9 deletions(-)