ST SPEAr: PCIE gadget suppport
commitb9500546d5f85b56359657e1f78334db8de851fd
authorPratyush Anand <pratyush.anand@st.com>
Tue, 22 Mar 2011 23:33:58 +0000 (22 16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:10 +0000 (22 17:44 -0700)
tree545f8152e70737587b06f940209cad6b5e273447
parent45bff2ea4285cac5b4438c65216e114d3619f123
ST SPEAr: PCIE gadget suppport

This is a configurable gadget.  can be configured by configfs interface.
Any IP available at PCIE bus can be programmed to be used by host
controller.It supoorts both INTX and MSI.

By default, the gadget is configured for INTX and SYSRAM1 is mapped to
BAR0 with size 0x1000

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Viresh Kumar <viresh.kumar@st.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/ABI/testing/configfs-spear-pcie-gadget [new file with mode: 0644]
Documentation/misc-devices/spear-pcie-gadget.txt [new file with mode: 0644]
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/spear13xx_pcie_gadget.c [new file with mode: 0644]