On Thu, Jun 20, 2024 at 11:26 PM Philippe Mathieu-Daudé <phi...@linaro.org> wrote:
> Hi Patrick, > > On 21/6/24 00:03, Patrick Leis wrote: > > 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. > > Including Markus since we discussed this with him last year, but > I don't remember correctly what was agreed / decided :S > Thanks :) I'd really like to be able to access devices with paths that specify the device I want specifically :) > > Regards, > > Phil. >