[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 3/3] hwmon: cros-ec-hwmon: Add Chromium-EC HWMON driver

2017-04-07 Thread Moritz Fischer
From: Moritz Fischer This adds a hwmon driver for the Chromium EC's fans and temperature sensors. Signed-off-by: Moritz Fischer --- This one still needs some work, but I figured some early feedback might not hurt. Specifically I was wondering if using the devm_hwmon_register_with_info

[PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON

2017-04-07 Thread Moritz Fischer
From: Moritz Fischer Add bindings for the Chromium EC HWMON. The Chromium EC HWMON allows monitoring of temperature sensors and fans attached to the EC. Signed-off-by: Moritz Fischer --- .../devicetree/bindings/hwmon/cros-ec-hwmon.txt| 25 ++ 1 file changed, 25

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

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 stor

Re: [PATCH 2/3] dt-bindings: hwmon: Add bindings for Google Chromium EC HWMON

2017-04-14 Thread Moritz Fischer
On Fri, Apr 14, 2017 at 5:48 AM, Rob Herring wrote: > On Thu, Apr 13, 2017 at 4:07 PM, Guenter Roeck wrote: >> On Thu, Apr 13, 2017 at 03:01:40PM -0500, Rob Herring wrote: >>> On Fri, Apr 07, 2017 at 03:00:09PM -0700, Moritz Fischer wrote: >>> > From: Moritz Fischer

Re: [PATCH v5 3/3] fpga: dfl: fme: add power management support

2019-07-01 Thread Moritz Fischer
Yilun > Signed-off-by: Wu Hao Reviewed-by: Moritz Fischer > --- > v2: create a dfl_fme_power hwmon to expose power sysfs interfaces. > move all sysfs interfaces under hwmon > consumed --> hwmon power1_input > threshold1--> hwmon power1

Re: [PATCH v5 2/3] fpga: dfl: fme: add thermal management support

2019-07-01 Thread Moritz Fischer
Kang > Signed-off-by: Russ Weight > Signed-off-by: Xu Yilun > Signed-off-by: Wu Hao > Acked-by: Guenter Roeck Reviewed-by: Moritz Fischer > --- > v2: create a dfl_fme_thermal hwmon to expose thermal information. > move all sysfs interfaces under hwmon > tempare

Re: [PATCH 1/3] include: fpga: adi-axi-common: Define version macros

2019-09-27 Thread Moritz Fischer
Hi Nuno, On Thu, Sep 26, 2019 at 12:39:23PM +0200, Nuno Sá wrote: > Add commom macros to "parse" ADI HDL cores version, in terms of > major, minor and patch. > > Signed-off-by: Nuno Sá > --- > include/linux/fpga/adi-axi-common.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/incl

Re: [PATCH v7 0/3] add thermal/power management features for FPGA DFL drivers

2019-10-16 Thread Moritz Fischer
On Mon, Oct 14, 2019 at 01:42:00PM +0800, Wu Hao wrote: > Hi Moritz and all, > > This patchset adds thermal and power management features for FPGA DFL > drivers. Both patches are using hwmon as userspace interfaces. > > This patchset is created on top of 5.4-rc3, please help with review to see >

Re: [PATCH v2 15/18] fpga: dfl: fme: add thermal management support

2019-05-07 Thread Moritz Fischer
Please for next round: +CC linux-hwmon, Guenter etc ... On Mon, Apr 29, 2019 at 04:55:48PM +0800, Wu Hao wrote: > This patch adds support to thermal management private feature for DFL > FPGA Management Engine (FME). This private feature driver registers > a hwmon for thermal/temperature monitorin