ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998
Clients of VADC_HC and BTM include reading voltage phone power, system thermistors for thermal mitigation such as msm_therm, case_therm, XO therm. Add the supported VADC and BTM channels for the msm8998-qrd-vr1 platforms. CRs-Fixed: 1090542 Change-Id: I4cda24b1be20310f54ceba1297f424ede1c5d889 Signed-off-by: King Li <kjli@codeaurora.org>
This commit is contained in:
parent
bee274711e
commit
642cb61f18
1 changed files with 102 additions and 0 deletions
|
@ -144,3 +144,105 @@
|
|||
&pmi8998_haptics {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8998_vadc {
|
||||
chan@83 {
|
||||
label = "vph_pwr";
|
||||
reg = <0x83>;
|
||||
qcom,decimation = <2>;
|
||||
qcom,pre-div-channel-scaling = <1>;
|
||||
qcom,calibration-type = "absolute";
|
||||
qcom,scale-function = <0>;
|
||||
qcom,hw-settle-time = <0>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
|
||||
chan@85 {
|
||||
label = "vcoin";
|
||||
reg = <0x85>;
|
||||
qcom,decimation = <2>;
|
||||
qcom,pre-div-channel-scaling = <1>;
|
||||
qcom,calibration-type = "absolute";
|
||||
qcom,scale-function = <0>;
|
||||
qcom,hw-settle-time = <0>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
|
||||
chan@4c {
|
||||
label = "xo_therm";
|
||||
reg = <0x4c>;
|
||||
qcom,decimation = <2>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <4>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
|
||||
chan@4d {
|
||||
label = "msm_therm";
|
||||
reg = <0x4d>;
|
||||
qcom,decimation = <2>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <2>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
|
||||
chan@51 {
|
||||
label = "quiet_therm";
|
||||
reg = <0x51>;
|
||||
qcom,decimation = <2>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <2>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm8998_adc_tm {
|
||||
chan@83 {
|
||||
label = "vph_pwr";
|
||||
reg = <0x83>;
|
||||
qcom,pre-div-channel-scaling = <1>;
|
||||
qcom,calibration-type = "absolute";
|
||||
qcom,scale-function = <0>;
|
||||
qcom,hw-settle-time = <0>;
|
||||
qcom,btm-channel-number = <0x60>;
|
||||
};
|
||||
|
||||
chan@4d {
|
||||
label = "msm_therm";
|
||||
reg = <0x4d>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <2>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,btm-channel-number = <0x68>;
|
||||
qcom,thermal-node;
|
||||
};
|
||||
|
||||
chan@51 {
|
||||
label = "quiet_therm";
|
||||
reg = <0x51>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <2>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,btm-channel-number = <0x70>;
|
||||
qcom,thermal-node;
|
||||
};
|
||||
|
||||
chan@4c {
|
||||
label = "xo_therm";
|
||||
reg = <0x4c>;
|
||||
qcom,pre-div-channel-scaling = <0>;
|
||||
qcom,calibration-type = "ratiometric";
|
||||
qcom,scale-function = <4>;
|
||||
qcom,hw-settle-time = <2>;
|
||||
qcom,btm-channel-number = <0x78>;
|
||||
qcom,thermal-node;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue