commit | 68001a69df61f88853b53b94032e115689cd8bd6 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Mon Sep 24 08:41:30 2018 -0700 |
committer | Patrick Venture <venture@google.com> | Mon Sep 24 11:23:13 2018 -0700 |
tree | e6fb3fc4d4a96788eb304e1043c0e70abc124bae | |
parent | 382434cf22a2138b5b36acc5de782934386f9c3a [diff] |
meta-zaius: phosphor-hwmon: add pwm-tacho-controller The zaius device tree specifies the pwm-tacho-controller device. This adds the phosphor-hwmon configuration for each. Change-Id: Ida42432ebb1709ba770222eeed6bf9e99e6ff7b1 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 d6aaee3..3e6b729 100644 --- a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -2,6 +2,7 @@ ZAIUS_CHIPS = "i2c@1e78a000/i2c-bus@40/ucd90160@64" ZAIUS_CHIPS += " i2c@1e78a000/i2c-bus@300/pca9541a@70/i2c-arb/hotswap@54" +ZAIUS_CHIPS += " pwm-tacho-controller@1e786000" ZAIUS_ITEMSFMT = "ahb/apb/{0}.conf" ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}"
diff --git a/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf new file mode 100644 index 0000000..3765a6c --- /dev/null +++ b/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf
@@ -0,0 +1,4 @@ +LABEL_fan1=fan0 +LABEL_fan2=fan1 +LABEL_fan3=fan2 +LABEL_fan4=fan3