diff mbox series

dt-bindings: usb: allow evaluated properties in OHCI controllers

Message ID 20230228152105.25358-1-zajec5@gmail.com (mailing list archive)
State Accepted
Commit aa78a736a94f1e2771d5400d4286d907624f5f8d
Headers show
Series dt-bindings: usb: allow evaluated properties in OHCI controllers | expand

Commit Message

Rafał Miłecki Feb. 28, 2023, 3:21 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

This binding uses usb-hcd.yaml so replace additionalProperties with
unevaluatedProperties to allow generic USB HCD properties. It's how EHCI
and XHCI bindings work too.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 Documentation/devicetree/bindings/usb/generic-ohci.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring (Arm) March 8, 2023, 7:05 p.m. UTC | #1
On Tue, 28 Feb 2023 16:21:05 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> This binding uses usb-hcd.yaml so replace additionalProperties with
> unevaluatedProperties to allow generic USB HCD properties. It's how EHCI
> and XHCI bindings work too.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
>  Documentation/devicetree/bindings/usb/generic-ohci.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index a9ba7257b884..d06d1e7d8876 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -148,7 +148,7 @@  allOf:
       properties:
         transceiver: false
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |