Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions arch/arm64/boot/dts/qcom/comma_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,73 @@
extcon = <&extcon_usb1>;
};

&tlmm {
usb1_hs_pulldown {
usb1_hs_pulldown_active: usb1_hs_pulldown_active {
mux {
pins = "gpio122";
function = "gpio";
};
config {
pins = "gpio122";
drive-strength = <2>;
bias-pull-up;
output-high;
};
};
usb1_hs_pulldown_suspend: usb1_hs_pulldown_suspend {
mux {
pins = "gpio122";
function = "gpio";
};
config {
pins = "gpio122";
drive-strength = <2>;
bias-pull-down;
output-low;
};
};
};

usb2_hs_pulldown {
usb2_hs_pulldown_active: usb2_hs_pulldown_active {
mux {
pins = "gpio135";
function = "gpio";
};
config {
pins = "gpio135";
drive-strength = <2>;
bias-pull-up;
output-high;
};
};
usb2_hs_pulldown_suspend: usb2_hs_pulldown_suspend {
mux {
pins = "gpio135";
function = "gpio";
};
config {
pins = "gpio135";
drive-strength = <2>;
bias-pull-down;
output-low;
};
};
};
};

&qusb_phy0 {
pinctrl-names = "atest_usb13_suspend", "atest_usb13_active";
pinctrl-0 = <&usb1_hs_pulldown_suspend>;
pinctrl-1 = <&usb1_hs_pulldown_active>;
};

&qusb_phy1 {
status = "okay";
pinctrl-names = "atest_usb13_suspend", "atest_usb13_active";
pinctrl-0 = <&usb2_hs_pulldown_suspend>;
pinctrl-1 = <&usb2_hs_pulldown_active>;
};

&pmi8998_pdphy {
Expand Down
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/qcom/sdm845-670-usb-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
0x1024 0x85 0x00 /* COM_SSC_STEP_SIZE1 */
0x1028 0x07 0x00 /* COM_SSC_STEP_SIZE2 */
0x1430 0x0b 0x00 /* RXA_UCDR_FASTLOCK_FO_GAIN */
0x14d4 0x0f 0x00 /* RXA_RX_EQU_ADAPTOR_CNTRL2 */
0x14d4 0x0a 0x00 /* RXA_RX_EQU_ADAPTOR_CNTRL2 */
0x14d8 0x4e 0x00 /* RXA_RX_EQU_ADAPTOR_CNTRL3 */
0x14dc 0x18 0x00 /* RXA_RX_EQU_ADAPTOR_CNTRL4 */
0x14f8 0x77 0x00 /* RXA_RX_EQ_OFFSET_ADAPTOR_CNTRL1 */
Expand All @@ -232,7 +232,7 @@
0x1564 0x05 0x00 /* RXA_RX_MODE_00 */
0x14c0 0x03 0x00 /* RXA_VGA_CAL_CNTRL2 */
0x1830 0x0b 0x00 /* RXB_UCDR_FASTLOCK_FO_GAIN */
0x18d4 0x0f 0x00 /* RXB_RX_EQU_ADAPTOR_CNTRL2 */
0x18d4 0x0a 0x00 /* RXB_RX_EQU_ADAPTOR_CNTRL2 */
0x18d8 0x4e 0x00 /* RXB_RX_EQU_ADAPTOR_CNTRL3 */
0x18dc 0x18 0x00 /* RXB_RX_EQU_ADAPTOR_CNTRL4 */
0x18f8 0x77 0x00 /* RXB_RX_EQ_OFFSET_ADAPTOR_CNTRL1 */
Expand Down Expand Up @@ -522,7 +522,7 @@
0x4c0 0x0c 0x00 /* QSERDES_RX_VGA_CAL_CNTRL2 */
0x564 0x50 0x00 /* QSERDES_RX_RX_MODE_00 */
0x430 0x0b 0x00 /* QSERDES_RX_UCDR_FASTLOCK_FO_GAIN */
0x4d4 0x0e 0x00 /* QSERDES_RX_RX_EQU_ADAPTOR_CNTRL2 */
0x4d4 0x0a 0x00 /* QSERDES_RX_RX_EQU_ADAPTOR_CNTRL2 */
0x4d8 0x4e 0x00 /* QSERDES_RX_RX_EQU_ADAPTOR_CNTRL3 */
0x4dc 0x18 0x00 /* QSERDES_RX_RX_EQU_ADAPTOR_CNTRL4 */
0x4f8 0x77 0x00 /* RX_RX_EQ_OFFSET_ADAPTOR_CNTRL1 */
Expand Down