diff options
author | Alice Guo <alice.guo@nxp.com> | 2022-06-02 18:30:34 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2022-07-06 22:40:40 +0800 |
commit | cd80e13c4cab6fa3ef105cda547efa3255adfcd1 (patch) | |
tree | 20942451fa6dd17fdb16d9450f248556562aaf85 /drivers/gpio/Kconfig | |
parent | 095bf99c7917efb1762f3b9298bb0b70e37eb4bb (diff) |
MLK-25902-1 gpio: adp5585: update adp5585 gpio driver
The adp5585 used on i.MX93 has 10 GPIOs, so we update ADP5585_MAXGPIO,
ADP5585_BANK and ADP5585_BIT.
GPIO_x_DIR equals to 0 for input and 1 for output. Make corresponding
changes in adp5585_get_function.
Initialize plat->dat_out and plat->dir in adp5585_probe.
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 4f2692b267..8ff3070c4e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -249,6 +249,7 @@ config MXS_GPIO config ADP5585_GPIO bool "ADP5585 GPIO driver" + depends on DM_GPIO && DM_I2C help Support ADP5585 GPIO expander on i.MX93 platform |