ARM: dts: qcom: Enable epm device driver for anorak

It enables to measure different pmic regulator power consumption
data and pmic temperature data. It exposes these data to userspace
clients via powercap sysfs interface and thermal zone sysfs
interface respectively.

Change-Id: Iad3f30aef0392e0cea16fc3b9ea4bd74670e4594
This commit is contained in:
Manaf Meethalavalappu Pallikunhi
2022-09-22 17:25:29 +05:30
committed by Gerrit - the friendly Code Review server
parent 436b729520
commit f563fc6409

View File

@@ -84,6 +84,16 @@
reg = <0x9d00>;
};
pmk8550_sdam_49: sdam@a000 {
compatible = "qcom,spmi-sdam";
reg = <0xa000>;
};
pmk8550_sdam_53: sdam@a400 {
compatible = "qcom,spmi-sdam";
reg = <0xa400>;
};
pmk8550_gpios: pinctrl@b800 {
compatible = "qcom,pmk8550-gpio";
reg = <0xb800>;
@@ -237,5 +247,23 @@
qcom,pre-scaling = <1 1>;
};
};
qti_epm: qcom,epm-device {
compatible = "qcom,epm-devices";
nvmem = <&pmk8550_sdam_49>,
<&pmk8550_sdam_53>;
nvmem-names = "epm-config-sdam",
"epm-10s-avg-sdam";
qcom,reg-ppid-ids = /bits/ 16 <0x1e4 0x19b 0x19e 0x1a1
0x1a4 0x2a1 0x2a4 0x2aa 0x3a4 0x3a7
0x3aa 0x59e 0x5a4 0x5a7>;
qcom,reg-ppid-names = "sub_reg", "hv_sub_reg",
"mv_sub_reg_ldo", "lv_sub_reg_ldo",
"multimedia", "mxa", "apc0", "apc1",
"ebi", "vddq", "cx", "mxc",
"wlan_cx", "gfx";
};
};
};