Re: [PATCH] USB: of: filter disabled device node

From: jerry xzq

Date: Sat Nov 22 2025 - 06:49:14 EST


On Sat, Nov 22, 2025 at 7:32 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sat, Nov 22, 2025 at 07:25:39PM +0800, Zhengqiao Xia wrote:
> > We should not point the of_node of a USB device to a disabled devicetree
> > node. Otherwise, the interface under this USB device will not be able
> > to register.
>
> Why would a USB device point to a disabled device tree node? Shouldn't
> the device tree be fixed instead?

According to your suggestion, when a USB device is directly connected
to a USB port,
we should delete the unused USB hub node instead of disabling it?

>
> thanks,
>
> greg k-h

thanks