Re: [PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-06-04 Thread Lee Jones
On Tue, 04 Jun 2019, Fabien Lahoudere wrote: > Le lundi 03 juin 2019 à 13:55 +0100, Lee Jones a écrit : > > On Wed, 22 May 2019, Fabien Lahoudere wrote: > > > > > Version 3 of the EC protocol provides min and max frequencies and > > > fifo > > > size for EC sensors. > > > > > > Signed-off-by:

Re: [PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-06-04 Thread Fabien Lahoudere
Le lundi 03 juin 2019 à 13:55 +0100, Lee Jones a écrit : > On Wed, 22 May 2019, Fabien Lahoudere wrote: > > > Version 3 of the EC protocol provides min and max frequencies and > > fifo > > size for EC sensors. > > > > Signed-off-by: Fabien Lahoudere > > --- > >

Re: [PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-06-03 Thread Lee Jones
On Wed, 22 May 2019, Fabien Lahoudere wrote: > Version 3 of the EC protocol provides min and max frequencies and fifo > size for EC sensors. > > Signed-off-by: Fabien Lahoudere > --- > .../cros_ec_sensors/cros_ec_sensors_core.c| 98 ++- >

Re: [PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-05-22 Thread Benson Leung
Hi Fabien, On Wed, May 22, 2019 at 04:09:52PM +0200, Fabien Lahoudere wrote: > Version 3 of the EC protocol provides min and max frequencies and fifo > size for EC sensors. > > Signed-off-by: Fabien Lahoudere It looks like this is mainly based on patches from the chromium kernel:

Re: [PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-05-22 Thread Gwendal Grignou
Remove CROS_EC_FIFO_SIZE and "u32 fifo_max_event_count;" from the driver/iio/ code. This code is for a driver - cros-ec-sensor-ring - that is not upstreamable. [see http://lkml.iu.edu/hypermail/linux/kernel/1607.2/01335.html]. The EC interface is fine though, we are working on a new version of the

[PATCH 1/3] iio: common: cros_ec_sensors: support protocol v3 message

2019-05-22 Thread Fabien Lahoudere
Version 3 of the EC protocol provides min and max frequencies and fifo size for EC sensors. Signed-off-by: Fabien Lahoudere --- .../cros_ec_sensors/cros_ec_sensors_core.c| 98 ++- .../linux/iio/common/cros_ec_sensors_core.h | 7 ++ include/linux/mfd/cros_ec_commands.h