aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pinctrl
diff options
context:
space:
mode:
authorFenglin Wu <fenglinw@codeaurora.org>2017-08-15 08:38:38 +0800
committerLinus Walleij <linus.walleij@linaro.org>2017-08-15 11:17:41 +0200
commit223463fc8e17d97c2b9ca06f1d50704dbab63628 (patch)
tree75aeac904cb459583c2ee881acf0933d3ccfc346 /Documentation/devicetree/bindings/pinctrl
parentpinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype (diff)
downloadlinux-dev-223463fc8e17d97c2b9ca06f1d50704dbab63628.tar.xz
linux-dev-223463fc8e17d97c2b9ca06f1d50704dbab63628.zip
pinctrl: qcom: spmi-gpio: Add dtest route for digital input
Add property "qcom,dtest-buffer" to specify which dtest rail to feed when the pin is configured as a digital input. Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index e5b8ff7f545b..5b12c57e7f02 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -200,6 +200,13 @@ to specify in a pin configuration subnode:
in analog-pass-through mode.
Valid values are 1-4 corresponding to ATEST1 to ATEST4.
+- qcom,dtest-buffer:
+ Usage: optional
+ Value type: <u32>
+ Definition: Selects DTEST rail to route to GPIO when it's configured
+ as digital input.
+ Valid values are 1-4 corresponding to DTEST1 to DTEST4.
+
Example:
pm8921_gpio: gpio@150 {