[PATCH v15 01/10] device property: Add remote endpoint to devcon matcher
Stephen Boyd
swboyd at chromium.org
Fri Apr 7 21:54:18 UTC 2023
Quoting Pin-yen Lin (2023-03-31 02:11:36)
> From: Prashant Malani <pmalani at chromium.org>
>
> When searching the device graph for device matches, check the
> remote-endpoint itself for a match.
>
> Some drivers register devices for individual endpoints. This allows
> the matcher code to evaluate those for a match too, instead
> of only looking at the remote parent devices. This is required when a
> device supports two mode switches in its endpoints, so we can't simply
> register the mode switch with the parent node.
Looking at this in isolation I have no idea what a mode switch is and
how it is related to drivers/base/property.c. Can you expand on this
commit text? Maybe say two "usb typec mode switches"? And maybe include
an example graph node snippet?
More information about the dri-devel
mailing list