summaryrefslogtreecommitdiff
path: root/bindings/serial
diff options
context:
space:
mode:
authorMitul Golani <mgolani@qti.qualcomm.com>2019-06-11 17:27:22 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-07-14 21:44:20 -0700
commitf025f0a9f3e98b77103230d6b171e9a25b54a1ca (patch)
tree21250567591860eeb1e1484e1ba2aff95f4886c9 /bindings/serial
parent4d449f4ae6a561eb1c9db9684abe42f5300f1e8f (diff)
downloaddevicetree-f025f0a9f3e98b77103230d6b171e9a25b54a1ca.tar.gz
ARM: dts: msm: Add default pinctrl state for kona HSUART
when device gets probed, kernel picks up default state and sets pinctrl to that configuration. Since default state contains UART functionality, it remains high which consumes power. To resolve power leakage issue, add additional active state to configure UART functionality and keep default state for the GPIO state during probe. Change-Id: I6b13dde29a325529575876a48b6a43f4ba18eb71
Diffstat (limited to 'bindings/serial')
-rw-r--r--bindings/serial/qcom,msm-geni-uart.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/bindings/serial/qcom,msm-geni-uart.txt b/bindings/serial/qcom,msm-geni-uart.txt
index 5975753a..54382e84 100644
--- a/bindings/serial/qcom,msm-geni-uart.txt
+++ b/bindings/serial/qcom,msm-geni-uart.txt
@@ -12,9 +12,10 @@ Required properties:
- reg: Should contain UART register location and length.
- interrupts: Should contain UART core interrupts.
- clocks: clocks needed for UART, includes the core and AHB clock.
-- pinctrl-names/pinctrl-0/1: The GPIOs assigned to this core. The names
- Should be "active" and "sleep" for the pin confuguration when core is active
- or when entering sleep state.
+- pinctrl-names/pinctrl-0/1/2: The GPIOs assigned to this core. The names
+ Should be "default", "active" and "sleep" for the pin confuguration.
+ It should be in "default" for the default pin configuration during probe,
+ in "active" when core is active or in "sleep" when entering in sleep state.
- qcom,wrapper-core: Wrapper QUPv3 core containing this UART controller.
Optional properties:
@@ -31,9 +32,10 @@ qupv3_uart11: qcom,qup_uart@0xa88000 {
clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>,
<&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
<&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
- pinctrl-names = "default", "sleep";
- pinctrl-0 = <&qup_1_uart_3_active>;
- pinctrl-1 = <&qup_1_uart_3_sleep>;
+ pinctrl-names = "default", "active", "sleep";
+ pinctrl-0 = <&qup_1_uart_3_default>;
+ pinctrl-1 = <&qup_1_uart_3_active>;
+ pinctrl-2 = <&qup_1_uart_3_sleep>;
interrupts = <0 355 0>;
qcom,wrapper-core = <&qupv3_0>;
qcom,change-sampling-rate;