Skip to content

RFC Adding graph handling to device connection API

Heikki Krogerus linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5driver core: Add fwnode member to struct device_connectioninclude/linux/device.h+6 -02 replies
2/5usb: typec: mux: Find the muxes by also matching against the device nodedrivers/usb/typec/mux.c+15 -40 replies
3/5usb: roles: Find the muxes by also matching against the device nodedrivers/usb/common/roles.c+13 -32 replies
4/5usb: typec: Find the ports by also matching against the device nodedrivers/usb/typec/class.c+16 -33 replies
5/5drivers core: Find device connections also from device graphsdrivers/base/devcon.c+45 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] Adding graph handling to device connection API

Hi,

I'm only presenting my idea with these how I think we should be able to deal with graphs in the API, so these are completely untested, and obviously I can't say for certain if the idea works or not.

I will try to test these using custom ACPI tables, but of course these should be tested on DT platform as well, so if somebody can do that, I would much appreciate.

Thanks,

Heikki Krogerus (5):
driver core: Add fwnode member to struct device_connection
usb: typec: mux: Find the muxes by also matching against the device
node
usb: roles: Find the muxes by also matching against the device node
usb: typec: Find the ports by also matching against the device node drivers core: Find device connections also from device graphs

 drivers/base/devcon.c      | 48 +++++++++++++++++++++++++++++++++++---
 drivers/usb/common/roles.c | 16 ++++++++++---
 drivers/usb/typec/class.c  | 19 ++++++++++++---
 drivers/usb/typec/mux.c    | 19 +++++++++++----
 include/linux/device.h     |  6 +++++
 5 files changed, 95 insertions(+), 13 deletions(-)
Signature · 1 line
2.19.1