blob: 1aaa6311b1389d7dbf5b3193a6be78c22fd0032c [file] [log] [blame]
Emily Shaffere412be52017-05-05 18:12:44 -07001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
Andrew Geissler0a69ebe2017-07-12 16:19:14 -05003ZAIUS_CHIPS = "i2c@1e78a000/i2c-bus@40/ucd90160@64"
4ZAIUS_ITEMSFMT = "ahb/apb/{0}.conf"
Emily Shaffere412be52017-05-05 18:12:44 -07005
Andrew Geissler0a69ebe2017-07-12 16:19:14 -05006ZAIUS_ITEMS = "${@compose_list(d, 'ZAIUS_ITEMSFMT', 'ZAIUS_CHIPS')}"
7
8ZAIUS_OCCS = " \
Joel Stanley253f4d02017-09-05 17:44:33 +10009 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \
10 00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \
Andrew Geissler0a69ebe2017-07-12 16:19:14 -050011 "
Joel Stanley253f4d02017-09-05 17:44:33 +100012ZAIUS_OCCSFMT = "devices/platform/gpio-fsi/fsi0/slave@00--00/{0}.conf"
Andrew Geissler0a69ebe2017-07-12 16:19:14 -050013ZAIUS_OCCITEMS = "${@compose_list(d, 'ZAIUS_OCCSFMT', 'ZAIUS_OCCS')}"
Emily Shaffere412be52017-05-05 18:12:44 -070014
15ENVS = "obmc/hwmon/{0}"
Andrew Geissler0a69ebe2017-07-12 16:19:14 -050016SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_ITEMS')}"
17SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'ENVS', 'ZAIUS_OCCITEMS')}"