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 \ |
Matthew Barth | d730e47 | 2017-11-14 09:35:04 -0600 | [diff] [blame] | 13 | i2c@1e78a000/i2c-bus@380/tmp275@4a \ |
Andrew Geissler | 3007745 | 2017-05-23 15:48:33 -0500 | [diff] [blame] | 14 | " |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 15 | WSPOON_ITEMSFMT = "ahb/apb/{0}.conf" |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 16 | WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}" |
| 17 | |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 18 | WSPOON_OCCS = " \ |
Andrew Geissler | 92b2f5d | 2017-06-13 11:38:57 -0500 | [diff] [blame] | 19 | sbefifo@2400/occ@1/occ-hwmon@1 \ |
| 20 | hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \ |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 21 | " |
Andrew Geissler | 92b2f5d | 2017-06-13 11:38:57 -0500 | [diff] [blame] | 22 | WSPOON_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf" |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 23 | WSPOON_OCCITEMS = "${@compose_list(d, 'WSPOON_OCCSFMT', 'WSPOON_OCCS')}" |
| 24 | |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 25 | ENVS = "obmc/hwmon/{0}" |
| 26 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_ITEMS')}" |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 27 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_OCCITEMS')}" |
Brad Bishop | 59a36b6 | 2017-08-21 20:10:29 -0400 | [diff] [blame] | 28 | |
| 29 | SYSTEMD_ENVIRONMENT_FILE_max31785-msl += "obmc/hwmon-max31785/wspoon.conf" |
| 30 | SYSTEMD_LINK_max31785-msl += "../phosphor-max31785-msl@.service:${SYSTEMD_DEFAULT_TARGET}.wants/phosphor-max31785-msl@wspoon.service" |