blob: 6ee00c0e104cdc7f8374de7a66f169f84d77d7af [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 = " \
15 cfam@0,0/sbefifo@2400/occ@1 \
16 cfam@0,0/sbefifo@82400/occ@2 \
17 "
18WSPOON_OCCSFMT = "base/gpio-fsi/{0}.conf"
19WSPOON_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')}"