Re: [PATCH 0/3] Fix ehci-fsl autoload regression on fsl-mph-dr-of

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 07, 2023 at 12:05:28PM +0100, Alexander Stein wrote:
> Hi,
> 
> I noticed on my ls1021a based platform (TQMLS102xA) that the platform device
> created by fsl-mph-dr-of does not autoload fsl-ehci. Digging into it I noticed
> that starting from commit bb160ee61c04f ("drivers/usb/host/ehci-fsl: Fix
> interrupt setup in host mode.") this platform device has the wrong modalias:
> 
> $ cat /sys/bus/platform/devices/8600000.usb/fsl-ehci.0/modalias 
> of:NusbT(null)Cfsl-usb2-dr-v2.5Cfsl-usb2-dr
> 
> This is the modalias of the parent device, thus module ehci_fsl is not loaded
> automatically. Given the reason of removing the IRQ resource from DT in
> commit a1a2b7125e107 ("of/platform: Drop static setup of IRQ resource from DT
> core") the of_node has to be assigned to the subnode, but for modalias the
> reused of_node has to be ignored.
> 
> Patch 2 is not strictly required to fix autoloading, but this is still a bug fix.
> 
> Best regards,
> Alexander
> 
> Alexander Stein (3):
>   of: device: Ignore modalias of reused nodes
>   of: device: Do not ignore error code in of_device_uevent_modalias
>   usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev

Assuming Greg will take these. For the series:

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux