[PATCH] gpio: pca953x: add bus option to select the i2c bus.
Simon Glass
sjg at chromium.org
Sat Dec 12 16:39:41 CET 2020
Hi Joseph,
On Tue, 8 Dec 2020 at 00:32, Joseph Liu <maxdog988 at gmail.com> wrote:
>
> From: Joseph Liu <kwliu at nuvoton.com>
>
> If DM_I2C is used, the command "i2c dev" will not reassign
> gd->cur_i2c_bus.
>
> Add this bus option to change the active I2C bus.
>
> Signed-off-by: Joseph Liu <kwliu at nuvoton.com>
> ---
> drivers/gpio/pca953x.c | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
>
This driver should be converted to driver model.
Regards,
Simon
More information about the U-Boot
mailing list