drivers: gpio: axp192: Add support to control EXTEN pin

AXP192 features an EXTEN pin that is on output only.

This commit appends control of EXTEN pin to gpio functionality
of AXP192.
Port-Mapping is as follows:
- [0..4]: GPIO0..4
- [5]: EXTEN

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
This commit is contained in:
Martin Kiepfer 2024-01-07 16:34:52 +01:00 committed by Fabio Baltieri
commit 2a83c58023
5 changed files with 102 additions and 37 deletions

View file

@ -199,7 +199,7 @@
compatible = "x-powers,axp192-gpio";
gpio-controller;
#gpio-cells = <2>;
ngpios = <5>;
ngpios = <6>;
};
};
};