From: Charan Pedumuru <charan.pedumuru@gmail.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Herve Codina <herve.codina@bootlin.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 5/5] dt-bindings: usb: atmel,at91sam9rl-udc: convert to DT schema
Date: Fri, 13 Mar 2026 18:59:03 +0530 [thread overview]
Message-ID: <db8639c3-c7b1-446f-b178-d1e47fae776d@gmail.com> (raw)
In-Reply-To: <20260308-cherubic-misty-cricket-80fad0@quoll>
On 08-03-2026 14:59, Krzysztof Kozlowski wrote:
> On Sat, Mar 07, 2026 at 09:16:22AM +0000, Charan Pedumuru wrote:
>> +
>> + reg:
>> + maxItems: 2
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + clocks:
>> + minItems: 2
>
> Drop
Sure.
>
>> + maxItems: 2
>> +
>> + clock-names:
>> + minItems: 2
>> + maxItems: 2
>> + items:
>> + enum: [pclk, hclk]
>
> No, list the items instead. Why is this flexible? Nothing in commit msg
> explains that.
Some of the DTS files use those clock-names in different order, I will write this in the commit message.
>
>> +
>> + atmel,vbus-gpio:
>> + description: GPIO used to detect the presence of VBUS, indicating that
>> + the USB cable is connected.
>> + maxItems: 1
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - clocks
>> + - clock-names
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/interrupt-controller/irq.h>
>> + #include <dt-bindings/clock/at91.h>
>> + #include <dt-bindings/gpio/gpio.h>
>> + gadget@fff78000 {
>> + compatible = "atmel,at91sam9g45-udc";
>> + reg = <0x00600000 0x80000
>> + 0xfff78000 0x400>;
>> + interrupts = <27 IRQ_TYPE_LEVEL_HIGH 0>;
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 27>, <&pmc PMC_TYPE_CORE PMC_UTMI>;
>> + clock-names = "pclk", "hclk";
>> + atmel,vbus-gpio = <&pioC 15 GPIO_ACTIVE_HIGH>;
>> + };
>> +...
>> diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt
>> deleted file mode 100644
>> index 12183ef47ee4..000000000000
>> --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt
>> +++ /dev/null
>> @@ -1,125 +0,0 @@
>> -Atmel SOC USB controllers
>> -
>> -OHCI
>> -
>> -Required properties:
>> - - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers
>
> Why do you remove OHCI here? There is no conversion of this compatible.
> Don't combine multiple different changes in one commit.
I will remove each binding from the text file for each patch while converting them.
>
>
> Best regards,
> Krzysztof
>
--
Best Regards,
Charan.
prev parent reply other threads:[~2026-03-13 13:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 9:16 [PATCH v3 0/5] dt-bindings: usb: atmel: convert Atmel USB controller bindings to YAML Charan Pedumuru
2026-03-07 9:16 ` [PATCH v3 1/5] arm: dts: at91: remove unused #address-cells/#size-cells from sam9x60 udc node Charan Pedumuru
2026-03-08 16:06 ` Claudiu Beznea
2026-03-07 9:16 ` [PATCH v3 2/5] dt-bindings: usb: generic-ohci: add AT91RM9200 OHCI binding support Charan Pedumuru
2026-03-08 9:23 ` Krzysztof Kozlowski
2026-03-08 9:28 ` Krzysztof Kozlowski
2026-03-13 6:34 ` Charan Pedumuru
2026-03-13 6:31 ` Charan Pedumuru
2026-03-07 9:16 ` [PATCH v3 3/5] dt-bindings: usb: generic-ehci: fix schema structure and add at91sam9g45 constraints Charan Pedumuru
2026-03-07 9:16 ` [PATCH v3 4/5] dt-bindings: usb: atmel,at91rm9200-udc: convert to DT schema Charan Pedumuru
2026-03-08 9:27 ` Krzysztof Kozlowski
2026-03-13 6:55 ` Charan Pedumuru
2026-03-07 9:16 ` [PATCH v3 5/5] dt-bindings: usb: atmel,at91sam9rl-udc: " Charan Pedumuru
2026-03-08 9:29 ` Krzysztof Kozlowski
2026-03-13 13:29 ` Charan Pedumuru [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db8639c3-c7b1-446f-b178-d1e47fae776d@gmail.com \
--to=charan.pedumuru@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=herve.codina@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox