Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

Arnd Bergmann <arnd@...> writes:

> 
> On Thursday 10 March 2011, Waldemar Rymarkiewicz wrote:
> > Add new driver for MicroRead NFC chip connected to i2c bus.
> > 
> > See Documentation/nfc/nfc-microread.txt.
> 
> The imlpementation looks fairly clean, no objections on that.
> 
> However, this is the second NFC driver (at least), and that means
> it's time to come up with a generic way of talking to NFC devices
> from user space. We cannot allow every NFC controller to have
> another set of arbitrary ioctl numbers.
I definitely agree we need to come up with some sort of NFC subsystem.
Ideally though, it should be more than ioctls over character devices. NFC is not
that far from Bluetooth or IrDA and having an NFC socket family would be quite
nice. Especially for the p2p parts of the spec. And instead of passing commands
through ioctls, we might want to look at a netlink based interface.
The few currently available NFC stacks are all implementing the NFC HCI layer in
userspace, on top of a a more or less big HAL. By at least moving the HCI layer
down to the kernel, and having userspace talk to it through netlink, we could
eventually get rid of those HALs.

Cheers,
Samuel.


--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux