Skip to content

Commit a22d259

Browse files
flamingradianlinusw
authored andcommitted
dt-bindings: qcom: lpass-lpi-common: add reserved GPIOs property
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>
1 parent a549fe2 commit a22d259

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-common.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ properties:
2727
gpio-ranges:
2828
maxItems: 1
2929

30+
gpio-reserved-ranges:
31+
minItems: 1
32+
maxItems: 30
33+
description:
34+
Pins can be reserved for trusted applications or for LPASS, thereby
35+
inaccessible from the OS. This property can be used to mark the pins
36+
which resources should not be accessed by the OS.
37+
3038
required:
3139
- gpio-controller
3240
- "#gpio-cells"

0 commit comments

Comments
 (0)