commit | daaa79a701a24b374af8f186883c1326f9251bb8 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon Sep 24 08:29:58 2018 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Sep 25 07:48:05 2018 -0400 |
tree | dbc4763e8b2f32acd12c016393f5551e0bf2645d | |
parent | 8481dce7bd658fd16fb7380352b9169d793ba745 [diff] |
meta-zaius: phosphor-hwmon: add onewire confs The zaius device tree specifies four onewire sensor configurations. This adds the phosphor-hwmon configuration for each. (From meta-ingrasys rev: f7f4b98bd6312ae0426282f43e8daca0f92fa681) Change-Id: I009c41891f7218936b997ebd66a271a2b2e08eb5 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index de6dff1..0de043b 100644 --- a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -5,6 +5,10 @@ ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}" ZAIUS_ITEMS += "iio-hwmon.conf iio-hwmon-battery.conf" +ZAIUS_ITEMS += " onewire0.conf" +ZAIUS_ITEMS += " onewire1.conf" +ZAIUS_ITEMS += " onewire2.conf" +ZAIUS_ITEMS += " onewire3.conf" ZAIUS_OCCS = " \ 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf new file mode 100644 index 0000000..3edc2fa --- /dev/null +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_inlet
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf new file mode 100644 index 0000000..790f97b --- /dev/null +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_left
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf new file mode 100644 index 0000000..6add805 --- /dev/null +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_right
diff --git a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf new file mode 100644 index 0000000..70f9826 --- /dev/null +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_mid