summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg
Commit message (Collapse)AuthorAgeFilesLines
* usb: ulpi: Make locally used functions staticSascha Hauer2018-10-231-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: ulpi: fix logic-opLucas Stach2014-02-101-2/+2
| | | | | | | Checking register bits is a bitwise operation. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: ulpi: Try more often to detect a phySascha Hauer2013-06-171-12/+26
| | | | | | | | Some boards need some more tries to successfully detect a phy. This happens for example on the pcm038. Try up to four times to detect a phy. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd: Using MFD_xx prefix for symbolsAlexander Shiyan2013-02-181-1/+1
| | | | | | | | 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>
* USB ULPI: Add more register/bit definesSascha Hauer2012-12-171-8/+8
| | | | | | | Make the register defines for ULPI more complete. Also, Add a proper ULPI_* Namespace to the existing defines. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB ULPI: Add missing ulpi_write functionSascha Hauer2012-12-171-0/+17
| | | | | | | We currently only have functions to read/modify registers. Add a function to write registers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB ulpi: pass return valueSascha Hauer2012-12-031-2/+5
| | | | | | | | Pass the return value from ulpi_probe in ulpi_setup instead of returning -1 (which is -EPERM and does not make sense in this context) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Treewide: remove address of the Free Software FoundationSascha Hauer2012-09-172-9/+0
| | | | | | | The FSF address has changed in the past. Instead of updating it each time the address changes, just drop it completely treewide. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mfd TWL4030: Fix Kconfig dependenciesSascha Hauer2012-07-251-0/+1
| | | | | | | The twl core does not depend on the twl usb support. It's the other way round. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: Fix typo tranceiver -> transceiverSascha Hauer2012-07-251-3/+3
| | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Conflicts: drivers/usb/otg/Kconfig 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>
* twl-core: abstract twl4030 and add twlcore driverAlexander Aring2011-12-211-3/+3
| | | | | | | | | | | Add a general twl device driver twlcore to call i2c send/write functions. Abstract twl4030 to call twlcore functions. Fixed some code-styling issues pointed out by checkpatch. Signed-off-by: Alexander Aring <a.aring@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce io.hSascha Hauer2011-09-221-1/+1
| | | | | | | To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move include files for mfd drivers to include/mfdSascha Hauer2010-10-111-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* usb: add twl4030 phy supportMichael Grzeschik2010-08-063-0/+204
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* drivers/usb: regorganisationJean-Christophe PLAGNIOL-VILLARD2010-08-024-0/+163
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>