drivers: gpio: AXP192 GPIO driver

AXP192 is a small power management IC, that also
features 5 GPIOS.
Besides GPIO driver this commit also includes needed modifications
in axp192 regulator and mfd driver as LDOIO0 functioanlity
is multiplexed with GPIO0 pin.

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
This commit is contained in:
Martin Kiepfer 2023-07-19 21:53:55 +02:00 committed by Carles Cufí
commit 74db02bad1
11 changed files with 1055 additions and 6 deletions

View file

@ -172,6 +172,18 @@
int-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_axp192: axp192@24 {
compatible = "x-powers,axp192";
reg = <0x24>;
axp192_gpio {
compatible = "x-powers,axp192-gpio";
gpio-controller;
#gpio-cells = <2>;
ngpios = <5>;
};
};
};
nct3807_alert_1 {