Messages in this thread | | | Date | Thu, 15 Nov 2018 20:07:39 +0100 | From | Boris Brezillon <> | Subject | Re: [PATCH v10 0/9] Add the I3C subsystem |
| |
On Thu, 15 Nov 2018 15:25:11 +0000 vitor <vitor.soares@synopsys.com> wrote:
> 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.
Yep, I think we'll need an ioctl given the various type of transfers one case use to interact with a device.
| |