summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* | Sort includes in mc13xxx.cAlexander Shiyan2012-04-111-1/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Rename mc13892 driver name to mc13xxxAlexander Shiyan2012-04-111-3/+3
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Rename mc13892_mode enum to mc13xxx_modeAlexander Shiyan2012-04-111-9/+9
| | | | | | | | | | | | | | Also renamed enum values. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Rename mc13892.c unit to mc13xxx.cAlexander Shiyan2012-04-113-3/+3
| | | | | | | | | | | | | | Also renamed config option name to MFD_MC13XXX. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Make mc13892_reg enum as defineAlexander Shiyan2012-04-111-7/+7
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ename mc13892.h header to mc13xxx.hAlexander Shiyan2012-04-111-1/+1
|/ | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'work/cfi-fixes'Sascha Hauer2012-04-101-6/+14
|\
| * cfi flash: Fix alignment problemSascha Hauer2012-04-051-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intel cfi buffer write has a problem with writing when the alignment of the buffer in memory is smaller than the flash bus width. This patch fixes a alignment problem which may show during this scenario: - 32 or 64 attached NOR flash - flashing an image directly from network to the nor flash The involved network driver is "smc9111.c". The data that comes from the network stack and should be written into the flash isn't 32 bit aligned (at least with this network driver). This is probably due to the 48 bit wide ethernet addresses. However the "cfi_flash.c" driver doesn't handle this situation, and accesses the not-aligned address with a 32 bit pointer. This patch fixes the problem by reducing the access width if an aligment problem between source and destination is found. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * cfi flash: Fix loop count calculationSascha Hauer2012-04-051-1/+1
| | | | | | | | | | | | | | | | 'reduce the number of loops by the width of the port' means a simple len / width. Do not try to be clever by shifting and doing it wrong. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Fixup DRIVER_VIDEO_S3C24XX usage.Uwe Hermann2012-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | From c67445d601c9332fabb71df8e41367fc104e1ac1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann <uwe@hermann-uwe.de> Date: Fri, 6 Apr 2012 20:07:12 +0200 DRIVER_VIDEO_S3C was renamed to DRIVER_VIDEO_S3C24XX recently. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Juergen Beisert <jbe@pengutronix.de>
* | Merge branch 'next'Sascha Hauer2012-04-0516-304/+1379
|\|
| * atmel_nand: add on_flash_btt option to enable bbt optionJean-Christophe PLAGNIOL-VILLARD2012-04-021-0/+6
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: at91_ether re-implement against new at91rm9200 apiJean-Christophe PLAGNIOL-VILLARD2012-04-023-232/+314
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Select POLLER option for fsl_udcAlexander Shiyan2012-04-021-0/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Cosmetic change name ISP1504 -> ISP150xAlexander Shiyan2012-04-021-1/+1
| | | | | | | | | | | | | | | | ISP150x product line have same identifier, we can print these chips as ISP150x. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Completely migrate option ISP1504 to ULPIAlexander Shiyan2012-04-024-18/+12
| | | | | | | | | | | | | | Since we do not have ISP1504-related functions, we migrated to ULPI. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Rename function ulpi_init to ulpi_detectAlexander Shiyan2012-04-021-2/+2
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Move set_vbus_power code to ULPI driverAlexander Shiyan2012-04-022-20/+25
| | | | | | | | | | | | | | This is ULPI-specific, not ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Add ULPI detection function.Alexander Shiyan2012-04-022-10/+47
| | | | | | | | | | | | | | | | | | Added ULPI detection function. Same function from isp1504 driver removed. Used implementation from Linux kernel. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Rename definitions for ULPI registersAlexander Shiyan2012-04-022-9/+9
| | | | | | | | | | | | | | | | These registers can be used for any standart ULPI chip, not only for ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: miidev: properly check for MII resetWolfram Sang2012-03-231-5/+12
| | | | | | | | | | | | | | | | | | Wait until the reset bit is actually cleared instead of some arbitrary delay (which caused problems with a PHY which was in some energy saving mode). Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: miidev: Refactor timeout for anegWolfram Sang2012-03-231-11/+6
| | | | | | | | | | | | | | | | First check the status at least once, then do timeout checks. Minor cleanups also. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: miidev: check for errors when accessing bus in restart_anegWolfram Sang2012-03-231-6/+23
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Remove duplicate voltage setup for imx-esdhcAlexander Shiyan2012-03-181-2/+0
| | | | | | | | | | | | | | We are already setup voltages from capabilities register. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Use register names for MC13892Alexander Shiyan2012-03-181-1/+1
| | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * NET: Add support for ks8851_mllJan Weitzel2012-03-134-0/+932
| | | | | | | | | | | | | | Add support for KS8851 16bit MLL chip from Micrel Inc. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * drivers/mtd: improve docg3 write speedRobert Jarzmik2012-03-131-2/+3
| | | | | | | | | | | | | | | | | | | | When programming or erasing a page, don't wait systematically for 3s, but finish the operation as soon as the hardware has finished, and timeout if 3 seconds have passed. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | USB gadget pxa: Fix compiler warningSascha Hauer2012-04-051-1/+1
| | | | | | | | | | | | | | | | Fixes: drivers/usb/gadget/pxa27x_udc.c:1263:13: warning: 'pxa27x_change_interface' defined but not used [-Wunused-function] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mtd: fix compiler warningSascha Hauer2012-04-051-0/+2
| | | | | | | | | | | | | | | | | | Fixes: drivers/mtd/core.c: In function 'mtd_ioctl': drivers/mtd/core.c:122:24: warning: unused variable 'ecc' [-Wunused-variable] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pxa27x_udc: Fix compilation warning.Marek Belisko2012-03-231-2/+2
| | | | | | | | | | | | | | | | Fix following: drivers/usb/gadget/pxa27x_udc.c:1482:1: warning: initialization from incompatible pointer type Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | serial S3: fix local structure mallocJuergen Beisert2012-03-131-1/+1
|/ | | | | | | | | Patch 2c5404651091e985c9009aa417d80fdaf50d7a68 introduces a private structure for the S3C based UARTs but still reserves the memory for the smaller structure which fails at runtime. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* macb: fix mmu supportJean-Christophe PLAGNIOL-VILLARD2012-03-061-3/+5
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* macb: add timeout on sendJean-Christophe PLAGNIOL-VILLARD2012-03-061-0/+5
| | | | | | | This will ensure that we send an other packet only when the first one is send. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/mci: fix read/write stallingRobert Jarzmik2012-02-291-21/+10
| | | | | | | | | | | | | | If a read or write operation encounters an error, the card might stay in "recv" or "data" state, and never get back to "tran" state. In these cases, the host is required to send a CMD12 (end transmission) to switch the FSM of the card back to "tran" state, as described in MMC Specification, chapter "Data Transfer Mode". Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/command' into nextSascha Hauer2012-02-293-3/+3
|\
| * commands: remove struct command pointer from commandsSascha Hauer2012-02-273-3/+3
| | | | | | | | | | | | This is unused in all commands and thus can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | drivers/serial: trivial regression fixRobert Jarzmik2012-02-291-1/+1
|/ | | | | | | | Fix commit "serial pxa: fix unregister", which forgot a semicolon, breaking serial_pxa compilation. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: add mc34708 driverEric Bénard2012-02-273-0/+299
| | | | | | | this driver is a copie of the mc13892 one Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net fec_mpc5200: drop type_data usageSascha Hauer2012-02-251-6/+6
| | | | | | Also, clean some whitespace damage. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net fec_imx: drop type_data usageSascha Hauer2012-02-251-3/+3
| | | | | | Store the private data pointer in dev->priv as it's intended. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net drivers: remove unused type_dataSascha Hauer2012-02-259-10/+0
| | | | | | | Many net drivers set dev->type_data without ever using it, so just remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: use container_of instead of dev->type_dataSascha Hauer2012-02-251-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial s3c: add a driver private structSascha Hauer2012-02-251-19/+28
| | | | | | | Do not use dev->priv as a register base, but use a driver private struct instead. Also, remove usage of dev->type_data Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial stm: fix unregisterSascha Hauer2012-02-251-3/+6
| | | | | | | - Add missing console_unregister call - use dev->priv instead of dev->type_data Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial imx: fix unregisterSascha Hauer2012-02-251-3/+5
| | | | | | | - Add missing console_unregister call - use dev->priv instead of dev->type_data Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial pxa: fix unregisterSascha Hauer2012-02-251-2/+5
| | | | | | | - Add missing console_unregister call - use dev->priv instead of dev->type_data Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* serial drivers: remove unused type_dataSascha Hauer2012-02-2511-12/+1
| | | | | | | Several serial drivers set the type_data field without ever using it, so just remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'pu/device-cleanup' into nextSascha Hauer2012-02-171-5/+15
|\
| * devices: unregister children when unregistering a deviceSascha Hauer2012-02-171-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently do not allow to unregister a device when it has children. However, the return value is seldomly checked. Also this breaks for hot pluggable devices like USB which we have to unregister when they disappear. The best way to fix this is to unregister our children and also the partitions on the unregistered device. We unregister the device first and then afterwards the children. We do this because for example network devices have a miidev as child which they unregister themselves. So we only have to unregister the children which are not cleaned up by the drivers, namely fs devices. Also, unregister all partitions on a disappearing device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'pu/net-usb' into nextSascha Hauer2012-02-174-25/+12
|\ \