Message ID | 20240228-mbly-gpio-v2-3-3ba757474006@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Rework Nomadik GPIO to add Mobileye EyeQ5 support | expand |
On Wed, Feb 28, 2024 at 12:28:01PM +0100, Théo Lebrun wrote: > 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> Cheers, Conor.
On Wed, Feb 28, 2024 at 12:28 PM Théo Lebrun <theo.lebrun@bootlin.com> wrote: > 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> Patch applied! Yours, Linus Walleij
diff --git a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml index 4080e94702d5..8e7f21988e9e 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: - | gpio1: gpio@8012e080 {
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> --- .../devicetree/bindings/gpio/st,nomadik-gpio.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)