]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: qcom: lpass-lpi-common: add reserved GPIOs property
authorRichard Acayan <mailingradian@gmail.com>
Tue, 31 Mar 2026 20:06:55 +0000 (16:06 -0400)
committerLinus Walleij <linusw@kernel.org>
Tue, 7 Apr 2026 07:01:44 +0000 (09:01 +0200)
There can be reserved GPIOs on the LPASS LPI pin controller to possibly
control sensors. Add the property for reserved GPIOs so they can be
avoided appropriately.

Adapted from the same entry in qcom,tlmm-common.yaml.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml

index 619341dd637c3f14abd1cdb42dd04e0bac66c3da..30f93b8159fd3836fa38292cc0da438001436bea 100644 (file)
@@ -27,6 +27,14 @@ properties:
   gpio-ranges:
     maxItems: 1
 
+  gpio-reserved-ranges:
+    minItems: 1
+    maxItems: 30
+    description:
+      Pins can be reserved for trusted applications or for LPASS, thereby
+      inaccessible from the OS. This property can be used to mark the pins
+      which resources should not be accessed by the OS.
+
 required:
   - gpio-controller
   - "#gpio-cells"