hikey960: Allow powerHAL to access tunables in /sys/class/devfreq am: 76555470f8
am: 459b0d6877

Change-Id: Ic48806df5f3d7caf74362d15c80841300a7ce867
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c5edebb..85c43d2 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -19,3 +19,6 @@
 
 # /data
 /data/vendor/sensor(/.*)?        u:object_r:sensor_vendor_data_file:s0
+
+/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq		u:object_r:sysfs_power:s0
+/sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/min_freq	u:object_r:sysfs_power:s0
diff --git a/ueventd.common.rc b/ueventd.common.rc
index 0a3c7e4..6c7014a 100644
--- a/ueventd.common.rc
+++ b/ueventd.common.rc
@@ -9,3 +9,6 @@
 /dev/nanohub              0660   system     system
 /dev/nanohub_comms        0660   system     system
 /dev/hifi_misc   0666 system audio
+
+/sys/class/devfreq/ddr_devfreq/min_freq		min_freq	0644	system	system
+/sys/class/devfreq/e82c0000.mali/min_freq	min_freq	0644	system	system