George Liu | 54ca2d0 | 2019-06-13 09:33:14 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | EXTRA_OECONF_append_fp5280g2= " --enable-negative-errno-on-fail" |
| 4 | |
| 5 | CHIPS = " \ |
| 6 | bus@1e78a000/i2c-bus@c0/tmp112@48 \ |
| 7 | bus@1e78a000/i2c-bus@c0/tmp112@49 \ |
| 8 | bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@0/tmp112@4a \ |
| 9 | bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@1/tmp112@4a \ |
| 10 | bus@1e78a000/i2c-bus@c0/i2c-switch@70/i2c@2/tmp112@4a \ |
George Liu | 20f990f | 2019-08-01 10:14:21 +0800 | [diff] [blame] | 11 | bus@1e78a000/i2c-bus@400/power-supply@58 \ |
| 12 | bus@1e78a000/i2c-bus@400/power-supply@59 \ |
George Liu | 54ca2d0 | 2019-06-13 09:33:14 +0800 | [diff] [blame] | 13 | pwm-tacho-controller@1e786000 \ |
| 14 | " |
| 15 | ITEMSFMT = "ahb/apb/{0}.conf" |
| 16 | |
| 17 | ITEMS = "${@compose_list(d, 'ITEMSFMT', 'CHIPS')}" |
| 18 | ITEMS += "iio-hwmon.conf iio-hwmon-battery.conf" |
| 19 | |
John Wang | 69fca2e | 2019-06-14 11:38:32 +0800 | [diff] [blame] | 20 | OCCS = " \ |
| 21 | 00--00--00--06/sbefifo1-dev0/occ-hwmon.1 \ |
| 22 | 00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2 \ |
| 23 | " |
| 24 | |
George Liu | d1a90aa | 2020-10-02 16:39:04 +0800 | [diff] [blame^] | 25 | OCCSFMT = "devices/platform/gpio-fsi/fsi-master/fsi0/slave@00--00/{0}.conf" |
John Wang | 69fca2e | 2019-06-14 11:38:32 +0800 | [diff] [blame] | 26 | OCCITEMS = "${@compose_list(d, 'OCCSFMT', 'OCCS')}" |
| 27 | |
George Liu | 54ca2d0 | 2019-06-13 09:33:14 +0800 | [diff] [blame] | 28 | ENVS = "obmc/hwmon/{0}" |
John Wang | 69fca2e | 2019-06-14 11:38:32 +0800 | [diff] [blame] | 29 | SYSTEMD_ENVIRONMENT_FILE_${PN}_append_fp5280g2 = " ${@compose_list(d, 'ENVS', 'ITEMS')}" |
| 30 | SYSTEMD_ENVIRONMENT_FILE_${PN}_append_fp5280g2 = " ${@compose_list(d, 'ENVS', 'OCCITEMS')}" |