diff options
author | Patrick Venture <venture@google.com> | 2018-09-24 18:41:30 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-25 14:48:05 +0300 |
commit | 128028122c05339dbbce1ef9ded2cbf18ff2849c (patch) | |
tree | a5ab7227ea8962c8ddb591a332b75166219b9757 /meta-ingrasys/meta-zaius | |
parent | 0902f6ef6f3cf341eaefc1dbdcbbc627dc0fe296 (diff) | |
download | openbmc-128028122c05339dbbce1ef9ded2cbf18ff2849c.tar.xz |
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.
(From meta-ingrasys rev: 68001a69df61f88853b53b94032e115689cd8bd6)
Change-Id: I3828aa8a32de077dae04ebd0a99d0bfb45f85b11
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ingrasys/meta-zaius')
2 files changed, 5 insertions, 0 deletions
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 d6aaee3f8b..3e6b729646 100644 --- a/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%.bbappend @@ -2,6 +2,7 @@ FILESEXTRAPATHS_prepend_zaius := "${THISDIR}/${PN}:" 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-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf b/meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/pwm-tacho-controller@1e786000.conf new file mode 100644 index 0000000000..3765a6cf4d --- /dev/null +++ b/meta-ingrasys/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 |