From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 12 Dec 2020 08:39:41 -0700 Subject: [PATCH] gpio: pca953x: add bus option to select the i2c bus. In-Reply-To: <20201208073226.21731-1-maxdog988@gmail.com> References: <20201208073226.21731-1-maxdog988@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > This driver should be converted to driver model. Regards, Simon