Skip to contentSkip to conversation

Add JTAG bitbang driver

PATCH In review Wjatscheslaw Stoljarski (Slawa) 2 participants 2 messages Jul 24, 2012 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add JTAG bitbang driver

From 01b528ff11f3d0fe63db96b77e40ae9e695afaa7 Mon Sep 17 00:00:00 2001
From: "Wjatscheslaw Stoljarski" <[email protected]>
Date: Tue, 24 Jul 2012 10:54:55 +0200
Subject: [PATCH] Add JTAG bitbang driver

---
 drivers/Kconfig       |    1 +
 drivers/Makefile      |    1 +
 drivers/misc/Kconfig  |   27 ++++
 drivers/misc/Makefile |    5 +
 drivers/misc/jtag.c   |  395 +++++++++++++++++++++++++++++++++++++++++++++++++
 include/jtag.h        |  113 ++++++++++++++
 6 files changed, 542 insertions(+)
 create mode 100644 drivers/misc/Kconfig
 create mode 100644 drivers/misc/Makefile
 create mode 100644 drivers/misc/jtag.c
 create mode 100644 include/jtag.h
drivers/Kconfig +1 -0
index c52c56a..c4d7962 100644
@@ -12,6 +12,7 @@ source "drivers/video/Kconfig"
 source "drivers/mci/Kconfig"
 source "drivers/clk/Kconfig"
 source "drivers/mfd/Kconfig"
+source "drivers/misc/Kconfig"
 source "drivers/led/Kconfig"
 source "drivers/eeprom/Kconfig"
 source "drivers/input/Kconfig"
drivers/Makefile +1 -0
index 3aefc12..8e692cb 100644
@@ -15,3 +15,4 @@ obj-$(CONFIG_LED) += led/
 obj-y	+= eeprom/
 obj-$(CONFIG_PWM) += pwm/
 obj-y	+= input/
+obj-y	+= misc/
drivers/misc/Kconfig new file +27 -0
new file mode 100644
index 0000000..122e065
@@ -0,0 +1,27 @@
+#
+# Misc strange devices
+#
+
+menuconfig MISC_DEVICES
+	bool "Misc devices                  "
+	default y
+	---help---
+	  Say Y here to get to see options for device drivers from various
+	  different categories. This option alone does not add any kernel code.
+
+	  If you say N, all options in this submenu will be skipped and disabled.
+
+if MISC_DEVICES
+
+config JTAG
+	tristate "Jtag Bitbang driver"
+	default n
+	---help---
+	Controls jtag chains connected to I/O pins
+
+	This driver can also be built as a module. If so, the module
+	will be called jtag.
+
+	If unsure, say N.
+
+endif # MISC_DEVICES
drivers/misc/Makefile new file +5 -0
new file mode 100644
index 0000000..b085577
@@ -0,0 +1,5 @@
+#
+# Makefile for misc devices that really don't fit anywhere else.
+#
+
+obj-$(CONFIG_JTAG)		+= jtag.o
drivers/misc/jtag.c new file +395 -0

395 lines not on this page · raw message

include/jtag.h new file +113 -0

113 lines not on this page · raw message

Signature · 1 line
1.7.9.5

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi, Slawa!

Use 'git-send-email' for submiting patches to this maillist!

Please, do not send attached patches!

Quoted 7 lines · Wjatscheslaw Stoljarski (Slawa)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Signature · 7 lines
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox