]> git.karo-electronics.de Git - mv-sheeva.git/commit
[ARM] orion5x: TS-78xx support for 'hotplug' of FPGA devices
authorAlexander Clouter <alex@digriz.org.uk>
Fri, 6 Feb 2009 22:16:55 +0000 (22:16 +0000)
committerAlexander Clouter <alex@digriz.org.uk>
Fri, 6 Feb 2009 22:16:55 +0000 (22:16 +0000)
commit39008f959f4f3b60eecc5cec0ca077146c1f366b
tree35d9aaf4c722f0b9c9f8f2e7ef33a60a4ab28fff
parentf54128609c4e7792fb52b03c3db0da78627ce607
[ARM] orion5x: TS-78xx support for 'hotplug' of FPGA devices

the FPGA on the TS-7800 provides access to a number of devices
and so we have to be careful when reprogramming it.  As we
are effectively turning a bus off/on we have to inform the
kernel that it should stop using anything provided by the
FPGA (currently only the RTC however the NAND, LCD, etc is
to come) before it's reprogrammed.

Once reprogramed, we can tell the kernel to (re)enable things
by checking the FPGA ID against a lookup table for what a
particular FPGA bitstream can provide.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-orion5x/ts78xx-fpga.h [new file with mode: 0644]
arch/arm/mach-orion5x/ts78xx-setup.c