dt-bindings: usb: snps,dwc3: Allow power-domains property
authorRob Herring <robh@kernel.org>
Tue, 24 Jan 2023 02:59:35 +0000 (20:59 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2023 14:44:22 +0000 (15:44 +0100)
commit353a17ec62f48495a0ba8ffaac7f5ea3cebe5039
treeec966307145030f187a599f5740c68516d5843a7
parente538e3614c5c5a9a692c96a76e9b06e552dc9b6c
dt-bindings: usb: snps,dwc3: Allow power-domains property

The Rockchip RK3399 DWC3 node has 'power-domains' property which isn't
allowed by the schema:

usb@fe900000: Unevaluated properties are not allowed ('power-domains' was unexpected)

Allow DWC3 nodes to have a power-domains entry. We could instead move
the power-domains property to the parent wrapper node, but the could be
an ABI break (Linux shouldn't care). Also, we don't want to encourage
the pattern of wrapper nodes just to define resources such as clocks,
resets, power-domains, etc. when not necessary.

Reviewed-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230124025936.3256213-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/snps,dwc3.yaml