[PATCH v2 2/9] dt-bindings: usb: ci-hdrc-usb2: require clocks and resets for spacemit,k1-usb2
Junzhong Pan
panjunzhong at linux.spacemit.com
Wed Sep 9 05:29:49 PDT 2026
On 9/9/2026 1:50 AM, Conor Dooley wrote:
> On Tue, Sep 08, 2026 at 05:48:39PM +0800, Junzhong Pan wrote:
>> Chipidea USB2 Controller on SpacemiT K1 requires 1 clock and 1 reset to
>> work, add constraints for it.
>>
>> Signed-off-by: Junzhong Pan <panjunzhong at linux.spacemit.com>
>
> Squash this into patch 1.
Ok, thanks
>
>> ---
>> 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
>>
More information about the linux-riscv
mailing list