From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 00/11] omap: musb: Add device tree support
Date: Mon, 30 Jul 2012 14:39:49 +0530 [thread overview]
Message-ID: <1343639400-28725-1-git-send-email-kishon@ti.com> (raw)
This patch series adds device tree support for MUSB and device
tree support for all the related modules to get MUSB working in
OMAP platform.
A new omap-usb2 phy driver has been added (with only dt suppport)
to perform phy configurations. Previously this configuration was
performed by twl6030, using pdata function pointers.
With the addition of omap-usb2 to perform phy configurations,
twl6030 is made as a comparator driver to detect VBUS and ID events
and notify it to the glue layer.
musb core is _NOT_ yet converted to support device tree support as it
would need lot of driver re-design because of its enormous use of
function pointers. That will be in _TO DO_ list.
Changes from v5:
minor cleanups like checking for return value in get_sync and few changes
in the documentation has been done.
Changes from v4:
duplicate getting of 'mode' property is removed in omap-musb glue.
Changes from v3:
remove the address in the node name of usb_otg_hs since the usb_otg_hs
node doesn't have a reg property. Thanks Ajay Gupta for finding this.
Changes from v2:
Fixed Sergei's comment to remove *0x* prefix in usb2phy at 0x4a0ad080
Changes from v1:
* Fixed Rajendra Nayak comments (regulator naming, compatible naming of
musb and other minor cleanups.)
* It's agreed to have ocp2scp in drivers/bus and usb2 phy is a child of
ocp2scp, the documentation is updated accordingly.
Changes from RFC:
Removed the dependency on [RFC PATCH 00/11] OMAP System Control Module.
Writing to control module register is now handled in otg driver itself.
Once the system control module driver get upstreamed, I'll send a patch
to make use of API's in control module driver to write to control
module register.
This series was developed on
git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv
This patch series depends on
[PATCH 0/2] omap: add ocp2scp as a bus driver
Performed MUSB device mode testing on OMAP4 panda, OMAP4 SDP
and OMAP3 beagle.
Kishon Vijay Abraham I (11):
drivers: usb: otg: add a new driver for omap usb2 phy
arm/dts: omap: Add omap-usb2 dt data
drivers: usb: otg: make twl6030_usb as a comparator driver to
omap_usb2
arm: omap: hwmod: add a new addr space in otg for writing to control
module
drivers: usb: twl6030: Add dt support for twl6030 usb
arm/dts: Add twl6030-usb data
drivers: usb: twl4030: Add device tree support for twl4030 usb
arm/dts: Add twl4030-usb data
drivers: usb: musb: Add device tree support for omap musb glue
arm/dts: omap: Add usb_otg and glue data
arm: omap: phy: remove unused functions from omap-phy-internal.c
.../devicetree/bindings/bus/omap-ocp2scp.txt | 3 +
Documentation/devicetree/bindings/usb/omap-usb.txt | 49 ++++
.../devicetree/bindings/usb/twlxxxx-usb.txt | 40 +++
arch/arm/boot/dts/omap3-beagle.dts | 6 +
arch/arm/boot/dts/omap3-evm.dts | 6 +
arch/arm/boot/dts/omap3.dtsi | 8 +
arch/arm/boot/dts/omap4-panda.dts | 10 +
arch/arm/boot/dts/omap4-sdp.dts | 10 +
arch/arm/boot/dts/omap4.dtsi | 13 +
arch/arm/boot/dts/twl4030.dtsi | 21 ++
arch/arm/boot/dts/twl6030.dtsi | 5 +
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 5 +
arch/arm/mach-omap2/omap_phy_internal.c | 138 ----------
arch/arm/mach-omap2/twl-common.c | 5 -
arch/arm/mach-omap2/usb-musb.c | 3 -
drivers/usb/musb/omap2430.c | 106 +++++++-
drivers/usb/musb/omap2430.h | 9 +
drivers/usb/otg/Kconfig | 10 +
drivers/usb/otg/Makefile | 1 +
drivers/usb/otg/omap-usb2.c | 280 ++++++++++++++++++++
drivers/usb/otg/twl4030-usb.c | 26 +-
drivers/usb/otg/twl6030-usb.c | 153 +++--------
include/linux/usb/omap_usb.h | 45 ++++
include/linux/usb/phy_companion.h | 34 +++
24 files changed, 713 insertions(+), 273 deletions(-)
create mode 100644 Documentation/devicetree/bindings/usb/omap-usb.txt
create mode 100644 Documentation/devicetree/bindings/usb/twlxxxx-usb.txt
create mode 100644 drivers/usb/otg/omap-usb2.c
create mode 100644 include/linux/usb/omap_usb.h
create mode 100644 include/linux/usb/phy_companion.h
--
1.7.9.5
next reply other threads:[~2012-07-30 9:09 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 9:09 Kishon Vijay Abraham I [this message]
2012-07-30 9:09 ` [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy Kishon Vijay Abraham I
2012-07-30 9:37 ` Shubhrajyoti
2012-07-30 9:46 ` ABRAHAM, KISHON VIJAY
2012-07-30 10:04 ` Shubhrajyoti
2012-08-03 13:27 ` Felipe Balbi
2012-08-03 14:31 ` ABRAHAM, KISHON VIJAY
2012-08-06 8:49 ` Felipe Balbi
2012-08-06 9:44 ` ABRAHAM, KISHON VIJAY
2012-08-06 9:44 ` Felipe Balbi
2012-07-30 9:09 ` [PATCH v6 02/11] arm/dts: omap: Add omap-usb2 dt data Kishon Vijay Abraham I
2012-08-03 13:27 ` Felipe Balbi
2012-07-30 9:09 ` [PATCH v6 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2 Kishon Vijay Abraham I
2012-08-03 13:28 ` Felipe Balbi
2012-08-03 14:33 ` ABRAHAM, KISHON VIJAY
2012-07-30 9:09 ` [PATCH v6 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module Kishon Vijay Abraham I
2012-08-03 13:29 ` Felipe Balbi
2012-08-03 14:37 ` ABRAHAM, KISHON VIJAY
2012-07-30 9:09 ` [PATCH v6 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb Kishon Vijay Abraham I
2012-08-03 13:31 ` Felipe Balbi
2012-08-03 14:39 ` ABRAHAM, KISHON VIJAY
2012-07-30 9:09 ` [PATCH v6 06/11] arm/dts: Add twl6030-usb data Kishon Vijay Abraham I
2012-08-03 13:31 ` Felipe Balbi
2012-07-30 9:09 ` [PATCH v6 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb Kishon Vijay Abraham I
2012-08-03 13:32 ` Felipe Balbi
2012-08-03 14:40 ` ABRAHAM, KISHON VIJAY
2012-07-30 9:09 ` [PATCH v6 08/11] arm/dts: Add twl4030-usb data Kishon Vijay Abraham I
2012-08-03 13:32 ` Felipe Balbi
2012-07-30 9:09 ` [PATCH v6 09/11] drivers: usb: musb: Add device tree support for omap musb glue Kishon Vijay Abraham I
2012-08-03 13:34 ` Felipe Balbi
2012-08-03 14:42 ` ABRAHAM, KISHON VIJAY
2012-07-30 9:09 ` [PATCH v6 10/11] arm/dts: omap: Add usb_otg and glue data Kishon Vijay Abraham I
2012-08-03 13:35 ` Felipe Balbi
2012-07-30 9:10 ` [PATCH v6 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c Kishon Vijay Abraham I
2012-08-03 13:36 ` Felipe Balbi
2012-08-03 14:41 ` ABRAHAM, KISHON VIJAY
2012-08-06 8:52 ` [PATCH v6 00/11] omap: musb: Add device tree support Felipe Balbi
2012-08-06 9:25 ` ABRAHAM, KISHON VIJAY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343639400-28725-1-git-send-email-kishon@ti.com \
--to=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).