On 9/9/2026 1:50 AM, Conor Dooley wrote:
On Tue, Sep 08, 2026 at 05:48:39PM +0800, Junzhong Pan wrote:
quoted
Chipidea USB2 Controller on SpacemiT K1 requires 1 clock and 1 reset to
work, add constraints for it.
Signed-off-by: Junzhong Pan <redacted>
Squash this into patch 1.
Ok, thanks
quoted
---
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
index 6f8d88a0681d..5c2b7eb1a6ff 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
@@ -114,6 +114,20 @@ allOf:
maxItems: 2
clock-names:
maxItems: 2
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: spacemit,k1-usb2
+ then:
+ properties:
+ clocks:
+ maxItems: 1
+ resets:
+ minItems: 1
+ required:
+ - clocks
+ - resets
unevaluatedProperties: false
--
2.34.1