diff options
author | Nuno Sá <nuno.sa@analog.com> | 2025-07-01 15:32:04 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-07-01 21:50:51 +0100 |
commit | 9f425bf713b511b1078e0fea5a88c497e13dbb64 (patch) | |
tree | 5e5feb8af103425c7c52b6c1381afbb8b2ccb6c2 /rust/helpers/pci.c | |
parent | 7077fb501b95360c7fe35553f2bdb1ccf34edd16 (diff) |
gpio: adp5585: add support for the adp5589 expander
Support the adp5589 I/O expander which supports up to 19 pins. We need
to add a chip_info based struct since accessing register "banks"
and "bits" differs between devices.
Also some register addresses are different.
While at it move ADP558X_GPIO_MAX defines to the main header file and
rename them. That information will be needed by the top level device in
a following change.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-9-b1fcfe9e9826@analog.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions