Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Boris Brezillon
On Tue, 27 Feb 2018 20:24:43 + Przemyslaw Sroka wrote: > > > SETDASA is simply faster than ENTDAA, but only if there is no > > > need to collect BCR/DCR/PID of such devices. I think most > > > applications would like to have them as an status information so > > > after

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Boris Brezillon
Hi Przemek, On Tue, 27 Feb 2018 17:06:37 + Przemyslaw Sroka wrote: > > > > > > > > Could you tell me why you think SETDASA is required? > > > > > > Yes, you are right... But in my opinion it is required as it does part > > > of DAA process. > > > > SETDASA is simply

RE: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Przemyslaw Sroka
;; > Kumar Gala <ga...@codeaurora.org>; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Geert Uytterhoeven <ge...@linux-m68k.org>; Linus > Walleij <linus.wall...@linaro.org> > Subject: Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure > > EXTERNAL MAIL >

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Boris Brezillon
Hi Przemek, On Tue, 27 Feb 2018 16:43:27 + Przemyslaw Sroka wrote: > > > > >> Either important is the SETDASA for declared I3C devices. So the DAA > > >> process should start by send an SETDASA and them ENTDAA CCC > > command. > > > My understanding was that

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Boris Brezillon
Hi Vitor, On Tue, 27 Feb 2018 16:03:58 + Vitor Soares wrote: > >>> > >>> The speed R/W speed limitation is encoded in the device object, so, if > >>> the controller has to configure that on a per-transfer basis, one > >>> solution would be to pass the device to

RE: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Przemyslaw Sroka
Gala <ga...@codeaurora.org>; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Geert Uytterhoeven <ge...@linux-m68k.org>; Linus > Walleij <linus.wall...@linaro.org> > Subject: RE: [PATCH v2 2/7] i3c: Add core I3C infrastructure > > Hi Boris and Vito

