Re: [PATCH v10 0/9] Add the I3C subsystem

From: vitor
Date: Thu Nov 15 2018 - 10:25:32 EST


Hi Arnd,

On 15/11/18 14:25, Arnd Bergmann wrote:
I agree about better not exposing the bus as a /dev/i3c* node, and that we
probably do need to expose individual devices in some form to allow
writing complete user space drivers that can do everything a kernel driver
can do.

Can you describe what a low-level interface to the device looks like
in the kernel? Can this be abstracted as simply pread()/pwrite() plus
an interrupt mechanism, or do we need a set of ioctl() operations as
well?

Like in i2c is likely to need the ioctl() too.


Best regards,

Vitor Soares