Skip to contentSkip to conversation

Add OCC HWMON driver to kernel

PATCH Superseded Yi Li 1 participant 1 message Dec 8, 2015 Hardware monitoring

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Yi Li

author
#0 lore raw

PATCH v3 1/1 Add OCC HWMON driver to kernel

The default patch triggered by git pull request is hard to read. I resend a clean patch to the list. Please review.

This patch fixed many issue from Jeremy's V2 review.

Thanks,
-Yi

drivers/hwmon/Kconfig +10 -0
index e13c902..7c74854 100644
@@ -1167,6 +1167,16 @@ config SENSORS_NCT7904
 	  This driver can also be built as a module.  If so, the module
 	  will be called nct7904.
 
+config SENSORS_OCC
+	tristate "OCC sensor BMC driver"
+	depends on I2C
+	help
+	  If you say yes here you get support for BMC to monitor IBM
+	  Power CPU sensors via the On-Chip-Controller (OCC).
+
+	  This driver can aslo be built as a module. If so, the module
+	  will be called occ_i2c.
+
 config SENSORS_PCF8591
 	tristate "Philips PCF8591 ADC/DAC"
 	depends on I2C
drivers/hwmon/Makefile +1 -0
index 9e0f3dd..d6fa923 100644
@@ -123,6 +123,7 @@ obj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
 obj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
 obj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
 obj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
+obj-$(CONFIG_SENSORS_OCC)	+= occ_i2c.o
 obj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
 obj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
 obj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
drivers/hwmon/occ_i2c.c new file +1315 -0

1,315 lines not on this page · raw message