Re: [PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-14 Thread Chris Packham
On Tue, Dec 15, 2020 at 4:49 AM Simon Glass wrote: > > Hi Chris, > > On Sat, 12 Dec 2020 at 11:51, Chris Packham wrote: > > > > > > > > On Sun, 13 Dec 2020, 4:44 AM Simon Glass, wrote: > >> > >> Hi Joseph, > >> > >> On Tue, 8 Dec 2020 at 00:32, Joseph Liu wrote: > >> > > >> > From: Joseph Liu

Re: [PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-14 Thread Simon Glass
Hi Chris, On Sat, 12 Dec 2020 at 11:51, Chris Packham wrote: > > > > On Sun, 13 Dec 2020, 4:44 AM Simon Glass, wrote: >> >> Hi Joseph, >> >> On Tue, 8 Dec 2020 at 00:32, Joseph Liu wrote: >> > >> > From: Joseph Liu >> > >> > If DM_I2C is used, the command "i2c dev" will not reassign >> > gd->c

Re: [PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-12 Thread Chris Packham
On Sun, 13 Dec 2020, 4:44 AM Simon Glass, wrote: > Hi Joseph, > > On Tue, 8 Dec 2020 at 00:32, Joseph Liu wrote: > > > > From: Joseph Liu > > > > 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. > > > > Sig

Re: [PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-12 Thread Simon Glass
Hi Joseph, On Tue, 8 Dec 2020 at 00:32, Joseph Liu wrote: > > From: Joseph Liu > > 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 > --- > drivers/gpio/pca953x.c | 14 +

[PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-08 Thread Joseph Liu
From: Joseph Liu 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 --- drivers/gpio/pca953x.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/p