[PATCH v2] add hwmon support for Intel MAX 10 BMC

From: Xu Yilun
Date: Tue Sep 15 2020 - 23:19:17 EST


This patch depends on the patch "add Intel MAX 10 BMC chip support for
Intel FPGA PAC".

https://lore.kernel.org/lkml/1599491813-20819-1-git-send-email-yilun.xu@xxxxxxxxx/

This patch adds support for the hwmon sub device in Intel MAX 10 BMC

Main changes from v1:
- add the Documentation
- refactor the code, provide static hwmon_channel_info

Xu Yilun (1):
hwmon: intel-m10-bmc-hwmon: add hwmon support for Intel MAX 10 BMC

Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/intel-m10-bmc-hwmon.rst | 78 ++++++
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/intel-m10-bmc-hwmon.c | 355 ++++++++++++++++++++++++++++
5 files changed, 446 insertions(+)
create mode 100644 Documentation/hwmon/intel-m10-bmc-hwmon.rst
create mode 100644 drivers/hwmon/intel-m10-bmc-hwmon.c

--
2.7.4