diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2018-04-12 13:04:17 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2018-04-12 16:45:11 -0700 |
commit | 76555470f83e17c367cd984c51dc09e65a522280 (patch) | |
tree | 2edad3bc4df3903765c0e1064a643c94b77b15f3 | |
parent | 98e17f6e55e1f000b9be2df85e647ada33e741c1 (diff) | |
download | hikey-o-mr1-iot-preview-8.tar.gz |
hikey960: Allow powerHAL to access tunables in /sys/class/devfreqandroid-o-mr1-iot-preview-8o-mr1-iot-preview-8
Bug: 77971261
Test: Manual
Change-Id: I78c9ad66fc5fac1151c436e3bd055c1d4779b68e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | ueventd.common.rc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index c5edebbd..85c43d29 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 0a3c7e4b..6c7014a4 100644 --- a/ueventd.common.rc +++ b/ueventd.common.rc @@ -9,3 +9,6 @@ subsystem usbmisc /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 |