aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2024-02-28 12:28:01 +0100
committerLinus Walleij <linus.walleij@linaro.org>2024-02-29 10:18:44 +0100
commitfa55bcecf272f7795c42653aa1ed0b156123c5fa (patch)
tree66663d51d2a59d5dd0421c0fca22b569c8369363
parentdt-bindings: gpio: nomadik: add optional ngpios property (diff)
downloadwireguard-linux-fa55bcecf272f7795c42653aa1ed0b156123c5fa.tar.xz
wireguard-linux-fa55bcecf272f7795c42653aa1ed0b156123c5fa.zip
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>
-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 {