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:
parent
d4169c93fd
commit
74db02bad1
11 changed files with 1055 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue