mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
dt: msm-pm8941: Add IADC node
Add IADC main node and channel node to read internal rsense. Change-Id: Iaf1e66e60f1d3c7f81061b1c21e5a68a7803bf8a Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
This commit is contained in:
parent
6ded5b5ee9
commit
6fb7004597
1 changed files with 20 additions and 0 deletions
|
@ -351,6 +351,26 @@
|
|||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
iadc@3600 {
|
||||
compatible = "qcom,qpnp-iadc";
|
||||
reg = <0x3600 0x100>;
|
||||
interrupts = <0x0 0x36 0x0>;
|
||||
qcom,adc-bit-resolution = <16>;
|
||||
qcom,adc-vdd-reference = <1800>;
|
||||
qcom,rsense = <1500>;
|
||||
|
||||
chan@0 {
|
||||
label = "internal_rsense";
|
||||
qcom,channel-num = <0>;
|
||||
qcom,decimation = <0>;
|
||||
qcom,pre-div-channel-scaling = <1>;
|
||||
qcom,calibration-type = "absolute";
|
||||
qcom,scale-function = <0>;
|
||||
qcom,hw-settle-time = <0>;
|
||||
qcom,fast-avg-setup = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qcom,pm8941@1 {
|
||||
|
|
Loading…
Reference in a new issue