On 17/05/2022 16:50, Neal Liu wrote: >> -----Original Message----- >> From: Krzysztof Kozlowski <krzysztof.kozlow...@linaro.org> >> Sent: Tuesday, May 17, 2022 8:00 PM >> To: Neal Liu <neal_...@aspeedtech.com>; Greg Kroah-Hartman >> <gre...@linuxfoundation.org>; Rob Herring <robh...@kernel.org>; Krzysztof >> Kozlowski <krzysztof.kozlowski...@linaro.org>; Joel Stanley <j...@jms.id.au>; >> Andrew Jeffery <and...@aj.id.au>; Felipe Balbi <ba...@kernel.org>; Sumit >> Semwal <sumit.sem...@linaro.org>; Christian König >> <christian.koe...@amd.com>; Geert Uytterhoeven <ge...@linux-m68k.org>; >> Li Yang <leoyang...@nxp.com> >> Cc: linux-asp...@lists.ozlabs.org; linux-...@vger.kernel.org; >> devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; >> linux-ker...@vger.kernel.org; linux-me...@vger.kernel.org; >> dri-devel@lists.freedesktop.org; linaro-mm-...@lists.linaro.org >> Subject: Re: [PATCH v2 2/3] ARM: dts: aspeed: Add USB2.0 device controller >> node >> >> On 17/05/2022 10:25, Neal Liu wrote: >>> Add USB2.0 device controller(udc) node to device tree for AST2600. >>> >>> Signed-off-by: Neal Liu <neal_...@aspeedtech.com> >>> --- >>> arch/arm/boot/dts/aspeed-g6.dtsi | 10 ++++++++++ >>> 1 file changed, 10 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi >>> b/arch/arm/boot/dts/aspeed-g6.dtsi >>> index 3d5ce9da42c3..5517313eb2b5 100644 >>> --- a/arch/arm/boot/dts/aspeed-g6.dtsi >>> +++ b/arch/arm/boot/dts/aspeed-g6.dtsi >>> @@ -298,6 +298,16 @@ vhub: usb-vhub@1e6a0000 { >>> status = "disabled"; >>> }; >>> >>> + udc: udc@1e6a2000 { >> >> The same as DTS in bindings - generic node name, please. >> > > Is it possible to use "udc: usb-udc@1e6a2000" to distinguish it between > "vhub: usb-vhub@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. Best regards, Krzysztof