Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Guenter Roeck
On 04/13/2017 03:53 PM, Moritz Fischer wrote: Hi Guenter, On Thu, Apr 13, 2017 at 2:03 PM, Guenter Roeck wrote: On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: From: Moritz Fischer The ChromeOS EC has mapped memory regions where things

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Guenter Roeck
On 04/13/2017 03:53 PM, Moritz Fischer wrote: Hi Guenter, On Thu, Apr 13, 2017 at 2:03 PM, Guenter Roeck wrote: On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: From: Moritz Fischer The ChromeOS EC has mapped memory regions where things like temperature sensors and fan speed

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Moritz Fischer
Hi Guenter, On Thu, Apr 13, 2017 at 2:03 PM, Guenter Roeck wrote: > On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: >> From: Moritz Fischer >> >> The ChromeOS EC has mapped memory regions where things like temperature >> sensors and fan speed

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Moritz Fischer
Hi Guenter, On Thu, Apr 13, 2017 at 2:03 PM, Guenter Roeck wrote: > On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: >> From: Moritz Fischer >> >> The ChromeOS EC has mapped memory regions where things like temperature >> sensors and fan speed are stored. Provide access to those

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Guenter Roeck
On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: > From: Moritz Fischer > > The ChromeOS EC has mapped memory regions where things like temperature > sensors and fan speed are stored. Provide access to those from the > cros-ec mfd device. > Turns out struct

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-13 Thread Guenter Roeck
On Fri, Apr 07, 2017 at 03:00:08PM -0700, Moritz Fischer wrote: > From: Moritz Fischer > > The ChromeOS EC has mapped memory regions where things like temperature > sensors and fan speed are stored. Provide access to those from the > cros-ec mfd device. > Turns out struct cros_ec_device

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-09 Thread Moritz Fischer
On Sun, Apr 09, 2017 at 04:02:04PM -0700, Guenter Roeck wrote: > On 04/07/2017 03:00 PM, Moritz Fischer wrote: > > From: Moritz Fischer > > > > The ChromeOS EC has mapped memory regions where things like temperature > > sensors and fan speed are stored. Provide access to those

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-09 Thread Moritz Fischer
On Sun, Apr 09, 2017 at 04:02:04PM -0700, Guenter Roeck wrote: > On 04/07/2017 03:00 PM, Moritz Fischer wrote: > > From: Moritz Fischer > > > > The ChromeOS EC has mapped memory regions where things like temperature > > sensors and fan speed are stored. Provide access to those from the > >

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-09 Thread Guenter Roeck
On 04/07/2017 03:00 PM, Moritz Fischer wrote: From: Moritz Fischer The ChromeOS EC has mapped memory regions where things like temperature sensors and fan speed are stored. Provide access to those from the cros-ec mfd device. Signed-off-by: Moritz Fischer

Re: [PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-09 Thread Guenter Roeck
On 04/07/2017 03:00 PM, Moritz Fischer wrote: From: Moritz Fischer The ChromeOS EC has mapped memory regions where things like temperature sensors and fan speed are stored. Provide access to those from the cros-ec mfd device. Signed-off-by: Moritz Fischer I'll have to consult with others

[PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-07 Thread Moritz Fischer
From: Moritz Fischer The ChromeOS EC has mapped memory regions where things like temperature sensors and fan speed are stored. Provide access to those from the cros-ec mfd device. Signed-off-by: Moritz Fischer --- drivers/platform/chrome/cros_ec_proto.c | 55

[PATCH 1/3] mfd: cros-ec: Add functions to read mapped memory

2017-04-07 Thread Moritz Fischer
From: Moritz Fischer The ChromeOS EC has mapped memory regions where things like temperature sensors and fan speed are stored. Provide access to those from the cros-ec mfd device. Signed-off-by: Moritz Fischer --- drivers/platform/chrome/cros_ec_proto.c | 55 +