Messages in this thread | | | Subject | Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver | From | "Enrico Weigelt, metux IT consult" <> | Date | Thu, 18 Mar 2021 15:40:30 +0100 |
| |
On 16.03.21 08:44, Viresh Kumar wrote:
> FWIW, this limits this driver to support a single device ever. We > can't bind multiple devices to this driver now. Yeah, perhaps we will > never be required to do so, but who knows.
Actually, I believe multiple devices really should be possible.
The major benefit of virtio-i2c is either bridging certan real bus'es into a confined workload, or creating virtual hw testbeds w/o having to write a complete emulation (in this case, for dozens of different i2c controllers) - and having multiple i2c interfaces in one machine isn't exactly rare.
--mtx
-- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287
| |