hwmon: Add hwmon driver for Intel MAX 10 BMC
authorXu Yilun <yilun.xu@intel.com>
Mon, 21 Sep 2020 06:17:51 +0000 (14:17 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 4 Oct 2020 15:40:10 +0000 (08:40 -0700)
commit865e4fc013ba58cc3245fc1180033ee52e9c426e
treec99b69d99f7c3b110f6fbf10a5172851fe681eb4
parent5f977a0630db300e3517e4383db3d74f0c39d6cf
hwmon: Add hwmon driver for Intel MAX 10 BMC

This patch adds hwmon functionality for Intel MAX 10 BMC chip. This BMC
chip connects to a set of sensor chips to monitor current, voltage,
thermal and power of different components on board. The BMC firmware is
responsible for sensor data sampling and recording in shared registers.
Host driver reads the sensor data from these shared registers and
exposes them to users as hwmon interfaces.

Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1600669071-26235-3-git-send-email-yilun.xu@intel.com
[groeck: Adjusted subject]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/index.rst
Documentation/hwmon/intel-m10-bmc-hwmon.rst [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/intel-m10-bmc-hwmon.c [new file with mode: 0644]