qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* standardizing i2c device ids
@ 2024-06-20 22:03 Patrick Leis
  2024-06-21  6:26 ` Philippe Mathieu-Daudé
  2024-06-22  8:43 ` Markus Armbruster
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Leis @ 2024-06-20 22:03 UTC (permalink / raw)
  To: Corey Minyard, Peter Maydell, Titus Rwantare; +Cc: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Corey and Peter,

My team builds lots of configurations for Qemu boards, and one pain point
has been that the qom path for a device depends on the device insertion
order, child[0], child[1] and the like.  I noticed that the qdev paths for
devices also exist by their device id property.  By default, this ends up
being the device type name.  I was wondering if it made sense to override
this with the device type plus the smbus address?  I did something similar
with the i2c mux device, to resolve part of this issue.

Patrick

[-- Attachment #2: Type: text/html, Size: 602 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-27 22:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 22:03 standardizing i2c device ids Patrick Leis
2024-06-21  6:26 ` Philippe Mathieu-Daudé
2024-06-21 17:22   ` Patrick Leis
2024-06-22  8:43 ` Markus Armbruster
2024-06-27 22:20   ` Patrick Leis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).