diff options
author | John Wang <wangzqbj@inspur.com> | 2018-12-20 09:29:00 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-01-15 23:11:43 +0300 |
commit | b32ff5566f5dbd7b471f36b477c3de6c238c1878 (patch) | |
tree | f91b3058ec74149a618b29e975ecc522507af1d3 /meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | |
parent | 32c586727d6b72c553addccf0cffd737967e941b (diff) | |
download | openbmc-b32ff5566f5dbd7b471f36b477c3de6c238c1878.tar.xz |
meta-on5263m5: Add sensor configs
tmp421 tmp112 adm1278 adc fan-tach
Tested: Build on5263m5 board and load on the target hardware
(From meta-inspur rev: cfb537ae3d5d9f4e0ca922880752dbf472cb6801)
Change-Id: Ide9f3ea2314f518c2381b2258dbe97af04d14a9e
Signed-off-by: John Wang <wangzqbj@inspur.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend')
-rw-r--r-- | meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend new file mode 100644 index 000000000..74695bf2c --- /dev/null +++ b/meta-inspur/meta-on5263m5/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -0,0 +1,19 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +EXTRA_OECONF_append_on5263m5= " --enable-negative-errno-on-fail" + +CHIPS = " \ + i2c@1e78a000/i2c-bus@1c0/tmp112@48 \ + i2c@1e78a000/i2c-bus@1c0/tmp421@4e \ + i2c@1e78a000/i2c-bus@300/adm1278@11 \ + pwm-tacho-controller@1e786000 \ + " +ITEMSFMT = "ahb/apb/{0}.conf" + +ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}" + +ITEMS += "iio-hwmon.conf" + + +ENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ITEMS')}" |