universal7580: sepolicy: label a7xelte devices
authorDanny Wood <danwood76@gmail.com>
Mon, 6 Jul 2020 10:04:59 +0000 (11:04 +0100)
committerDanny Wood <danwood76@gmail.com>
Mon, 6 Jul 2020 14:58:14 +0000 (15:58 +0100)
Change-Id: I6725ae31894de59e910dbb9425fbb7e7fbba6f5f

sepolicy/genfs_contexts

index 52c7a6deb9380b871d14781d4e33ac5ffc73b976..c889e68ca204e8f550da57dde19c1d9a99c216ae 100644 (file)
@@ -48,6 +48,13 @@ genfscon sysfs /devices/13850000.i2c/i2c-10/10-0020/input/input3            u:ob
 genfscon sysfs /devices/i2c.20/i2c-4/4-0020/input/input2                    u:object_r:sysfs_input:s0
 genfscon sysfs /devices/virtual/fingerprint/fingerprint                     u:object_r:sysfs_input:s0
 
+# A7 power devices
+genfscon sysfs /devices/i2c.42/i2c-6/6-0071/power_supply                    u:object_r:sysfs_usb_supply:s0
+
+# A7 input devices
+genfscon sysfs /devices/13850000.i2c/i2c-10/10-0048/input/input3            u:object_r:sysfs_input:s0
+genfscon sysfs /devices/i2c.21/i2c-4/4-0020/input/input2                    u:object_r:sysfs_input:s0
+
 # J7 power devices
 genfscon sysfs /devices/13850000.i2c/i2c-8/8-0049/sm5703-charger/power_supply       u:object_r:sysfs_usb_supply:s0