summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/vexpress'Sascha Hauer2013-03-044-7/+102
|\
| * sp804: introduce amba_is_arm_sp804 to detect if the sp804 is present at the ↵Jean-Christophe PLAGNIOL-VILLARD2013-02-121-3/+3
| | | | | | | | | | | | | | address Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * amba: introduce amba_device_get_pid/cidJean-Christophe PLAGNIOL-VILLARD2013-02-121-7/+3
| | | | | | | | | | | | | | so we can use it on vexpress to detect the hardware mapping Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * clocksource: add ARM AMBA SP804 supportJean-Christophe PLAGNIOL-VILLARD2013-02-113-0/+99
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/usb'Sascha Hauer2013-03-044-27/+177
|\ \
| * | USB i.MX: Add chipidea gadget supportSascha Hauer2013-02-152-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | This adds USB gadget support to the i.MX chipidea driver. Basically we have to add a register function to the fsl udc driver and call this from the chipidea driver if device mode is selected. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB i.MX6: Add HSIC supportSascha Hauer2013-02-141-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HSIC needs some special setup for i.MX6. Most ugly detail is that the HSIC needs help of the IOMUX to configure a pullup on the strobe line. This has to be done after the ehci controller has started. Fortunately there is only one muxing possibility for the HSIC ports on i.MX6, so we can simply control the iomux from the usbmisc driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB i.MX chipidea: implement post init supportSascha Hauer2013-02-142-19/+87
| | | | | | | | | | | | | | | | | | | | | Some controllers need an init hook after the USB controller is started, so implement the post init hook for i.MX. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB ehci: Add platform specific init callsSascha Hauer2013-02-141-0/+14
| | | | | | | | | | | | | | | | | | | | | Some USB cores need a platform specific init hook, add it to the ehci driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB chipidea i.MX: Fix PTS mask for HSICSascha Hauer2013-02-141-1/+1
| |/ | | | | | | | | | | bit25 is part of the PTS bits, so mask it out before rewriting it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mxs'Sascha Hauer2013-03-047-118/+540
|\ \
| * | driver/serial: add driver for the mxs application uartMarc Kleine-Budde2013-03-033-0/+243
| | | | | | | | | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | driver/serial: Kconfig: explicitly state that existing mxs driver is for the ↵Marc Kleine-Budde2013-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | debug uart Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | SPI: Add i.MX 23/28 SPI driver supportMichael Grzeschik2013-02-113-0/+295
| | | | | | | | | | | | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM mxs: ssp move to common register layoutMichael Grzeschik2013-02-111-117/+1
| |/ | | | | | | | | | | | | | | | | This patch moves the register defines and bit definitions into one include file. As the defines are common for ssp and mci devices they can be shared. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mtd'Sascha Hauer2013-03-0414-107/+119
|\ \ | | | | | | | | | | | | | | | Conflicts: arch/arm/configs/eukrea_cpuimx27_defconfig drivers/mtd/core.c
| * | mtd nor: remove unnecessary 'depend' in KconfigSascha Hauer2013-02-181-8/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | nor flash: integrate into mtdSascha Hauer2013-02-1410-71/+22
| | | | | | | | | | | | | | | | | | | | | | | | CFI Flash is currently handled outside the mtd layer which makes it a special case. Integrate it into mtd so that we get rid of this special status. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: implement mtd_lock and mtd_unlockSascha Hauer2013-02-141-0/+37
| | | | | | | | | | | | | | | | | | Needed for NOR flashes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: Use mtd_* functions where appropriateSascha Hauer2013-02-144-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Instead of dereferencing struct mtd_info members directly use the wrapper functions which have an additional check if the callback exists if it is optional, like mark_bad or is_bad. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: Add mtd_* functionsSascha Hauer2013-02-141-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | The Kernel has mtd_read, mtd_write, mtd_erase and mtd_block_markbad. Add these functions to barebox aswell to make future mtd synchronizations with the kernel easier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mtd: rename mtd file operations callback functionsSascha Hauer2013-02-141-8/+9
| |/ | | | | | | | | | | | | | | These are currently named mtd_read/write/erase. Functions with the same name exist as global functions in the kernel. Rename them to mtd_op_* to avoid name clashes with future mtd updates. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2013-03-0475-540/+102
|\ \
| * | serial/Makefile: drop out of date commentsJean-Christophe PLAGNIOL-VILLARD2013-02-261-6/+0
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | smc911111: fix send and recv return valueJean-Christophe PLAGNIOL-VILLARD2013-02-261-6/+6
| | | | | | | | | | | | | | | | | | | | | on error send error code and 0 on success Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Make "dev_get_resource" publicly availableAlexander Shiyan2013-02-181-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mfd: Using MFD_xx prefix for symbolsAlexander Shiyan2013-02-186-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | This patch provides rename MFD-related symbols for using MFD-prefix. Additionally, sorting mfd/Kconfig and mfd/Makefile records. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Use new device_platform_driver() macro for driversAlexander Shiyan2013-02-1366-500/+66
| | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fix cpsw depends on ARCH_OMAPAlexander Aring2013-02-111-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | sata-imx: fix depends on ARCH_IMXAlexander Aring2013-02-111-0/+1
| |/ | | | | | | | | Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2013-03-042-14/+26
|\ \
| * | net: fec_imx: ensure constant timeout in fec_haltHubert Feurstein2013-02-221-3/+8
| | | | | | | | | | | | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: use dev_err and dev_warn instead of printfHubert Feurstein2013-02-221-7/+7
| | | | | | | | | | | | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net fec_imx: add support for i.MX6 1000Mbps modeHubert Feurstein2013-02-112-4/+11
| |/ | | | | | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/highbank'Sascha Hauer2013-03-044-7/+762
|\ \
| * | highbank: add xgmac supportJean-Christophe PLAGNIOL-VILLARD2013-02-143-0/+744
| | | | | | | | | | | | | | | | | | Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of_add_memory: check the device_type is memoryJean-Christophe PLAGNIOL-VILLARD2013-02-141-4/+7
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: make of_add_memory available for other boardJean-Christophe PLAGNIOL-VILLARD2013-02-141-6/+14
| |/ | | | | | | | | | | | | | | | | | | | | so when the first stage booloader of firmware provide the dtb we can use it to probe the memory also allow to print what we probe Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/dt'Sascha Hauer2013-03-044-8/+57
|\ \
| * | amba: add oftree probe supportJean-Christophe PLAGNIOL-VILLARD2013-02-124-8/+57
| |/ | | | | | | | | | | | | move ARM_AMBA Kconfig to drivers/amba/Kconfig Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/ahci'Sascha Hauer2013-03-041-2/+18
|\ \
| * | ahci-generic: add oftree supportJean-Christophe PLAGNIOL-VILLARD2013-02-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | calxeda use the generic driver but have it's own compatible cf Linux kernel Documentation Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ahci: handle COMINIT received during spin-upRob Herring2013-02-131-2/+9
| |/ | | | | | | | | | | | | | | | | Some Intel SSDs can send a COMINIT after the initial COMRESET. This causes the link to go down and we need to re-initialize the link. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mtd: always write page when oob is givenSascha Hauer2013-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Since recently we check for the page being written for not being empty and do not actually write it when it is. This fails for a freshly created flash bad block table when all blocks are good. In this case the bbt code will try to write an empty page, but with the BBT marker in OOB. This page never gets written, so the BBT code will not find a bad block table during next start up and writes it again. Fix this by checking if we want to write OOB data, if we do, then write the page, even if the data is empty. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | phy: fix force modeJean-Christophe PLAGNIOL-VILLARD2013-02-252-0/+8
| | | | | | | | | | | | | | | | do not try to read the status in force mode the link is up Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | imx_spi: fix bus-num setupHubert Feurstein2013-02-211-0/+1
| | | | | | | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | net: imx_fec: fix RMII support for i.MX6Hubert Feurstein2013-02-211-1/+1
| | | | | | | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mtd: nand: do not write empty pagesSascha Hauer2013-02-212-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not write pages which only contain 0xff. UBI expects pages which seem empty to be writable. This got lost with: | commit 3139c3e9a61e70846be8c4f95bb9cffd4465d88a | Author: Sascha Hauer <s.hauer@pengutronix.de> | Date: Thu Nov 29 11:16:40 2012 +0100 | | mtd core: call driver write function with complete buffer | | mtd->write is supposed to loop around pages internally, no need | to do this in mtd_write. This fixes a huge write performance drop | with the m25p80 driver when it was converted to a mtd driver recently. | Since mtd->writesize is 1 for this driver mtd_write ended up doing | single byte writes on the flash. Introduce mtd_all_ff as a global function since UBI currently has its own implementation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | amba: pl011: set RTS during initializationRob Herring2013-02-181-1/+1
|/ | | | | | | | | | | | RTS is an output. Either flow control is used and you care about the state or it is not used and you don't care. So setting it to active does no harm in either case. This is inline with what Linux does. Mandatory for Highbank as example Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* phy/micrel: KSZ9021 diasable Asym Pause supportJean-Christophe PLAGNIOL-VILLARD2013-02-111-2/+6
| | | | | | | | | Due to a hw bug do not enable teh Asym_Pause. Otherwise if you ser the bit 11 in 4h you will have to unplug and replug the cable to make the phy work. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>