Merge "sepolicy: add sysfs paths for mhi timesync feature support"

This commit is contained in:
qctecmdr 2019-06-08 12:37:14 -07:00 committed by Gerrit - the friendly Code Review server
commit 345bdfcd92
4 changed files with 39 additions and 0 deletions

View file

@ -70,6 +70,18 @@ genfscon sysfs /devices/platform/soc/soc:qcom,cpu4-cpu-ddr-latfloor/devfreq u:ob
#mhi sysfs
genfscon sysfs /devices/platform/soc/1c10000.qcom,pcie/pci0002:00/0002:00:00.0/0002:01:00.0/0306_02.01.00_QMI0 u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/platform/soc/1c10000.qcom,pcie/pci0002:00/0002:00:00.0/0002:01:00.0/0306_02.01.00_QMI1 u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time_us u:object_r:sysfs_mhi:s0
# Power supply device nodes
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/power_supply/battery u:object_r:sysfs_battery_supply:s0

View file

@ -108,6 +108,18 @@ genfscon sysfs /bus/mhi/devices/0304_00.01.00_QMI1/mhi_uci u:object_r:sysfs_mhi:
genfscon sysfs /bus/mhi/devices/0306_00.01.00_QMI1/mhi_uci u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/platform/soc/1c08000.qcom,pcie/pci0001:00/0001:00:00.0/0001:01:00.0/0306_01.01.00_QMI0 u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/platform/soc/1c08000.qcom,pcie/pci0001:00/0001:00:00.0/0001:01:00.0/0306_01.01.00_QMI1 u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time_us u:object_r:sysfs_mhi:s0
#net sysfs
genfscon sysfs /devices/platform/soc/1c08000.qcom,pcie/pci0001:00/0001:00:00.0/0001:01:00.0/0306_01.01.00_IP_HW0/net u:object_r:sysfs_net:s0

View file

@ -403,3 +403,6 @@ type sysfs_qvr_external_sensor, sysfs_type, fs_type;
# /dev/msm_aac_in
type msm_aac_in_device, dev_type;
# sysfs mhi file
type sysfs_mhi, sysfs_type, fs_type;

View file

@ -74,3 +74,15 @@ genfscon sysfs /kernel/qvr_external_sensor u:object_r:sysfs_qvr_external_sensor:
genfscon sysfs /devices/virtual/xt_hardidletimer/timers u:object_r:sysfs_data:s0
genfscon sysfs /devices/virtual/xt_idletimer/timers u:object_r:sysfs_data:s0
genfscon sysfs /devices/0306_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/0306_02.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_00.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_01.01.00/time_us u:object_r:sysfs_mhi:s0
genfscon sysfs /devices/1101_02.01.00/time_us u:object_r:sysfs_mhi:s0