Re: [PATCH v2 1/4] dt-bindings: Add Broadcom STB USB support
From: Florian Fainelli
Date: Wed Apr 08 2020 - 13:24:24 EST
On 4/8/2020 6:13 AM, Alan Cooper wrote:
> Sending again in plain text.
>
> On Tue, Apr 7, 2020 at 4:28 PM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:
>>
>> On 3/30/2020 8:40 AM, Rob Herring wrote:
>>> On Fri, 27 Mar 2020 16:47:08 -0400, Al Cooper wrote:
>>>> Add DT bindings for Broadcom STB USB EHCI and XHCI drivers.
>>>>
>>>> NOTE: The OHCI driver is not included because it uses the generic
>>>> platform driver.
>>>>
>>>> Signed-off-by: Al Cooper <alcooperx@xxxxxxxxx>
>>>> ---
>>>> .../bindings/usb/brcm,bcm7445-ehci.yaml | 61 +++++++++++++++++++
>>>> .../devicetree/bindings/usb/usb-xhci.txt | 1 +
>>>> 2 files changed, 62 insertions(+)
>>>> create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml
>>>>
>>>
>>> My bot found errors running 'make dt_binding_check' on your patch:
>>>
>>> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.example.dt.yaml: ehci@f0b00300: 'interrupt-names' does not match any of the regexes: 'pinctrl-[0-9]+'
>>
>> This warning does not seem to be legitimate, the 'interrupt-names'
>> property is a valid one, where do we update the schema such that it
>> knows about it?
>
> It looks like I need to specify it in the specification portion of my
> file if I want it in the example, like I did for "clock-names" and
> "phy-names".
> Since the driver always get the interrupt by index, I'm going to
> remove "interrupt-names" from the example.
Ah indeed, that makes sense now, thanks!
--
Florian