Re: [PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-06 Thread Peter Delevoryas
On Wed, Jul 06, 2022 at 08:06:34AM +0200, Cédric Le Goater wrote: > On 7/5/22 23:44, Peter Delevoryas wrote: > > On Tue, Jul 05, 2022 at 02:40:32PM -0700, Peter Delevoryas wrote: > > > On Tue, Jul 05, 2022 at 03:06:24PM -0500, Corey Minyard wrote: > > > > On Tue, Jul 05, 2022 at 12:13:52PM -0700, P

Re: [PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-05 Thread Cédric Le Goater
On 7/5/22 23:44, Peter Delevoryas wrote: On Tue, Jul 05, 2022 at 02:40:32PM -0700, Peter Delevoryas wrote: On Tue, Jul 05, 2022 at 03:06:24PM -0500, Corey Minyard wrote: On Tue, Jul 05, 2022 at 12:13:52PM -0700, Peter Delevoryas wrote: I added this helper in the Aspeed machine file a while ago

Re: [PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-05 Thread Peter Delevoryas
On Tue, Jul 05, 2022 at 02:40:32PM -0700, Peter Delevoryas wrote: > On Tue, Jul 05, 2022 at 03:06:24PM -0500, Corey Minyard wrote: > > On Tue, Jul 05, 2022 at 12:13:52PM -0700, Peter Delevoryas wrote: > > > I added this helper in the Aspeed machine file a while ago to help > > > initialize fuji-bmc

Re: [PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-05 Thread Peter Delevoryas
On Tue, Jul 05, 2022 at 03:06:24PM -0500, Corey Minyard wrote: > On Tue, Jul 05, 2022 at 12:13:52PM -0700, Peter Delevoryas wrote: > > I added this helper in the Aspeed machine file a while ago to help > > initialize fuji-bmc i2c devices. This moves it to the official pca954x > > file so that other

Re: [PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-05 Thread Corey Minyard
On Tue, Jul 05, 2022 at 12:13:52PM -0700, Peter Delevoryas wrote: > I added this helper in the Aspeed machine file a while ago to help > initialize fuji-bmc i2c devices. This moves it to the official pca954x > file so that other files can use it. > > This does something very similar to pca954x_i2c

[PATCH v2 1/9] hw/i2c/pca954x: Add method to get channels

2022-07-05 Thread Peter Delevoryas
I added this helper in the Aspeed machine file a while ago to help initialize fuji-bmc i2c devices. This moves it to the official pca954x file so that other files can use it. This does something very similar to pca954x_i2c_get_bus, but I think this is useful when you have a very complicated dts wi