[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 4/4] Add qtest support for i.MX I2C device em
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [PATCH v5 4/4] Add qtest support for i.MX I2C device emulation. |
Date: |
Tue, 4 Jun 2013 13:24:16 +1000 |
Hi Peter,
On Tue, Jun 4, 2013 at 1:21 AM, Peter Maydell <address@hidden> wrote:
> On 8 May 2013 09:28, Jean-Christophe DUBOIS <address@hidden> wrote:
>> This is using a ds1338 RTC chip on the i2c bus. This RTC
>> chip is not present on the real board.
>
> Ideally this should work by the test driver passing
> a "-device ds1338,something,something" argument to
> instantiate the RTC and connect it to the I2C bus,
> rather than the board doing it if it knows it's being
> run by qtest. Does the i2c interface let us do that?
>
CC Jan, I think he had some success with this in the at24 work, so I
think the answer is yes. And I cant see any reason why not - I2C is
properly QOMified AFAIK.
Regards,
peter
>> +
>> + /* check retreived time againt local time */
>
> "retrieve", "against"
>
> thanks
> -- PMM
>