From d5efb0ec2b28bc1074472ab4eaa937dcbe490f6a Mon Sep 17 00:00:00 2001 From: "Corona, Ernesto" Date: Sun, 10 Mar 2019 11:48:18 -0800 Subject: [PATCH] Documentation jtag: Add JTAG core driver ioctl number JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to user space for: - XFER: SIR (Scan Instruction Register, IEEE 1149.1 Data Register scan); SDR (Scan Data Register, IEEE 1149.1 Instruction Register scan); - GIOCSTATUS read the current TAPC state of the JTAG controller - SIOCSTATE Forces the JTAG TAPC to go into a particular state. - SIOCFREQ/GIOCFREQ for setting and reading JTAG frequency. - IOCBITBANG for low level control of JTAG signals. Signed-off-by: Oleksandr Shamray Signed-off-by: Corona, Ernesto Acked-by: Philippe Ombredanne Cc: Jiri Pirko Cc: Vadim Pasternak Cc: Jonathan Corbet Cc: Greg Kroah-Hartman Cc: Gustavo Pimentel Cc: Lorenzo Pieralisi Cc: Kishon Vijay Abraham I Cc: Darrick J. Wong Cc: Bryant G. Ly Cc: Eric Sandeen Cc: Randy Dunlap Cc: Tomohiro Kusumi Cc: Arnd Bergmann Cc: Steven A Filary Cc: Bryan Hunt --- Documentation/ioctl/ioctl-number.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst index 7f8dcae7a230..4d25966d44e5 100644 --- a/Documentation/ioctl/ioctl-number.rst +++ b/Documentation/ioctl/ioctl-number.rst @@ -332,6 +332,8 @@ Code Seq# Include File Comments 0xB1 00-1F PPPoX +0xB2 00-0F linux/jtag.h JTAG driver + 0xB3 00 linux/mmc/ioctl.h 0xB4 00-0F linux/gpio.h 0xB5 00-0F uapi/linux/rpmsg.h -- 2.7.4