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 \ |
Andrew Geissler | 10129c5 | 2017-05-25 16:21:00 -0500 | [diff] [blame] | 6 | i2c@1e78a000/i2c-bus@140/ir35221@70 \ |
| 7 | i2c@1e78a000/i2c-bus@140/ir35221@71 \ |
| 8 | i2c@1e78a000/i2c-bus@180/ir35221@70 \ |
| 9 | i2c@1e78a000/i2c-bus@180/ir35221@71 \ |
Andrew Geissler | 3007745 | 2017-05-23 15:48:33 -0500 | [diff] [blame] | 10 | " |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 11 | WSPOON_ITEMSFMT = "ahb/apb/{0}.conf" |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 12 | WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}" |
| 13 | |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 14 | WSPOON_OCCS = " \ |
| 15 | cfam@0,0/sbefifo@2400/occ@1 \ |
| 16 | cfam@0,0/sbefifo@82400/occ@2 \ |
| 17 | " |
| 18 | WSPOON_OCCSFMT = "base/gpio-fsi/{0}.conf" |
| 19 | WSPOON_OCCITEMS = "${@compose_list(d, 'WSPOON_OCCSFMT', 'WSPOON_OCCS')}" |
| 20 | |
Brandon Wyman | 37a5050 | 2017-05-22 17:35:07 -0500 | [diff] [blame] | 21 | ENVS = "obmc/hwmon/{0}" |
| 22 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_ITEMS')}" |
Andrew Geissler | 2e23fb6 | 2017-05-26 16:39:03 -0500 | [diff] [blame] | 23 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_OCCITEMS')}" |