[PATCH openbmc] Add temporary adm1278 hwmon pmbus driver patch

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Feb 17 21:30:23 AEDT 2016


This patch temporarily adds adm1278 hwmon driver as a kernel patch to openbmc,
for testing on Barreleye.
If in the future this patch will still be useful, it should be put into linux kernel.

Barreleye has three adm1278 devices on three i2c buses.
This patch enables reading adm1278 sensors via hwmon sysfs interface.
The enabled sensors are: current, voltage (In and Out), power and temperature.
Detail usage can be found in 'readme_adm1278.txt'.

Signed-off-by: Yi Li <adamliyi at msn.com>

https://github.com/openbmc/openbmc/pull/181

Yi Li (1):
  Add temporary adm1278 hwmon pmbus driver patch

 .../recipes-kernel/linux/linux-obmc/barreleye.cfg  |   3 +
 .../linux/linux-obmc/hwmon_adm1278.patch           | 165 +++++++++++++++++++++
 .../linux/linux-obmc/readme_adm1278.txt            |  78 ++++++++++
 .../recipes-kernel/linux/linux-obmc_%.bbappend     |   3 +
 4 files changed, 249 insertions(+)
 create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/barreleye.cfg
 create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/hwmon_adm1278.patch
 create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/readme_adm1278.txt
 create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend

-- 
2.7.1




More information about the openbmc mailing list