devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: usb: snps,dwc3: Allow power-domains property
@ 2022-12-19 19:10 Rob Herring
  2022-12-19 19:10 ` [PATCH 2/2] dt-bindings: usb: rockchip,dwc3: Move RK3399 to its own schema Rob Herring
  2022-12-20  7:34 ` [PATCH 1/2] dt-bindings: usb: snps,dwc3: Allow power-domains property Felipe Balbi
  0 siblings, 2 replies; 18+ messages in thread
From: Rob Herring @ 2022-12-19 19:10 UTC (permalink / raw)
  To: Heiko Stuebner, Greg Kroah-Hartman, Krzysztof Kozlowski,
	Felipe Balbi
  Cc: linux-rockchip, Johan Jonker, linux-arm-kernel, linux-usb,
	devicetree, linux-kernel

The Rockchip RK3399 DWC3 node has 'power-domain' 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 single 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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 6d78048c4613..bcefd1c2410a 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -91,6 +91,9 @@ properties:
         - usb2-phy
         - usb3-phy
 
+  power-domains:
+    maxItems: 1
+
   resets:
     minItems: 1
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-01-09 21:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-19 19:10 [PATCH 1/2] dt-bindings: usb: snps,dwc3: Allow power-domains property Rob Herring
2022-12-19 19:10 ` [PATCH 2/2] dt-bindings: usb: rockchip,dwc3: Move RK3399 to its own schema Rob Herring
2022-12-20  7:37   ` Felipe Balbi
2022-12-20 13:54     ` Rob Herring
2022-12-23 10:34       ` Felipe Balbi
2022-12-20  7:34 ` [PATCH 1/2] dt-bindings: usb: snps,dwc3: Allow power-domains property Felipe Balbi
2022-12-20 14:04   ` Rob Herring
2022-12-23 10:31     ` Felipe Balbi
2022-12-23 11:06       ` Krzysztof Kozlowski
2022-12-23 23:57       ` Thinh Nguyen
2022-12-24 17:37         ` Rob Herring
2022-12-30  8:43           ` Felipe Balbi
2022-12-30 16:54             ` Rob Herring
2022-12-30 17:08               ` Felipe Balbi
2023-01-03 18:58                 ` Rob Herring
2023-01-09 19:40                   ` Thinh Nguyen
2023-01-09 20:42                     ` Rob Herring
2023-01-09 21:37                       ` Thinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).