Skip to contentSkip to conversation

add support for the TI VLYNQ bus

PATCH In review Florian Fainelli 1 participant 1 message Jun 4, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 add support for the TI VLYNQ bus

This patch adds support for the TI VLYNQ high-speed, serial and packetized bus. This bus allows external devices to be connected to the System-on-Chip and appear in the main system memory just like any memory mapped peripheral. It is widely used in TI's networking and mutlimedia SoC, including the AR7 SoC.

Changes from v1:
- added link to TI's datasheet
- remove vlynq_read/write_reg accessors to use readl/writel
- fixed get_device/put_device usage
- added documentation
- fixed needlessly global symbols

---

MAINTAINERS +8 -0
index cf4abdd..91928d6 100644
@@ -6155,6 +6155,14 @@ F:	drivers/net/macvlan.c
 F:	include/linux/if_*vlan.h
 F:	net/8021q/
 
+VLYNQ BUS
+P:	Florian Fainelli
+M:	[email protected]
+L:	[email protected]
+S:	Maintained
+F:	drivers/vlynq/vlynq.c
+F:	include/linux/vlynq.h
+
 VOLTAGE AND CURRENT REGULATOR FRAMEWORK
 P:	Liam Girdwood
 M:	[email protected]
drivers/Kconfig +2 -0
index 00cf955..a442c8f 100644
@@ -104,6 +104,8 @@ source "drivers/auxdisplay/Kconfig"
 
 source "drivers/uio/Kconfig"
 
+source "drivers/vlynq/Kconfig"
+
 source "drivers/xen/Kconfig"
 
 source "drivers/staging/Kconfig"
drivers/Makefile +1 -0
index 1266ead..0d39303 100644
@@ -105,5 +105,6 @@ obj-$(CONFIG_PPC_PS3)		+= ps3/
 obj-$(CONFIG_OF)		+= of/
 obj-$(CONFIG_SSB)		+= ssb/
 obj-$(CONFIG_VIRTIO)		+= virtio/
+obj-$(CONFIG_VLYNQ)		+= vlynq/
 obj-$(CONFIG_STAGING)		+= staging/
 obj-y				+= platform/
drivers/vlynq/Kconfig new file +20 -0
new file mode 100644
index 0000000..f654221
@@ -0,0 +1,20 @@
+menu "TI VLYNQ"
+
+config VLYNQ
+	bool "TI VLYNQ bus support"
+	depends on AR7 && EXPERIMENTAL
+	help
+	  Support for Texas Instruments(R) VLYNQ bus.
+	  The VLYNQ bus is a high-speed, serial and packetized
+	  data bus which allows external peripherals of a SoC
+	  to appear into the system's main memory.
+
+	  If unsure, say N
+
+config VLYNQ_DEBUG
+	bool "VLYNQ bus debug"
+	depends on VLYNQ && KERNEL_DEBUG
+	help
+	  Turn on VLYNQ bus debugging.
+
+endmenu
drivers/vlynq/Makefile new file +5 -0
new file mode 100644
index 0000000..b3f6114
@@ -0,0 +1,5 @@
+#
+# Makefile for kernel vlynq drivers
+#
+
+obj-$(CONFIG_VLYNQ) += vlynq.o
drivers/vlynq/vlynq.c new file +814 -0

814 lines not on this page · raw message

include/linux/vlynq.h new file +161 -0

161 lines not on this page · raw message