[PATCH openbmc] hwmon-adm1278: Add adm1278 to Barreleye device tree

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Mar 16 01:40:39 AEDT 2016


This patch enables adm1278 (and other compatible devices) to be instantiated from
device tree. So we don't need to explicitly call:

echo adm1278 0x10 > /sys/bus/i2c/devices/i2c-4/new_device

Tested on Barreleye.

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/208)
<!-- Reviewable:end -->


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

Yi Li (1):
  hwmon-adm1278: Add adm1278 to Barreleye device tree

 .../linux/linux-obmc/hwmon_adm1278.patch           | 92 ++++++++++++++++++----
 .../linux/linux-obmc/readme_adm1278.txt            |  7 +-
 2 files changed, 83 insertions(+), 16 deletions(-)

-- 
2.7.1




More information about the openbmc mailing list