Skip to content
Snippets Groups Projects
Commit 086acdec authored by Devin Kim's avatar Devin Kim
Browse files

arm/dt: dory: Support earjack debugger


Change-Id: I7c12a6ddacbe56c3180c86d9af26e8c38b5f33d7
Signed-off-by: default avatarDevin Kim <dojip.kim@lge.com>
parent 56fa7aa7
Branches
Tags
No related merge requests found
......@@ -26,4 +26,11 @@
vdd-supply = <&pm8226_l28>;
use-vdd-supply;
};
earjack-debugger {
compatible = "serial,earjack-debugger";
status = "ok";
qcom,usbid-adc_tm = <&pm8226_adc_tm>;
qcom,usbid-vadc = <&pm8226_vadc>;
};
};
......@@ -287,6 +287,17 @@
};
&pm8226_vadc {
chan@4 {
label = "usb_id_mv";
reg = <0x4>;
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>;
};
chan@14 {
label = "pa_therm0";
reg = <0x14>;
......@@ -322,6 +333,20 @@
};
&pm8226_adc_tm {
chan@b9 {
label = "usb_id";
reg = <0xb9>;
qcom,decimation = <0>;
qcom,pre-div-channel-scaling = <0>;
qcom,calibration-type = "ratiometric";
qcom,scale-function = <2>;
qcom,hw-settle-time = <2>;
qcom,fast-avg-setup = <3>;
qcom,btm-channel-number = <0x88>;
};
};
&soc {
/* Cable type definition.
* Modify the USB cable and move to SoC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment