add support for the TI VLYNQ bus
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
Signed-off-by Eugene Konev <[email protected]>
Signed-off-by Florian Fainelli <[email protected]>
---
MAINTAINERS +8 -0
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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