summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-02-28 14:28:01 +0300
committerLinus Walleij <linus.walleij@linaro.org>2024-02-29 12:18:44 +0300
commitfa55bcecf272f7795c42653aa1ed0b156123c5fa (patch)
tree66663d51d2a59d5dd0421c0fca22b569c8369363 /Documentation/devicetree/bindings/gpio
parenta610f544854374cd108dd75e8a0d5473d011fa37 (diff)
downloadlinux-fa55bcecf272f7795c42653aa1ed0b156123c5fa.tar.xz
dt-bindings: gpio: nomadik: add mobileye,eyeq5-gpio compatible
This GPIO controller is used on the Mobileye EyeQ5 SoC. Add its compatible to the dt-bindings. One difference is that the block as integrated on EyeQ5 does not support sleep-mode. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240228-mbly-gpio-v2-3-3ba757474006@bootlin.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r--Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
index aa905f001c8f..16956969a02a 100644
--- a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
@@ -19,7 +19,9 @@ properties:
pattern: "^gpio@[0-9a-f]+$"
compatible:
- const: st,nomadik-gpio
+ enum:
+ - st,nomadik-gpio
+ - mobileye,eyeq5-gpio
reg:
maxItems: 1
@@ -66,6 +68,16 @@ required:
unevaluatedProperties: false
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: mobileye,eyeq5-gpio
+ then:
+ properties:
+ st,supports-sleepmode: false
+
examples:
- |
gpio@8012e080 {