Re: [PATCH 19/25] hw/misc: add i2c-tester

2024-09-18 Thread Corey Minyard
On Wed, Sep 18, 2024 at 04:03:12PM -0700, Octavian Purdila wrote: > On Wed, Sep 18, 2024 at 1:06 PM Corey Minyard wrote: > > > > On Wed, Sep 18, 2024 at 12:22:47PM -0700, Octavian Purdila wrote: > > > Add a simple i2c peripheral to be used for testing I2C device > > > models. The peripheral has a

Re: [PATCH 19/25] hw/misc: add i2c-tester

2024-09-18 Thread Octavian Purdila
On Wed, Sep 18, 2024 at 1:06 PM Corey Minyard wrote: > > On Wed, Sep 18, 2024 at 12:22:47PM -0700, Octavian Purdila wrote: > > Add a simple i2c peripheral to be used for testing I2C device > > models. The peripheral has a fixed number of registers that can be > > read and written. > > Why is this

Re: [PATCH 19/25] hw/misc: add i2c-tester

2024-09-18 Thread Corey Minyard
On Wed, Sep 18, 2024 at 12:22:47PM -0700, Octavian Purdila wrote: > Add a simple i2c peripheral to be used for testing I2C device > models. The peripheral has a fixed number of registers that can be > read and written. Why is this better than just using the eeprom device? This has some uncommon a

[PATCH 19/25] hw/misc: add i2c-tester

2024-09-18 Thread Octavian Purdila
Add a simple i2c peripheral to be used for testing I2C device models. The peripheral has a fixed number of registers that can be read and written. Signed-off-by: Octavian Purdila --- include/hw/misc/i2c_tester.h | 30 ++ hw/misc/i2c_tester.c | 109 +++