RE: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Przemyslaw Sroka
;; Mark Rutland <mark.rutl...@arm.com>; Ian > Campbell <ijc+devicet...@hellion.org.uk>; Kumar Gala > <ga...@codeaurora.org>; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Geert Uytterhoeven <ge...@linux-m68k.org>; Linus > Walleij <linus.wall...@linaro.org

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-27 Thread Vitor Soares
Hi Boris Às 8:36 PM de 2/26/2018, Boris Brezillon escreveu: > Hi Vitor, > > On Mon, 26 Feb 2018 18:58:15 + > Vitor Soares wrote: > > +/** > + * i3c_device_do_priv_xfers() - do I3C SDR private transfers directed to > a > + *

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-26 Thread Boris Brezillon
On Mon, 26 Feb 2018 21:40:32 +0100 Boris Brezillon wrote: > On Mon, 26 Feb 2018 21:36:07 +0100 > Boris Brezillon wrote: > > > > >>> + > > > >>> +/** > > > >>> + * struct i3c_master_controller_ops - I3C master methods > > > >>> + *

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-26 Thread Boris Brezillon
On Mon, 26 Feb 2018 21:36:07 +0100 Boris Brezillon wrote: > > >>> + > > >>> +/** > > >>> + * struct i3c_master_controller_ops - I3C master methods > > >>> + * @bus_init: hook responsible for the I3C bus initialization. This > > >>> + * initialization should

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-26 Thread Boris Brezillon
Hi Vitor, On Mon, 26 Feb 2018 18:58:15 + Vitor Soares wrote: > >>> +/** > >>> + * i3c_device_do_priv_xfers() - do I3C SDR private transfers directed to > >>> a > >>> + * specific device > >>> + * > >>> + * @dev: device with which the

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-26 Thread Vitor Soares
Hi Boris Às 8:30 PM de 2/23/2018, Boris Brezillon escreveu: > Hi Vitor, > > On Fri, 23 Feb 2018 16:56:14 + > Vitor Soares wrote: > >> Hi Boris, >> >> Às 3:16 PM de 12/14/2017, Boris Brezillon escreveu: >>> + >>> +enum i3c_addr_slot_status

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-23 Thread Boris Brezillon
On Fri, 23 Feb 2018 16:56:14 + Vitor Soares wrote: > > + > > +/** > > + * struct i3c_ccc_setda - payload passed to ENTTM CCC > > + * > > + * @mode: one of the i3c_ccc_test_mode modes > > + * > > + * Information passed to the ENTTM CCC to instruct an I3C device to

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-23 Thread Boris Brezillon
Hi Vitor, On Fri, 23 Feb 2018 16:56:14 + Vitor Soares wrote: > Hi Boris, > > Às 3:16 PM de 12/14/2017, Boris Brezillon escreveu: > > + > > +enum i3c_addr_slot_status i3c_bus_get_addr_slot_status(struct i3c_bus *bus, > > +

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-23 Thread Vitor Soares
Hi Boris, Às 3:16 PM de 12/14/2017, Boris Brezillon escreveu: > + > +enum i3c_addr_slot_status i3c_bus_get_addr_slot_status(struct i3c_bus *bus, > +u16 addr) > +{ > + int status, bitpos = addr * 2; > + > + if (addr > I2C_MAX_ADDR) > +

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-21 Thread Greg Kroah-Hartman
On Wed, Feb 21, 2018 at 03:22:48PM +0100, Boris Brezillon wrote: > Hi Greg, > > On Tue, 19 Dec 2017 10:36:43 +0100 > Greg Kroah-Hartman wrote: > > > On Tue, Dec 19, 2017 at 10:28:58AM +0100, Boris Brezillon wrote: > > > On Tue, 19 Dec 2017 10:21:19 +0100 > > > Greg

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2018-02-21 Thread Boris Brezillon
Hi Greg, On Tue, 19 Dec 2017 10:36:43 +0100 Greg Kroah-Hartman wrote: > On Tue, Dec 19, 2017 at 10:28:58AM +0100, Boris Brezillon wrote: > > On Tue, 19 Dec 2017 10:21:19 +0100 > > Greg Kroah-Hartman wrote: > > > > > On Tue, Dec 19,

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 19, 2017 at 10:28:58AM +0100, Boris Brezillon wrote: > On Tue, 19 Dec 2017 10:21:19 +0100 > Greg Kroah-Hartman wrote: > > > On Tue, Dec 19, 2017 at 10:13:36AM +0100, Boris Brezillon wrote: > > > On Tue, 19 Dec 2017 10:09:00 +0100 > > > Boris Brezillon

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 10:21:19 +0100 Greg Kroah-Hartman wrote: > On Tue, Dec 19, 2017 at 10:13:36AM +0100, Boris Brezillon wrote: > > On Tue, 19 Dec 2017 10:09:00 +0100 > > Boris Brezillon wrote: > > > > > On Tue, 19 Dec 2017

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Greg Kroah-Hartman
On Tue, Dec 19, 2017 at 10:13:36AM +0100, Boris Brezillon wrote: > On Tue, 19 Dec 2017 10:09:00 +0100 > Boris Brezillon wrote: > > > On Tue, 19 Dec 2017 09:52:50 +0100 > > Greg Kroah-Hartman wrote: > > > > > On Thu, Dec 14, 2017

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 10:09:00 +0100 Boris Brezillon wrote: > On Tue, 19 Dec 2017 09:52:50 +0100 > Greg Kroah-Hartman wrote: > > > On Thu, Dec 14, 2017 at 04:16:05PM +0100, Boris Brezillon wrote: > > > +/** > > > + *

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Boris Brezillon
On Tue, 19 Dec 2017 09:52:50 +0100 Greg Kroah-Hartman wrote: > On Thu, Dec 14, 2017 at 04:16:05PM +0100, Boris Brezillon wrote: > > +/** > > + * i3c_device_match_id() - Find the I3C device ID entry matching an I3C dev > > + * @i3cdev: the I3C device we're searching a

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 14, 2017 at 04:16:05PM +0100, Boris Brezillon wrote: > +/** > + * i3c_device_match_id() - Find the I3C device ID entry matching an I3C dev > + * @i3cdev: the I3C device we're searching a match for > + * @id_table: the I3C device ID table > + * > + * Return: a pointer to the first entry

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-18 Thread Randy Dunlap
On 12/18/2017 12:37 AM, Boris Brezillon wrote: > On Sun, 17 Dec 2017 14:32:04 -0800 > Randy Dunlap wrote: > >> On 12/14/17 07:16, Boris Brezillon wrote: >>> Add core infrastructure to support I3C in Linux and document it. >>> >>> Signed-off-by: Boris Brezillon

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-18 Thread Boris Brezillon
On Sun, 17 Dec 2017 14:32:04 -0800 Randy Dunlap wrote: > On 12/14/17 07:16, Boris Brezillon wrote: > > Add core infrastructure to support I3C in Linux and document it. > > > > Signed-off-by: Boris Brezillon > > --- > > drivers/Kconfig

Re: [PATCH v2 2/7] i3c: Add core I3C infrastructure

2017-12-17 Thread Randy Dunlap
On 12/14/17 07:16, Boris Brezillon wrote: > Add core infrastructure to support I3C in Linux and document it. > > Signed-off-by: Boris Brezillon > --- > drivers/Kconfig |2 + > drivers/Makefile|2 +- >