Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
Andrew Geissler | 3007745 | 2017-05-23 15:48:33 -0500 | [diff] [blame] | 3 | WSPOON_CHIPS = " \ |
| 4 | i2c@1e78a000/i2c-bus@100/bmp280@77 \ |
| 5 | i2c@1e78a000/i2c-bus@100/dps310@76 \ |
Brad Bishop | 0cf11c2 | 2017-07-10 20:49:00 -0400 | [diff] [blame] | 6 | i2c@1e78a000/i2c-bus@100/max31785@52 \ |
Matt Spinler | 49195bf | 2017-08-14 09:29:22 -0500 | [diff] [blame] | 7 | i2c@1e78a000/i2c-bus@100/power-supply@68 \ |
| 8 | i2c@1e78a000/i2c-bus@100/power-supply@69 \ |
Andrew Geissler | 10129c5 | 2017-05-25 16:21:00 -0500 | [diff] [blame] | 9 | i2c@1e78a000/i2c-bus@140/ir35221@70 \ |
| 10 | i2c@1e78a000/i2c-bus@140/ir35221@71 \ |
| 11 | i2c@1e78a000/i2c-bus@180/ir35221@70 \ |
| 12 | i2c@1e78a000/i2c-bus@180/ir35221@71 \ |
Andrew Geissler | 3007745 | 2017-05-23 15:48:33 -0500 | [diff] [blame] | 13 | " |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 14 | WSPOON_ITEMSFMT = "ahb/apb/{0}.conf" |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 15 | WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}" |
| 16 | |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 17 | WSPOON_OCCS = " \ |
Andrew Geissler | 92b2f5d | 2017-06-13 11:38:57 -0500 | [diff] [blame] | 18 | sbefifo@2400/occ@1/occ-hwmon@1 \ |
| 19 | hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \ |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 20 | " |
Andrew Geissler | 92b2f5d | 2017-06-13 11:38:57 -0500 | [diff] [blame] | 21 | WSPOON_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf" |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 22 | WSPOON_OCCITEMS = "${@compose_list(d, 'WSPOON_OCCSFMT', 'WSPOON_OCCS')}" |
| 23 | |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 24 | ENVS = "obmc/hwmon/{0}" |
| 25 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_ITEMS')}" |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 26 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_OCCITEMS')}" |
Brad Bishop | 59a36b6 | 2017-08-21 20:10:29 -0400 | [diff] [blame] | 27 | |
| 28 | SYSTEMD_ENVIRONMENT_FILE_max31785-msl += "obmc/hwmon-max31785/wspoon.conf" |
| 29 | SYSTEMD_LINK_max31785-msl += "../phosphor-max31785-msl@.service:${SYSTEMD_DEFAULT_TARGET}.wants/phosphor-max31785-msl@wspoon.service" |