mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
ARM: dts: msm: Configure RX sleep state with GPIO mode for wakeup
This change configures sleep state of UART RX line into GPIO mode to support the wakeup feature. Pinctrl driver and wakeup functionality expects PIN to be in gpio mode. Change-Id: If4133645023050bf93b96ba8c358baa1ef87f3e6
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
d4238e8eb0
commit
f794bd404b
@@ -1396,14 +1396,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_se20_ctsrx: qupv3_se20_ctsrx {
|
||||
qupv3_se20_cts: qupv3_se20_cts {
|
||||
mux {
|
||||
pins = "gpio76", "gpio79";
|
||||
pins = "gpio76";
|
||||
function = "qup20";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio76", "gpio79";
|
||||
pins = "gpio76";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
@@ -1434,6 +1434,33 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
/* RX to be in gpio mode for sleep config */
|
||||
qupv3_se20_rx_wake: qupv3_se20_rx_wake {
|
||||
mux {
|
||||
pins = "gpio79";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio79";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_se20_rx_active: qupv3_se20_rx_active {
|
||||
mux {
|
||||
pins = "gpio79";
|
||||
function = "qup20";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio79";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nfc {
|
||||
|
||||
@@ -1069,10 +1069,10 @@
|
||||
pinctrl-names = "default", "active", "sleep";
|
||||
pinctrl-0 = <&qupv3_se20_default_cts>,
|
||||
<&qupv3_se20_default_rtsrx>, <&qupv3_se20_default_tx>;
|
||||
pinctrl-1 = <&qupv3_se20_ctsrx>, <&qupv3_se20_rts>,
|
||||
<&qupv3_se20_tx>;
|
||||
pinctrl-2 = <&qupv3_se20_ctsrx>, <&qupv3_se20_rts>,
|
||||
<&qupv3_se20_tx>;
|
||||
pinctrl-1 = <&qupv3_se20_cts>, <&qupv3_se20_rts>,
|
||||
<&qupv3_se20_tx>, <&qupv3_se20_rx_active>;
|
||||
pinctrl-2 = <&qupv3_se20_cts>, <&qupv3_se20_rts>,
|
||||
<&qupv3_se20_tx>, <&qupv3_se20_rx_wake>;
|
||||
qcom,wakeup-byte = <0xFD>;
|
||||
qcom,wrapper-core = <&qupv3_2>;
|
||||
status = "disabled";
|
||||
|
||||
Reference in New Issue
Block a user