tty/serial_core: add ISO7816 infrastructure
authorNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 26 Sep 2018 12:58:47 +0000 (14:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 20:38:55 +0000 (13:38 -0700)
commitad8c0eaa0a418ae8ef3f9217638bb86439399eac
tree241e4840c8ab6aac781a68a27d61d9fe0c42688a
parentc550f01c810f2197c98e6e3103f81797f5e063be
tty/serial_core: add ISO7816 infrastructure

Add the ISO7816 ioctl and associated accessors and data structure.
Drivers can then use this common implementation to handle ISO7816
(smart cards).

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
[ludovic.desroches@microchip.com: squash and rebase, removal of gpios, checkpatch fixes]
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 files changed:
Documentation/serial/serial-iso7816.txt [new file with mode: 0644]
arch/alpha/include/uapi/asm/ioctls.h
arch/mips/include/uapi/asm/ioctls.h
arch/parisc/include/uapi/asm/ioctls.h
arch/powerpc/include/uapi/asm/ioctls.h
arch/sh/include/uapi/asm/ioctls.h
arch/sparc/include/uapi/asm/ioctls.h
arch/xtensa/include/uapi/asm/ioctls.h
drivers/tty/serial/serial_core.c
include/linux/serial_core.h
include/uapi/asm-generic/ioctls.h
include/uapi/linux/serial.h