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:
parent
46cb2ad7c0
commit
84a40778af
12 changed files with 819 additions and 446 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,4 +4,7 @@ CONFIG_TEST_USERSPACE=y
|
|||
CONFIG_I2C=y
|
||||
CONFIG_GPIO_PCA95XX_INTERRUPT=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MFD=y
|
||||
CONFIG_MFD_INIT_PRIORITY=80
|
||||
CONFIG_GPIO_TLE9104_INIT_PRIORITY=81
|
||||
CONFIG_GPIO_BD8LB600FS_INIT_PRIORITY=81
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue