]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: add devicetree helpers for determining dr_mode and phy_type
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 13 Jun 2013 14:59:55 +0000 (17:59 +0300)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:11 +0000 (09:54 +0800)
commit16f82b14957a0eb79921bfa14b0bbc93e7b650d7
tree8a7860c1084e89969cf6e37014e3cdc46e439a0c
parent8b0eb9ce7fa6e84b7ea5b388e5383bb23b3ef585
usb: add devicetree helpers for determining dr_mode and phy_type

This adds two little devicetree helper functions for determining the
dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from
the devicetree.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/Makefile
drivers/usb/phy/of.c [new file with mode: 0644]
drivers/usb/usb-common.c
include/linux/usb/of.h [new file with mode: 0644]
include/linux/usb/otg.h
include/linux/usb/phy.h