From 48da5e079acddc2d19d97ec8aabb62700b3f7503 Mon Sep 17 00:00:00 2001 From: Maulik Shah Date: Thu, 4 Mar 2021 11:08:14 +0530 Subject: [PATCH] ARM: dts: msm: Add support to disable PDC wakeup for gpios for lahaina Add optional property to list gpios for which PDC wakeup is not needed. Such GPIOs will ignore PDC direct connect mapping and will continue to use tlmm for interrupt. Change-Id: Iffa050d5e880c250d85ddf825a2f2b90de2c55a4 --- bindings/pinctrl/qcom,lahaina-pinctrl.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/pinctrl/qcom,lahaina-pinctrl.yaml b/bindings/pinctrl/qcom,lahaina-pinctrl.yaml index 64b386b2d2b5..21f93bc20e0c 100644 --- a/bindings/pinctrl/qcom,lahaina-pinctrl.yaml +++ b/bindings/pinctrl/qcom,lahaina-pinctrl.yaml @@ -55,6 +55,11 @@ properties: Value type: Definition: A phandle to the wakeup interrupt controller for the SoC. + no-wake-gpios: + Usage: optional + Value type: + Definition: List of gpios to not use for wakeup. + Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for a general description of GPIO and interrupt bindings. @@ -196,4 +201,5 @@ examples: interrupt-controller; #interrupt-cells = <2>; wakeup-parent = <&pdc>; + no-wake-gpios = <2 7 11>; };