summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* nand: driver for Nomadik 8815 SoCJean-Christophe PLAGNIOL-VILLARD2010-08-063-0/+254
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* amba: add pl011Jean-Christophe PLAGNIOL-VILLARD2010-08-063-0/+202
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* at91: implement clock frameworkJean-Christophe PLAGNIOL-VILLARD2010-08-062-6/+37
| | | | | | | | | | | this implementation is based on linux one (v2.6.35-rc5-76-gd0c6f62) it will calculate all the clock dynamically instead of statictly this will use also the new clock framework it will also print the clock status after the console init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-08-0356-107/+11944
|\
| * drivers/usb: regorganisationJean-Christophe PLAGNIOL-VILLARD2010-08-0213-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | move to linux usb driver organisation as following drivers/usb/core drivers/usb/gadget drivers/usb/host drivers/usb/otg Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * atmel_nand: fix comment where this code is derived fromSascha Hauer2010-07-231-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge remote branch 'origin/omap' into nextSascha Hauer2010-07-122-24/+87
| |\
| | * omap nand: cleanupSascha Hauer2010-07-052-24/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move oob layout to driver - make hwecc support nonoptional but selectable by the board. - let the boards decide which buswidth / ecc type to use. They know better than the user which gets confused by too many kconfig options. - Let the boards explicitly register the nand device. I tried to seperate this further, but failed because of too many dependencies in the code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | barebox ubi changesSascha Hauer2010-07-057-172/+291
| | | | | | | | | | | | | | | | | | This adds the layer between barebox and UBI. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | add ubi support from u-boot. Just enough to compile and scanSascha Hauer2010-07-0521-0/+11400
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | cfi_flash: Add mtd partition support for UBISascha Hauer2010-07-052-4/+98
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | cfi_flash: Do not print debug info while erasingSascha Hauer2010-07-051-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | cfi_flash: Do not typedef struct flash_infoSascha Hauer2010-07-054-60/+60
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | add partition mtd supportSascha Hauer2010-07-053-0/+146
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | move drivers/nand to drivers/mtd/nandSascha Hauer2010-07-0518-3/+12
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / nand_imx: fix "used uninitialized" warning on mx25Baruch Siach2010-07-161-1/+1
|/ | | | | | | | drivers/nand/nand_imx.c: In function 'imx_nand_load_image': drivers/nand/nand_imx.c:1074: warning: 'host' is used uninitialized in this function Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-07-0325-137/+350
|\
| * imx-ipu-fb: do not enable framebuffer on startupEric Bénard2010-06-301-2/+0
| | | | | | | | | | | | | | | | The board code or startup script should enable it when it actually wants to. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * imx-ipu-fb: Add board specific hook to enable displayEric Bénard2010-06-301-0/+8
| | | | | | | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi flash driver: Use generic progression bar functionSascha Hauer2010-06-281-1/+4
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge remote branch 'origin/assorted-pu' into nextSascha Hauer2010-06-285-78/+94
| |\
| | * fb: add a usage counter to prevent double enable/disableSascha Hauer2010-06-241-0/+5
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * i.MX serial: Use readl/writel instead of pointer derefSascha Hauer2010-06-241-66/+71
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * usbnet: remove unused dev member in struct usbnetSascha Hauer2010-06-242-10/+11
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * imxfb: do not enable framebuffer on startupSascha Hauer2010-06-241-2/+0
| | | | | | | | | | | | | | | | | | | | | The board code or startup script should enable it when it actually wants to. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * imxfb: Add board specific hook to enable displaySascha Hauer2010-06-241-0/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: remove unused codeSascha Hauer2010-06-242-9/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Force a ehci_halt before trying to resetSascha Hauer2010-06-241-0/+21
| | | | | | | | | | | | | | | | | | | | | As observed on OMAP some controllers do not like being resetted when running. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: use is_timeout for timeout instead of udelay counterSascha Hauer2010-06-241-5/+7
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | usb: Check return value of host controller initSascha Hauer2010-06-241-1/+4
| | | | | | | | | | | | | | | | | | And do not scan the bus if initialization failed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Handle hub port reset properlySascha Hauer2010-06-241-0/+18
| | | | | | | | | | | | | | | | | | This has been copied from the U-Boot ehci driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Make has_tt configurable via platform dataSascha Hauer2010-06-241-6/+12
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'net' into nextSascha Hauer2010-06-1716-35/+38
| |\
| | * rework device parametersSascha Hauer2010-06-173-21/+24
| | | | | | | | | | | | | | | | | | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * network drivers: call net_receive directly instead of NetReceiveSascha Hauer2010-06-1713-14/+14
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i2c: add driver for the MC34704 PMICBaruch Siach2010-06-103-0/+144
| |/ | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | nor: don't use sector for ERASE_STARTWolfram Sang2010-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to ac2d4d71ba493fd638ae0bf1a530a51c76d3c53d, copy the behaviour from Linux which does: cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); Notice the third parameter which is simply chip->start. Needed for some SST-flashes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i2c: fix adapter_list manipulationBaruch Siach2010-06-171-1/+1
|/ | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: implement i2c_get_adapter()Sascha Hauer2010-05-261-1/+23
| | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c-imx: change log level for No ACKEric Bénard2010-05-261-1/+1
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX25 : add Framebuffer supportEric Benard2010-05-172-3/+20
| | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fsl_udc: make it work with MMU onSascha Hauer2010-05-031-5/+6
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cfi_flash: use flash_write_word instead of reimplementing it againUwe Kleine-König2010-05-031-18/+1
| | | | | | | | | While at it remove some unused code and an unbalanced enable_interrupts(). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nor: Don't use the sector for the unlock sequenceWolfram Sang2010-05-031-8/+8
| | | | | | | | | | | | | | | Copy the behaviour from Linux which does: cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); ... (Notice the third parameter which is simply chip->start). Solves erase problems with SST flashes. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "nand_imx: Speed up sequential read"Sascha Hauer2010-05-031-47/+13
| | | | | | | This breaks at least on v1 type controllers with 2k pages. Lets revert it for now and rework it. This reverts commit d5578b81799a61eecca90152a3a1c392caab3638.
* fix miiphy allocJan Weitzel2010-04-141-4/+4
| | | | | | | | if fec was allocated using malloc. if fec->miiphy->dev->driver != 0 miiphy_probe is not called Signed-off-by: Jan Weitzel <J.Weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-04-066-23/+81
|\
| * i.MX21: support framebufferIvo Clarysse2010-04-021-0/+9
| | | | | | | | | | | | | | | | This patch allows using the i.MX (LCDC) framebuffer driver on boards using an i.MX21 SoC. Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * netx eth driver: remove local definition of ARRAY_SIZESascha Hauer2010-03-301-2/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pass arguments to dma_* as unsigned long as the kernel doesSascha Hauer2010-03-303-4/+6
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>