drivers: ad559x: add i2c bus support

Rename ad5592 files in dts, driver and include to ad559x and add support
for I2C bus which is required for AD5593.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
This commit is contained in:
Jeppe Odgaard 2024-01-24 09:05:09 +01:00 committed by Maureen Helm
commit 17b1912bc3
39 changed files with 1226 additions and 936 deletions

View file

@ -268,15 +268,15 @@
};
};
test_spi_ad5592: ad5592@3 {
compatible = "adi,ad5592";
test_spi_ad559x: ad559x@3 {
compatible = "adi,ad559x";
status = "okay";
reg = <0x03>;
spi-max-frequency = <0>;
reset-gpios = <&test_gpio 0 0>;
ad5592_gpio: gpio-controller {
compatible = "adi,ad5592-gpio";
ad559x_gpio: gpio-controller {
compatible = "adi,ad559x-gpio";
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;