usb: add bus type for USB ULPI
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 13 May 2015 12:26:42 +0000 (15:26 +0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 13 May 2015 17:04:55 +0000 (12:04 -0500)
commit289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f
tree7c5156a0a503fccc18a449de06edda6c07060160
parent3521a399dae8d66fc784cef70a78e65ce73e364f
usb: add bus type for USB ULPI

UTMI+ Low Pin Interface (ULPI) is a commonly used PHY
interface for USB 2.0. The ULPI specification describes a
standard set of registers which the vendors can extend for
their specific needs. ULPI PHYs provide often functions
such as charger detection and ADP sensing and probing.

There are two major issues that the bus type is meant to
tackle:

Firstly, ULPI registers are accessed from the controller.
The bus provides convenient method for the controller
drivers to share that access with the actual PHY drivers.

Secondly, there are already platforms that assume ULPI PHYs
are runtime detected, such as many Intel Baytrail based
platforms. They do not provide any kind of hardware
description for the ULPI PHYs like separate ACPI device
object that could be used to enumerate a device from.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
MAINTAINERS
drivers/usb/common/Makefile
drivers/usb/common/ulpi.c [new file with mode: 0644]
drivers/usb/core/Kconfig
include/linux/mod_devicetable.h
include/linux/ulpi/driver.h [new file with mode: 0644]
include/linux/ulpi/interface.h [new file with mode: 0644]
include/linux/ulpi/regs.h [new file with mode: 0644]
include/linux/usb/ulpi.h
scripts/mod/devicetable-offsets.c
scripts/mod/file2alias.c