summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-14Remove GFP_DMA flag from mx2fb driver2.6.24-mx27lite-200808141800Justin Waters
The GFP_DMA flag is unneccesary when using dma_alloc_coherent, and may possibly break the code if an initramfs is used. There is no real reason why it should be limited to the first 16 MB of memory. I am removing it so that it will work with the initramfs system. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-30Fix Freescale OTG implementation2.6.24-mx27lite-200805301934Justin Waters
There were a number of issues with Freescale's OTG files that were not compiling due to forward porting. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-30MX27 Time: Fix missing case statementJustin Waters
There was a missing case statement in one of the functions that triggered a warning. I added it in so that it doesn't do anything. Signed-off-by: Justin Waters <justin.waters@timeys.com>
2008-05-30MX27 USB: Update DMA_BIT_MASK to newer APIJustin Waters
Using hex values to specify bit masks is old news. This uses the definition contained in dma_mappings.h to make everything easier to read. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-29Update YAFFS to match new FS API2.6.24-mx27lite-200805291611Justin Waters
The readfile method in the file_operations struct has been deprecated as of 2.6.22 and replaced with spliceread. This updates YAFFS to match. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-29MX27 GPIO: Ensure 8-bit operation for the NAND flashJustin Waters
This patch sets up the NAND registers to use 8-bit NAND flash. This is from the MX27ADS code, and was removed during the porting effort. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-29MX27 GPIO: Enable pullup resistors and set up chip detect for SDHCJustin Waters
The SD interface has configurable pullup resistors that need to be set. It also relies on a couple of functions to determine the state of the chip select and to pass the chip select interrupt to the platform data. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-29MXC GPIO: Add method for masking/unmasking interrupts on the port levelJustin Waters
The GPIO interrupts on the MXC platforms can be masked on either the pin or port level, but no method existed to mask them on the port level. This patch adds that support and unmasks the ports on the MX27 when an IRQ is unmasked. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-29MX27Lite: Change PMIC PRIINT pin to USBH1_SUSPJustin Waters
The PMIC uses a different GPIO pin on the Litekit than it did on the ADS. This changes the pin to the proper value. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MX27: Fix USB register and PMIC HeaderJustin Waters
One of the USB registers were incorrectly written, and the PMIC header file had an unnecessary ifdef in it. Signed-off-by: David Kocinski <david.kocinski@timesys.com> Acked-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MXCFB: Fix mode entry for Sharp 6.4" VGA display kitJustin Waters
The values for the 6.4" display kit were incorrect. This version is tested and verified. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MX27Lite: Fix LCD GPIO pin requestsJustin Waters
The LCD interface on the Litekit uses two GPIO pins for power control. This patch requests them for the LCD and sets them as outputs. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MX27Lite: Remove useless MMC/SD codeJustin Waters
There was additional MMC code that is no longer used in the MX27 Lite file, and it causes compilation errors. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MX27Lite: Don't initialize SSI2Justin Waters
The pins for SSI2 are used for other purposes, so we don't want to enable it. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MX27 Serial: Disable all UARTS but the firstJustin Waters
The Lite kit only uses the first UART. The rest have been scavenged for pins. This disables all UARTS but the first so that there are no more pin conflicts. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MXC GPIO: Fix datain reading for MX27Justin Waters
The GPIO pins for the MX27 are read differently than those on the MX31. Rather than reading the Data Register (DR), you must read the Sample Status Register (SSR). Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-28MXCFB: Add flags to specify polarity of different signalsJustin Waters
The MXCFB module allows you to specify the polarity of a number of signals. This adds the ability to specify the polarity of the shift clock, line pulse, and first line marker signals. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-23Clean up MX27 CRM Register DefinitionsJustin Waters
The MX27 crm_regs.h file was a complete mess, obviously hastily ported from the MX31 version, which was also a mess. I cleaned it up quite a bit, although more work still needs to be done such as fixing the naming conventions. This is build tested on the MX27 Lite Kit. It may break MX27 builds. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-23MX27 DPTC: Remove Vestigal CodeJustin Waters
The Dynamic Processor Temperature Control Module is significantly different on the MX27 as compared to the MX31. It seems that some MX31 code slipped into the MX27 devices file, but essentially did nothing except try to register a device that didn't have a driver. I removed this code. I also fixed an issue with the Kconfig where you could select the DPTC module without the power management chip enabled, which causes a compilation error. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-23Remove printk from fec.cJohn Scherzer
2008-05-23Uses the correct mask for determining the phy address of the fec lan8700 chipJohn Scherzer
2008-05-21MX27LITE: Miscellaneous code cleanupJustin Waters
There were a lot of carryovers from the MX27 ADS code that were either useless or just plain wrong. This commit gets rid of these issues. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-21MX27LITE: Modify GPIO pins for SDHC2Justin Waters
The SDHC2 uses GPIO pins for WP and CD signals. This patch assigns these pins to that interface. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-21MX27: Add ability to enable individual Secure Digital controllersJustin Waters
Enabling the SD interface on the MX27 chip will enable all of the interfaces. Since we only use one of them, we should be able to flip them on and off individually. Ultimately, we'd like to do this is the board-specific file, but that will require additional work. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-21Merge branch 'bsp-imx27litekit-rel3' of ↵John Scherzer
ssh://John.Scherzer@engservices.timesys.com/pub/git/linux-2.6-mx into bsp-imx27litekit-rel3
2008-05-21Add smsc lan8700 driver configuration values to fec driverJohn Scherzer
2008-05-21RTC_MXC: Handle shared interrupts properlyJustin Waters
The MXC RTC driver interrupt handler never checked to make sure it was handling the correct IRQ. This was causing it to oops whenever CONFIG_DEBUG_SHIRQ was enabled in the kernel. This fixes that problem by checking the IRQ status registers on the RTC module whenever the IRQ occurs. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-20MX27LITE_GPIO: Fix pins for USBOTG interfaceJustin Waters
The USBOTG interface uses two GPIO pins for its PWR_EN and OC signals. These pins are associated with the OTG interface and the PWR_EN is cleared since the power enable signal for the power controller is low-true. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-20Update pin configuration for USB Host 2 on the Lite Kit.Justin Waters
The USB Host 2 on the MX27 Litekit uses the USB_POWER and USB_OC_B pins for power and overcurrent detect, respectively. In order to make them function properly, we need to assign those pins to the Host 2 driver and change the H2PM field of the USB_CTRL register on the i.MX27. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-20MX27LITE_GPIO: Fix GPIO conflicts between USB Host 2 and SPI 1Justin Waters
USB Host 2 and SPI 1 only conflict with one pin. If the SPI bus is not using the slave select 2 (SS2) pin (which the Atlas chip does not), then you can use both the SPI 1 and USB Host 2 interfaces simultaneously. This patch disables the MSB of the slave select if Host 2 is enabled. This will limit SPI1 to only 4 slaves instead of 8. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-16MX27Litekit: Update NOR Flash partition tableJustin Waters
The NOR flash on the Litekit is significantly smaller than that on the ADS board. This breaks the partitions into three blocks: one for LogicLoader, one for the LogicLoader configuration data, and one for miscellaneous use. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-16MX27Litekit: Add basic display supportJustin Waters
The patches did not contain the board specific information to initialize the display. This patch will add support for the Sharp VGA display from LogicPD. We would eventually like to add support for other displays as well. This patch is based on work by the user fszczerba on the LogicPD forums. Signed-off-by: Justin Waters <justin.waters@timesys.com>
2008-05-14Add old FEC driver from PengutronixJustin Waters
The Freescale FEC driver doesn't work in 2.6.24. Pengutronix ported an old version of this driver to 2.6.25 in order to get it to work. This driver currently times out after a period of time when booting from NFS, however. http://www.pengutronix.de/software/linux-i.MX/index_en.html Signed-off-by: John Scherzer <john.scherzer@timesys.com> Acked-by: Justin Waters <justin.waters@timesys.com> Acked-by: Daniel Schaeffer <daniel.schaeffer@timesys.com>
2008-05-14Add MX27 Litekit exception to DPM driverJustin Waters
The i.MX27 Litekit has the same exception as the i.MX27 ADS board in the dynamic power management module. Signed-off-by: John Scherzer <john.scherzer@timesys.com> Acked-by: Justin Waters <justin.waters@timesys.com>
2008-05-14Backport mach-types to include mx27litekitJustin Waters
The mach-type for the i.MX27 litekit is not in 2.6.24. This is a backport from another version of the kernel. It was provided to us by LogicPD. Signed-off-by: John Scherzer <john.scherzer@timesys.com> Acked-by: Justin Waters <justin.waters@timesys.com>
2008-05-14i.MX27 Litekit board supportJustin Waters
The i.MX27 Litekit is based off of Freescale's i.MX27 processor. This patch adds the basic board support files and memory map information for this board. Signed-off-by: John Scherzer <john.scherzer@timesys.com> Acked-by: Justin Waters <justin.waters@timesys.com>
2008-02-27Removed white space that was causing kernel patches to2.6.24-mx27ads-2008022718292.6.24-mx27-200802271829Daniel Schaeffer
be rejected Changes to be committed: modified: Makefile
2008-02-27Fixed default config fileDaniel Schaeffer
Changes to be committed: modified: arch/arm/configs/imx27ads_defconfig
2008-02-26Fixed MXC IDE compile bugsDaniel Schaeffer
2008-02-25Update log to 80 pixel high logo so that the console canDaniel Schaeffer
be displayed on the LCD display. Changes to be committed: modified: drivers/video/logo/logo_ts_clut224.ppm
2008-02-14Added TimeSys logoDaniel Schaeffer
Changes to be committed: modified: arch/arm/configs/imx27ads_defconfig modified: drivers/video/logo/Kconfig modified: drivers/video/logo/Makefile modified: drivers/video/logo/logo.c new file: drivers/video/logo/logo_ts_clut224.ppm
2008-02-14Update mx27 kernel configDaniel Schaeffer
Changes to be committed: modified: arch/arm/configs/imx27ads_defconfig
2008-02-04Moved mx watchdog driverDaniel Schaeffer
Changes to be committed: modified: drivers/watchdog/Kconfig modified: drivers/watchdog/Makefile
2008-02-04FIxed merger error that was only symptomatic during "make clean"Daniel Schaeffer
Changes to be committed: modified: drivers/pcmcia/Makefile
2008-02-01Misc merge changesDaniel Schaeffer
Changes to be committed: modified: drivers/media/video/mxc/capture/mx27_v4l2_capture.c modified: drivers/media/video/mxc/output/mx27_v4l2_output.c modified: drivers/mmc/host/mxc_mmc.c modified: drivers/spi/mxc_spi.c modified: drivers/usb/gadget/arcotg_udc.c
2008-02-01Fixed LONG() referanceDaniel Schaeffer
Changes to be committed: modified: drivers/input/touchscreen/mxc_ts.c
2008-02-01Fixed power managment APIDaniel Schaeffer
Changes to be committed: modified: arch/arm/mach-mx27/pm.c
2008-02-01Merge branch '2.6.24' into 2.6.24-imx27Daniel Schaeffer
Conflicts: MAINTAINERS Makefile arch/arm/Kconfig arch/arm/oprofile/Kconfig drivers/Makefile drivers/ata/Kconfig drivers/ata/Makefile drivers/char/watchdog/Kconfig drivers/char/watchdog/Makefile drivers/ide/Kconfig drivers/input/touchscreen/Kconfig drivers/input/touchscreen/Makefile drivers/mmc/card/block.c drivers/mmc/card/sdio_uart.c drivers/mmc/core/Makefile drivers/mmc/core/mmc_ops.c drivers/mmc/core/sdio.c drivers/mmc/core/sdio_bus.c drivers/mmc/core/sdio_cis.c drivers/mmc/core/sdio_io.c drivers/mmc/core/sdio_irq.c drivers/mmc/core/sdio_ops.c drivers/mmc/host/Kconfig drivers/mmc/host/Makefile drivers/mmc/host/au1xmmc.c drivers/mmc/host/tifm_sd.c drivers/mtd/maps/Makefile drivers/pcmcia/Kconfig drivers/pcmcia/Makefile fs/exec.c include/linux/mmc/card.h include/linux/mmc/host.h include/linux/mmc/sdio_func.h include/linux/mmc/sdio_ids.h include/linux/mod_devicetable.h mm/hugetlb.c scripts/mod/file2alias.c
2008-01-31Fixed extra version number. It was set at .6 since the orginal tree wasDaniel Schaeffer
2.6.22.6. Changes to be committed: modified: Makefile
2008-01-31Misc merge error fixesDaniel Schaeffer
Changes to be committed: modified: drivers/mmc/core/Makefile modified: drivers/mxc/vpu/mxc_vpu.c modified: drivers/usb/gadget/arcotg_udc.c