blob: 212859b02f41e76017b0d6fb8d00c17ca675c423 [file] [log] [blame]
Brandon Wyman37a50502017-05-22 17:35:07 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
Andrew Geissler30077452017-05-23 15:48:33 -05003WSPOON_CHIPS = " \
4 i2c@1e78a000/i2c-bus@100/bmp280@77 \
5 i2c@1e78a000/i2c-bus@100/dps310@76 \
Andrew Geissler10129c52017-05-25 16:21:00 -05006 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 Geissler30077452017-05-23 15:48:33 -050010 "
Brandon Wyman37a50502017-05-22 17:35:07 -050011WSPOON_ITEMSFMT = "ahb/apb/{0}.conf"
Brandon Wyman37a50502017-05-22 17:35:07 -050012WSPOON_ITEMS = "${@compose_list(d, 'WSPOON_ITEMSFMT', 'WSPOON_CHIPS')}"
13
Andrew Geissler2e23fb62017-05-26 16:39:03 -050014WSPOON_OCCS = " \
Andrew Geissler92b2f5d2017-06-13 11:38:57 -050015 sbefifo@2400/occ@1/occ-hwmon@1 \
16 hub@3400/cfam@1,0/sbefifo@2400/occ@2/occ-hwmon@2 \
Andrew Geissler2e23fb62017-05-26 16:39:03 -050017 "
Andrew Geissler92b2f5d2017-06-13 11:38:57 -050018WSPOON_OCCSFMT = "gpio-fsi/cfam@0,0/{0}.conf"
Andrew Geissler2e23fb62017-05-26 16:39:03 -050019WSPOON_OCCITEMS = "${@compose_list(d, 'WSPOON_OCCSFMT', 'WSPOON_OCCS')}"
20
Brandon Wyman37a50502017-05-22 17:35:07 -050021ENVS = "obmc/hwmon/{0}"
22SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_ITEMS')}"
Andrew Geissler2e23fb62017-05-26 16:39:03 -050023SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'WSPOON_OCCITEMS')}"