Messages in this thread | ![/](/images/icornerl.gif) | | From | Stephen Boyd <> | Date | Fri, 7 Apr 2023 14:54:18 -0700 | Subject | Re: [PATCH v15 01/10] device property: Add remote endpoint to devcon matcher |
| |
Quoting Pin-yen Lin (2023-03-31 02:11:36) > From: Prashant Malani <pmalani@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?
| ![\](/images/icornerr.gif) |