[PATCH 0/4] dm: core: Support same compatible in host/gadget musb drivers
Mattijs Korpershoek
mkorpershoek at kernel.org
Wed Jan 7 16:15:58 CET 2026
Hi Markus,
On Wed, Jan 07, 2026 at 15:01, Mattijs Korpershoek <mkorpershoek at kernel.org> wrote:
> Hi,
>
> On Wed, 26 Nov 2025 21:31:06 +0100, Markus Schneider-Pargmann (TI.com) wrote:
>> musb currently uses a wrapper driver that binds on the parent device of
>> the actual musb devices to manage the differentiation between gadget and
>> host modes. However in the upstream devicetree this parent devicetree
>> node can not be used to match the wrapper driver.
>>
>> To be able to probe the musb devices in host/gadget mode directly, this
>> series introduces support for returning -ENODEV in bind functions
>> resulting in iterating the remaining drivers potentially binding to
>> other drivers that match the compatible.
>>
>> [...]
>
> Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
It seems this series broke the CI when testing sandbox:
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/jobs/1349214
Can you have a look please?
This can be reproduced locally using:
$ ./test/py/test.py --bd sandbox --build -k test_bind
[...]
FAILED test/py/tests/test_bind.py::test_bind_unbind_with_node - AssertionError: assert 'Unable to bind. err:0' == ''
FAILED test/py/tests/test_bind.py::test_bind_unbind_with_uclass - AssertionError: assert 2 == 1
>
> [1/4] dm: core: Support multiple drivers with same compatibles
> https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/292d809159b86ff3c07e4fea93927cd0d00d8b27
> [2/4] test: dm: Add compatible multimatch test
> https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/b1f483a350a7df6130eb4880ecce4cfabfe5b9a9
> [3/4] usb: musb-new: Relative ctrl_mod address parsing
> https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/dce67e20709bd89f4ec17135e242447b5e6570d4
> [4/4] usb: musb-new: Add compatibles for ti,musb-am33xx
> https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/b51b489ae7c47d8372a6b73a4c0c5fa71291c4fd
>
> --
> Mattijs
More information about the U-Boot
mailing list