drivers: gpio: split up driver for TLE9104 into a MFD

Split up the driver for the power train switch TLE9104 into a
MFD and GPIO.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2024-02-15 11:41:33 +01:00 committed by Carles Cufí
commit 84a40778af
12 changed files with 819 additions and 446 deletions

View file

@ -299,13 +299,19 @@
test_spi_tle9104: tle9104@4 {
compatible = "infineon,tle9104";
status = "okay";
spi-max-frequency = <0>;
reg = <0x04>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <4>;
resn-gpios = <&test_gpio 0 0>;
en-gpios = <&test_gpio 0 0>;
tle9104_gpio: tle9104_gpio {
compatible = "infineon,tle9104-gpio";
status = "okay";
gpio-controller;
#gpio-cells = <2>;
ngpios = <4>;
};
};
};
};