summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-12-19Initial phyCORE-Vybrid changesRussell Robinson Jr
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
2012-11-20mvf_dcu: init all dcu registers at boot timeEd Nash
2012-10-17ENGR00216078-2: switch: add L2 switch driver for Vybrid3.0-mvf-201210121659Jason Jin
Port the L2 switch driver from CF platform for Vybridi plaform. This driver usually should work together with the RSTP demo applications provided by fsl. Signed-off-by: Alison Wang <b18965@freescale.com> Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-10-17ENGR00181358-3: fec: add second FEC support for VybridAlison Wang
Add second FEC support for Vybrid. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-10-17ENGR00212250-2: watchdog: Add watchdog driver support for VybridAlison Wang
Add watchdog driver support for Vybrid. Signed-off-by: Wang Xiaojun <b41435@freescale.com>
2012-10-17ENGR00181395-1: Add UART MISC functions support for FaradayJingchang Lu
Add hardware flow control support, Add transmit DMA support, Add FIFO operation support, Add MSB/LSB on data support, Add 9-bits MARK/SPACE support. Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-10-17ENGR00181390-2: qspi: Add Quad SPI driver support for VybridAlison Wang
Add Quad SPI driver support for Vybrid. Signed-off-by: Alison Wang <b18965@freescale.com> Xiaochun Li <b41219@freescale.com>
2012-10-17ENGR00181407-3: Add Compaq touch screen interface for nano-xAlison Wang
Add Compaq touch screen interface for nano-x. Nano-x work with touch screen driver via Compaq touch screen event format, this patch could add the support above mouse device. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-10-17ENGR00181407-2: ts: add touch screen driver support for VybirdAlison Wang
Add touch screen driver support for Vybird. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-10-17ENGR00180953-2: dspi: update dspi driver support for VybridAlison Wang
Update dspi driver support for Vybrid after debugging on board. Signed-off-by: Jason Jin <jason.jin@freescale.com> Alison Wang <b18965@freescale.com>
2012-09-12ENGR00220352: Fix reboot hung after set uart baudrate3.0-mvf-201208141602Jingchang Lu
Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-09-12Enable the FEC as modulesJason Jin
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00212262-3: Faraday:Enable the ADMA2 function for SDHCJason Jin
This patch enable the ADMA2 function for the SDHC module used on Faraday board. Please note that the ADMA address should be 16 bytes aligned other than 4 byte in the spec. This patch also increased the SDHC module frequency to 200MHz. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00219771: Fix high-speed usb hub connection detection failure for FaradayJingchang Lu
Only disable the high-speed device disconnection detction for level-1 device, or the connection detecting would fail. Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-09-12ENGR00219354: Fix USB host driver compiled as module fail problemJingchang Lu
Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-09-12ENGR00219787:Fix UART baud rate and console setting for MVF platformJingchang Lu
Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-09-12ENGR00220009: dcu: Add the option to enable or disable blanking supportAlison Wang
If framebuffer console support is enabled, blanking the screen will occur after a long time. To avoid it, the option for disabling blanking is added. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-09-12ENGR00219495: dcu: Fix module reinsert error for DCU driverAlison Wang
Signed-off-by: Alison Wang <b18965@freescale.com>
2012-09-12ENGR00219342: edma: Updated edma driver and edma test driverXiaochun Li
This patch is to update Edma driver after debugging on board. mainly, fixed the bug that resulting the request source of DMA1 overflow Signed-off-by: Xiaochun Li <b41219@freescale.com>
2012-09-12ENGR219460:There is call trace when the SD card removed and then pluged-intoJason Jin
The call trace introduced by the card interrupt. This patch try to fix this by disabling the card interrupt. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00180936-3: add the module for test eDMA driverXiaochun Li
This patch is to tests eDMA driver. a simple memory to memory transfer with a 32 bit source and destination transfer size that generates an interrupt when the transfer is complete. Signed-off-by: Xiaochun Li <b41219@freescale.com>
2012-09-12ENGR00181396-2: high-speed USB device disconnection managementJingchang Lu
Detection of high-speed USB device disconnection should be enable on connection and disable on disconnection. Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-09-12ENGR00180953-2: dspi: add dspi driver support for FaradayAlison Wang
Add dspi driver support for Faraday. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-09-12ENGR00180947-2: dcu: add dcu driver support for FaradayAlison Wang
Add dcu driver support for Faraday. The penguin logo could be shown correctly and the microwindows application was also tested. Signed-off-by: Alison Wang <b18965@freescale.com>
2012-09-12ENGR00181374-2: nfc: add NFC driver support for FaradayAlison Wang
Add NFC driver support for Faraday. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00181363-2: add I2C controller support for FaradayAlison Wang
Add the I2C controller support for Faraday. Enable the I2C0 for Faraday. There are some different with I.MX for I2C controller, The i2c enable bit is invert with i.mx and the interrupt clear is w1c on Faraday but w0c on i.mx As there are more than one devices on the bus, the drive strength is set to 50ohm, otherwise, some device can not be found. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00180936-2: edma: add edma driver support for MVFAlison Wang
Add EDMA driver support for MVF. can use the "Always enable" model and DMA request sources from DMA1. Signed-off-by: Jingchang Lu <b35083@freescale.com> Signed-off-by: Xiaochun Li <b41219@freescale.com
2012-09-12ENGR00212262-2: esdhc: add esdhc controller support for MVFAlison Wang
Add esdhc controller support for MVF. The wp_pin for esdhc should be disabled. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00181358-2: fec: add FEC driver support for MVFAlison Wang
Add FEC driver support for MVF. Update the phyid for micrel ksz8041 phy. There are several version sz8041 with different phyid. Those id: 0x00221510, 0x00221512, 0x00221513 were found on different version SER board. So change the mask to 0x00fffff0 to fit the different version. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
2012-09-12ENGR00181393-2: uart: add basic UART and console support for MVFAlison Wang
Add basic UART and console support for MVF. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jingchang Lu <b35083@freescale.com>
2012-03-08ENGR00175090 Update the fsl copyright of gpu kernel driver to 2012Huang Loren
Update the fsl copyright of gpu kernel driver to 2012 Signed-off-by: Huang Loren <b02279@freescale.com>
2012-03-08ENGR00174654-2 Update gpu kernel driver to vivante 4.6.5 releaseLoren Huang
Merge 4.6.5 p1 kernel part code. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-03-07ENGR00176147-1: usb: fix some wakeup problemsPeter Chen
- Do not call hcd core adjust wakeup flag code. It may change wakeup flag, and cause port change detect(PCD) enable setting change. - For ID wakeup, it should not call host's fsl_usb_recover_hcd at ID interrupt. The coming ID switch event will resume host. - Do not need enable wakeup interrupt for host at platform driver resume routine, it may introduce unnessary wakeup interrupt during bus resume. The wakeup will be enabled again when usb host goes to controller again due to autosuspend. - When there is no gadget enabled, the otg port is still at host mode with interrupt enabled, so when male Micro-B to female A-type cable with usb device plugs in, there will be PCD interrupt before hcd core leaves suspend mode. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-07ENGR00176061-1 usb: otg: delete discharge vbus operation at otg driverPeter Chen
It may be useless at most of platforms, the user can enable discharge vbus if he/she wants speed up vbus lower speed during OTG switch. Besides, disable vbus interrupt during vbus change due to device <--> host mode switch. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-07ENGR00175864 [MMC]pipeline mmc requestsTony Lin
the patch is based on a series of patches by Per Forlin the patch is sdhci host side implementation. using a toshiba SDHC3.0 card, the performance increases from 48.5MB/s to 52.4MB/s. cmd: dd if=/dev/mmcblk0 of=/dev/null bs=1M count=500 the performance results running@1GHz, 200MHz CPU freq are: 52.4MB/s -> 20.7MB/s Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-03-07ENGR00175446 ldb: avoid NULL pointer when ldb driver is probed but not inited.Wayne Zou
ldb: avoid NULL pointer when ldb driver is probed but not inited. It can lead to kernel crash when framebuffer on LVDS panel is not inited. Signed-off-by: Wayne Zou <b36644@freescale.com>
2012-03-06ENGR00176159 video: ipuv3-fb: change to timeout semaphore to wait on irq.Zhang Jiejing
change to timeout semaphore to wait on irq. use no timeout semaphore have below issues: 1. since fbmem.c will hold the console_lock() before call PAN_DISPLAY ioictl, if have wrong happens on IPU, IRQ not come, any log printk will not ouput, it will become like a system hang, and developer don't know what's wrong. 2. semaphore don't have timeout, here we can't know irq not come, so hang it infintly. 3. semaphore lock and unlock in different context is a dangous operation. To fix these issue, use timedout version to wait on irq. But for better coding stly to align Kernel Coding Style Doc, better use complete to wait on irq, use semaphre little ugly. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-03-02ENGR00175219-7 camera: use clko_clk sourceGary Zhang
change clock source to clko_clk from cko1_clk Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-03-01ENGR00172084 MX6Q: Add 4 capture modes for ov5642Daiane Angolini
capture modes included: VGA(640x480)@15fps QVGA(320x240)@15fps NTSC(720x480)@15fps PAL(720x576)@15fps in order to test it: mxc_v4l2_capture.out -iw 640 -ih 480 -ow 640 -oh 480 -r 0 -fr 15 -m 0 test.yuv mxc_v4l2_capture.out -iw 320 -ih 240 -ow 320 -oh 240 -r 0 -fr 15 -m 1 test.yuv mxc_v4l2_capture.out -iw 720 -ih 480 -ow 720 -oh 480 -r 0 -fr 15 -m 2 test.yuv mxc_v4l2_capture.out -iw 720 -ih 480 -ow 720 -oh 576 -r 0 -fr 15 -m 3 test.yuv Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2012-03-01ENGR00175261 - EPDC fb: Remove warning messages from EPDC initDanny Nold
- Remove screen update from probe function. This update is redundant. The update in mxc_epdc_fb_fw_handler() will update and show the tux logo if FB console is added, so this achieves the same effect as the update invocation that was removed. - Remove dmaengine_get(), because SDMA driver returns a failure when cycling through DMA channels. Since it is not essential to register with this call, it has been removed. dmaengine_put() also removed. - Added hw_inialization variable to track whether HW is in process of being initialized. In which case, we do not print an error message when an update is received. Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-03-01mmc: block: add handling for two parallel block requests in issue_rw_rqPer Forlin
Change mmc_blk_issue_rw_rq() to become asynchronous. The execution flow looks like this: * The mmc-queue calls issue_rw_rq(), which sends the request to the host and returns back to the mmc-queue. * The mmc-queue calls issue_rw_rq() again with a new request. * This new request is prepared in issue_rw_rq(), then it waits for the active request to complete before pushing it to the host. * When the mmc-queue is empty it will call issue_rw_rq() with a NULL req to finish off the active request without starting a new request. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: queue: add a second mmc queue request memberPer Forlin
Add an additional mmc queue request instance to make way for two active block requests. One request may be active while the other request is being prepared. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: move error path in issue_rw_rq to a separate function.Per Forlin
Break out code without functional changes. This simplifies the code and makes way for handling two parallel requests. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar<sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: add a block request prepare functionPer Forlin
Break out code from mmc_blk_issue_rw_rq to create a block request prepare function. This doesn't change any functionallity. This helps when handling more than one active block request. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: add member in mmc queue struct to hold request dataPer Forlin
The way the request data is organized in the mmc queue struct, it only allows processing of one request at a time. This patch adds a new struct to hold mmc queue request data such as sg list, request, blk request and bounce buffers, and updates any functions depending on the mmc queue struct. This prepares for using multiple active requests in one mmc queue. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: queue: let host controllers specify maximum discard timeoutAdrian Hunter
Some host controllers will not operate without a hardware timeout that is limited in value. However large discards require large timeouts, so there needs to be a way to specify the maximum discard size. A host controller driver may now specify the maximum discard timeout possible so that max_discard_sectors can be calculated. However, for eMMC when the High Capacity Erase Group Size is not in use, the timeout calculation depends on clock rate which may change. For that case Preferred Erase Size is used instead. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: add checking of r/w command responseRussell King - ARM Linux
Check the status bits in the r/w command response for any errors. If error bits are set, then we won't have seen any data transferred, so it's pointless doing any further checking. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: improve error recovery from command channel errorsRussell King - ARM Linux
Command channel errors fall into four classes: 1. The command was issued with the card in the wrong state 2. The command failed to be received by the card correctly 3. The cards response failed to be received by the host (CRC error) 4. The card failed to respond to the card For (1), in theory we should know that the card is in the correct state. However, a failed stop command (or other failure) may result in the card remaining in a data transfer state from the previous command. If we detect this condition, we try to recover by sending a stop command. For the initial commands (set block count and the read/write command) no data will have been transferred. All that we need deal with is retrying at this point. A failed stop command can be remedied as above. If we are unable to recover the card (eg, the card ignores our requests for status, or we don't recognise the error code) then we immediately fail the request. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: block: allow get_card_status() to return error statusRussell King - ARM Linux
If the MMC_SEND_STATUS command is not successful, we should not return a zero status word, but instead allow the caller to know positively that an error occurred. Convert the open-coded get_card_status() to use the helper function, and provide definitions for the card state field. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-01mmc: mmc_test: test to measure how sg_len affect performancePer Forlin
Add a test that measures how the mmc bandwidth depends on the numbers of sg elements in the sg list. The transfer size if fixed and sg length goes from a few up to 512. The purpose is to measure overhead caused by multiple sg elements. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Venkatraman S <svenkatr@ti.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>