sdm845-common: Add missing power_supply genfscon rules

Change-Id: I8d6716ce364891483701f38bcc855d84249154fd
This commit is contained in:
Luca Stefani 2018-09-14 12:26:18 +02:00
parent 4b1d9b429e
commit 790fc7c7d9
2 changed files with 3 additions and 0 deletions

View file

@ -7,3 +7,4 @@ type persist_file, file_type;
type proc_touchpanel, fs_type; type proc_touchpanel, fs_type;
type sysfs_fpc_proximity, sysfs_type, fs_type; type sysfs_fpc_proximity, sysfs_type, fs_type;
type sysfs_oem, sysfs_type, fs_type; type sysfs_oem, sysfs_type, fs_type;
type sysfs_battery_supply, sysfs_type, fs_type;

View file

@ -0,0 +1,2 @@
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2/power_supply/dc u:object_r:sysfs_battery_supply:s0
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2/power_supply/main u:object_r:sysfs_battery_supply:s0