Re: [TECH TOPIC] Rust for Linux

Jonathan Cameron
2021-07-10T10:01:37Z

On 9 July 2021 18:43:09 BST, Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrote:
>On Fri, Jul 9, 2021 at 7:07 PM Mark Brown <broonie@kernel.org> wrote:
>>
>> SPI might also be interesting here and I think there's some SPI
>> controllers emulated in qemu, though no idea how well or specific
>> instructions for any boards. There's a bit more concurrency and so
>on
>> stuff going on in the framework.
>
>[Cc'ing Arthur, Esteban and Martin since they have been working on SPI]

I use qemu with both spi and gpio for testing IIO drivers.. Not bothered upstreaming
the IIO device emulation as generally throw away quality code to ensure I don't
break things when doing nasty driver reactors. I have a request that I need to
respond to though to share one particular setup used for the ad7280a. Should get
to that this weekend.

https://lore.kernel.org/linux-iio/YNIfkaRZtWIXPbAj@marsc.168.1.7/

Some devices are too much a pain to deal with in real hardware and the qemu route
gives very fast development cycles even if you plan to do final tests on real devices.

Jonathan

>
>Cheers,
>Miguel

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.