sm6225-common: Label power supply nodes
Change-Id: Icadb1ae14a530dcb409928bdff2fcac54773d70e
This commit is contained in:
parent
23b675da2d
commit
e323ba70ad
1 changed files with 11 additions and 0 deletions
11
sepolicy/vendor/genfs_contexts
vendored
11
sepolicy/vendor/genfs_contexts
vendored
|
@ -1,6 +1,13 @@
|
|||
# Camera
|
||||
genfscon sysfs /devices/platform/cam_sync/video4linux/video1/name u:object_r:sysfs_graphics:s0
|
||||
|
||||
# Health
|
||||
genfscon sysfs /devices/platform/soc/4a84000.i2c/i2c-1/1-003b/power_supply/charger u:object_r:vendor_sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/4a80000.i2c/i2c-0/0-0064/power_supply/bms u:object_r:vendor_sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,charger/power_supply/mmi_battery u:object_r:vendor_sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/dc u:object_r:vendor_sysfs_battery_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/battery u:object_r:vendor_sysfs_battery_supply:s0
|
||||
|
||||
# Input Devices
|
||||
genfscon sysfs /devices/virtual/input u:object_r:vendor_sysfs_input:s0
|
||||
|
||||
|
@ -15,3 +22,7 @@ genfscon proc /sys/kernel/sched_lib_mask_force
|
|||
|
||||
# Touchscreen
|
||||
genfscon sysfs /class/touchscreen u:object_r:vendor_sysfs_touchpanel:s0
|
||||
|
||||
# USB
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/pc_port u:object_r:vendor_sysfs_usb_supply:s0
|
||||
genfscon sysfs /devices/platform/soc/soc:mmi,discrete-charging/power_supply/usb u:object_r:vendor_sysfs_usb_supply:s0
|
||||
|
|
Loading…
Reference in a new issue