RE: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-22 Thread Vitor Soares
From: Boris Brezillon Date: Mon, Apr 22, 2019 at 19:27:32 > On Mon, 22 Apr 2019 17:54:29 + > Vitor Soares wrote: > > > > > > > > > > > > > > > > { > > > > > > > > i3cbus->mode = mode; > > > > > > > > > > > > > > > > - if (!i3cbus->scl_rate.i3c) > > > > > > > > -

Re: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-22 Thread Boris Brezillon
On Mon, 22 Apr 2019 17:54:29 + Vitor Soares wrote: > > > > > > > > > > > > > { > > > > > > > i3cbus->mode = mode; > > > > > > > > > > > > > > - if (!i3cbus->scl_rate.i3c) > > > > > > > - i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; > > > > > > > - > > > > > > > - if

RE: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-22 Thread Vitor Soares
From: Boris Brezillon Date: Mon, Apr 22, 2019 at 17:07:15 > On Mon, 22 Apr 2019 15:54:33 + > Vitor Soares wrote: > > > > > > > > > > > > > { > > > > > > i3cbus->mode = mode; > > > > > > > > > > > > - if (!i3cbus->scl_rate.i3c) > > > > > > - i3cbus->scl_rate.i3c =

Re: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-22 Thread Boris Brezillon
On Mon, 22 Apr 2019 15:54:33 + Vitor Soares wrote: > > > > > > > > > { > > > > > i3cbus->mode = mode; > > > > > > > > > > - if (!i3cbus->scl_rate.i3c) > > > > > - i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; > > > > > - > > > > > - if

RE: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-22 Thread Vitor Soares
Hi Boris, From: Boris Brezillon Date: Tue, Apr 16, 2019 at 15:52:50 > On Tue, 16 Apr 2019 14:24:57 + > Vitor Soares wrote: > > > Hi Boris, > > > > From: Boris Brezillon > > Date: Tue, Apr 16, 2019 at 06:50:41 > > > > > On Mon, 15 Apr 2019 20:46:41 +0200 > > > Vitor Soares wrote: > > >

Re: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-16 Thread Boris Brezillon
On Tue, 16 Apr 2019 14:24:57 + Vitor Soares wrote: > Hi Boris, > > From: Boris Brezillon > Date: Tue, Apr 16, 2019 at 06:50:41 > > > On Mon, 15 Apr 2019 20:46:41 +0200 > > Vitor Soares wrote: > > > > > Currently in case of mixed slow bus topologie and all i2c devices > > > support FM+

RE: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-16 Thread Vitor Soares
Hi Boris, From: Boris Brezillon Date: Tue, Apr 16, 2019 at 06:50:41 > On Mon, 15 Apr 2019 20:46:41 +0200 > Vitor Soares wrote: > > > Currently in case of mixed slow bus topologie and all i2c devices > > support FM+ speed, the i3c subsystem limite the SCL to FM speed. > I will it replace

Re: [PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-15 Thread Boris Brezillon
On Mon, 15 Apr 2019 20:46:41 +0200 Vitor Soares wrote: > Currently in case of mixed slow bus topologie and all i2c devices > support FM+ speed, the i3c subsystem limite the SCL to FM speed. " Currently the I3C framework limits SCL frequency to FM speed when dealing with a mixed slow bus, even

[PATCH 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-04-15 Thread Vitor Soares
Currently in case of mixed slow bus topologie and all i2c devices support FM+ speed, the i3c subsystem limite the SCL to FM speed. Also in case on mixed slow bus mode the max speed for both i2c or i3c transfers is FM or FM+. This patch fix the definition of i2c and i3c scl rate based on bus