[PATCH v2 2/3] ARM: dts: aspeed: Add USB2.0 device controller node

Neal Liu neal_liu at aspeedtech.com
Wed May 18 01:32:15 AEST 2022


> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Sent: Tuesday, May 17, 2022 11:26 PM
> To: Neal Liu <neal_liu at aspeedtech.com>; Greg Kroah-Hartman
> <gregkh at linuxfoundation.org>; Rob Herring <robh+dt at kernel.org>; Krzysztof
> Kozlowski <krzysztof.kozlowski+dt at linaro.org>; Joel Stanley <joel at jms.id.au>;
> Andrew Jeffery <andrew at aj.id.au>; Felipe Balbi <balbi at kernel.org>; Sumit
> Semwal <sumit.semwal at linaro.org>; Christian König
> <christian.koenig at amd.com>; Geert Uytterhoeven <geert at linux-m68k.org>;
> Li Yang <leoyang.li at nxp.com>
> Cc: linux-aspeed at lists.ozlabs.org; linux-usb at vger.kernel.org;
> devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
> linux-kernel at vger.kernel.org; linux-media at vger.kernel.org;
> dri-devel at lists.freedesktop.org; linaro-mm-sig at lists.linaro.org
> Subject: Re: [PATCH v2 2/3] ARM: dts: aspeed: Add USB2.0 device controller
> node
> 
> On 17/05/2022 17:21, Neal Liu wrote:
> >>>>>
> >>>>> +		udc: udc at 1e6a2000 {
> >>>>
> >>>> The same as DTS in bindings - generic node name, please.
> >>>>
> >>>
> >>> Is it possible to use "udc: usb-udc at 1e6a2000" to distinguish it between
> "vhub:
> >> usb-vhub at 1e6a0000"?
> >>
> >> Possible yes :), but not recommended and not wanted. Nodes should be
> >> generic and prefixes are added only if there is no unit address. You
> >> can though use some more descriptive label.
> >>
> > "udc: usb at 1e6a2000" is okay for you?
> 
> Yes, it's perfect.

Great ! I'll update it for next patch.
Thanks for your suggestion.
> 
> 
> Best regards,
> Krzysztof


More information about the Linux-aspeed mailing list