[Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-19 Thread BALATON Zoltan
As well as being able to generate its own i2c transactions, the ppc4xx i2c controller has a DIRECTCNTL register which allows explicit control of the i2c lines. Using this register an OS can directly bitbang i2c operations. In order to let emulated i2c devices respond to this, we need to wire up th

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-20 Thread David Gibson
On Tue, Jun 19, 2018 at 10:52:15AM +0200, BALATON Zoltan wrote: > As well as being able to generate its own i2c transactions, the ppc4xx > i2c controller has a DIRECTCNTL register which allows explicit control > of the i2c lines. > > Using this register an OS can directly bitbang i2c operations. I

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-21 Thread BALATON Zoltan
On Wed, 20 Jun 2018, David Gibson wrote: On Tue, Jun 19, 2018 at 10:52:15AM +0200, BALATON Zoltan wrote: As well as being able to generate its own i2c transactions, the ppc4xx i2c controller has a DIRECTCNTL register which allows explicit control of the i2c lines. Using this register an OS can

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-21 Thread David Gibson
On Thu, Jun 21, 2018 at 09:17:11AM +0200, BALATON Zoltan wrote: > On Wed, 20 Jun 2018, David Gibson wrote: > > On Tue, Jun 19, 2018 at 10:52:15AM +0200, BALATON Zoltan wrote: > > > As well as being able to generate its own i2c transactions, the ppc4xx > > > i2c controller has a DIRECTCNTL register

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-22 Thread BALATON Zoltan
On Fri, 22 Jun 2018, David Gibson wrote: On Thu, Jun 21, 2018 at 09:17:11AM +0200, BALATON Zoltan wrote: On Wed, 20 Jun 2018, David Gibson wrote: On Tue, Jun 19, 2018 at 10:52:15AM +0200, BALATON Zoltan wrote: As well as being able to generate its own i2c transactions, the ppc4xx i2c controlle

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-06-22 Thread David Gibson
On Fri, Jun 22, 2018 at 10:00:34AM +0200, BALATON Zoltan wrote: > On Fri, 22 Jun 2018, David Gibson wrote: > > On Thu, Jun 21, 2018 at 09:17:11AM +0200, BALATON Zoltan wrote: > > > On Wed, 20 Jun 2018, David Gibson wrote: > > > > On Tue, Jun 19, 2018 at 10:52:15AM +0200, BALATON Zoltan wrote: > > >

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-11-28 Thread Thomas Huth
On 2018-06-19 10:52, BALATON Zoltan wrote: > As well as being able to generate its own i2c transactions, the ppc4xx > i2c controller has a DIRECTCNTL register which allows explicit control > of the i2c lines. > > Using this register an OS can directly bitbang i2c operations. In > order to let emul

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-11-28 Thread BALATON Zoltan
On Wed, 28 Nov 2018, Thomas Huth wrote: On 2018-06-19 10:52, BALATON Zoltan wrote: As well as being able to generate its own i2c transactions, the ppc4xx i2c controller has a DIRECTCNTL register which allows explicit control of the i2c lines. Using this register an OS can directly bitbang i2c o

Re: [Qemu-devel] [PATCH v4 02/11] ppc4xx_i2c: Implement directcntl register

2018-11-28 Thread Thomas Huth
On 2018-11-28 12:26, BALATON Zoltan wrote: > On Wed, 28 Nov 2018, Thomas Huth wrote: >> On 2018-06-19 10:52, BALATON Zoltan wrote: >>> As well as being able to generate its own i2c transactions, the ppc4xx >>> i2c controller has a DIRECTCNTL register which allows explicit control >>> of the i2c lin