Skip to content

Commit

Permalink
dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional
Browse files Browse the repository at this point in the history
Add missing "minItems: 1" to the interrupt-names property to allow the
second interrupt-names, "wakeup", to be optional.

Fixes: fe8e488 ("dt-bindings: usb: mtk-xhci: add wakeup interrupt")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220623193702.817996-2-nfraprado@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Nícolas F. R. A. Prado authored and Greg Kroah-Hartman committed Jun 27, 2022
1 parent 6569689 commit b2c510f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ properties:
- description: optional, wakeup interrupt used to support runtime PM

interrupt-names:
minItems: 1
items:
- const: host
- const: wakeup
Expand Down

0 comments on commit b2c510f

Please sign in to comment.