From a71f245d4efa262ad38b99ae671508a879394e9d Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 25 Apr 2021 15:40:02 +0200 Subject: [PATCH] sweet: sepolicy: Label ds28e16 and bq2597x Change-Id: I732cf50843c5ff807d4e3f52f227fa2508c83146 --- sepolicy/vendor/genfs_contexts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index 6d5c9d2..e505205 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -1,3 +1,10 @@ +# bq2597x charge pump +genfscon sysfs /devices/platform/soc/a8c000.i2c/i2c-2/2-0051/power_supply/bq2597x-standalone u:object_r:vendor_sysfs_usb_supply:s0 +genfscon sysfs /devices/platform/soc/a8c000.i2c/i2c-2/2-0066/power_supply/bq2597x-standalone u:object_r:vendor_sysfs_usb_supply:s0 + +# ds28e16 battery verify +genfscon sysfs /devices/platform/soc/soc:maxim_ds28e16/power_supply/batt_verify u:object_r:vendor_sysfs_battery_supply:s0 + # Fingerprint genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/device_prepare u:object_r:vendor_sysfs_fingerprint:s0 genfscon sysfs /devices/platform/soc/soc:fingerprint_fpc/fingerdown_wait u:object_r:vendor_sysfs_fingerprint:s0