commit | f7f4b98bd6312ae0426282f43e8daca0f92fa681 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon Sep 24 08:29:58 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Mon Sep 24 11:23:13 2018 -0700 |
tree | 455866fd0834c5ece114dee33b8f7eb8bfa2ced3 | |
parent | c793f7f09b9e8781ae5de2f9ca9bdcc4265e096f [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. Change-Id: Ie065e4b7db70eab8e6a43f9a6986d24b19f99c7c Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index de6dff1..0de043b 100644 --- a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/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-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf new file mode 100644 index 0000000..3edc2fa --- /dev/null +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire0.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_inlet
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf new file mode 100644 index 0000000..790f97b --- /dev/null +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire1.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_left
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf new file mode 100644 index 0000000..6add805 --- /dev/null +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire2.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_right
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf new file mode 100644 index 0000000..70f9826 --- /dev/null +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/onewire3.conf
@@ -0,0 +1 @@ +LABEL_temp1=w1_exhaust_mid