All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Update ehci-platform driver to support devicetree
@ 2012-10-20 22:10 ` Tony Prisk
  0 siblings, 0 replies; 85+ messages in thread
From: Tony Prisk @ 2012-10-20 22:10 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Florian Fainelli,
	Alan Stern, Tony Prisk

This patchset updates the ehci-platform.c driver to allow device tree probing.
I have dropped support for the three function pointers (power_on, power_off
and power_suspend). If someone has knowledge of the power sequence functions
that are being implemented, these functions could be replaced (Sorry, I don't
know anything about implementing it).

port_power_(on_off) properties are not supported in DT as Alan Stern indicated
they are going to be removed.

v2:
* Add error checking for pdata memory allocation, and memory freeing in remove()

* Add no_io_watchdog field to usb_ehci_pdata as required by Florian Fainelli's
upcoming patchset and DT parsing for the field. This means we don't need to
patch this driver again after applying Florian's patchset, but will create a
minor merge-conflict.

* Changed compatible string to 'linux,ehci-platform' as a lot of the DT
properties are linux-specific.

* Changed properties to match those expected in usb-ehci binding.


Tony Prisk (2):
  USB: Update EHCI-platform driver to devicetree.
  USB: doc: Binding document for ehci-platform driver

 .../devicetree/bindings/usb/ehci-platform.txt      |   27 ++++
 drivers/usb/host/ehci-hcd.c                        |    5 -
 drivers/usb/host/ehci-platform.c                   |   61 ++++++-
 drivers/usb/host/ehci-vt8500.c                     |  171 --------------------
 include/linux/usb/ehci_pdriver.h                   |    1 +
 5 files changed, 88 insertions(+), 177 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/ehci-platform.txt
 delete mode 100644 drivers/usb/host/ehci-vt8500.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 85+ messages in thread

end of thread, other threads:[~2012-10-26 14:54 UTC | newest]

Thread overview: 85+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-20 22:10 [PATCH v2 0/2] Update ehci-platform driver to support devicetree Tony Prisk
2012-10-20 22:10 ` Tony Prisk
     [not found] ` <1350771032-11527-1-git-send-email-linux-ci5G2KO2hbZ+pU9mqzGVBQ@public.gmane.org>
2012-10-20 22:10   ` [PATCH v2 1/2] USB: Update EHCI-platform driver to devicetree Tony Prisk
2012-10-20 22:10     ` Tony Prisk
     [not found]     ` <1350771032-11527-2-git-send-email-linux-ci5G2KO2hbZ+pU9mqzGVBQ@public.gmane.org>
2012-10-21  2:02       ` Alan Stern
2012-10-21  2:02         ` Alan Stern
2012-10-22 14:51       ` Alan Stern
2012-10-20 22:10   ` [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver Tony Prisk
2012-10-20 22:10     ` Tony Prisk
     [not found]     ` <1350771032-11527-3-git-send-email-linux-ci5G2KO2hbZ+pU9mqzGVBQ@public.gmane.org>
2012-10-21 17:34       ` Florian Fainelli
2012-10-21 17:34         ` Florian Fainelli
2012-10-22 16:07       ` Stephen Warren
2012-10-22 16:07         ` Stephen Warren
     [not found]         ` <50856F41.7000205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-22 17:34           ` Alan Stern
2012-10-22 17:34             ` Alan Stern
     [not found]             ` <Pine.LNX.4.44L0.1210221324580.1724-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-22 17:48               ` Stephen Warren
2012-10-22 17:48                 ` Stephen Warren
     [not found]                 ` <508586ED.1010106-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-22 19:00                   ` Alan Stern
2012-10-22 19:00                     ` Alan Stern
     [not found]                     ` <Pine.LNX.4.44L0.1210221443580.1724-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-22 22:10                       ` Stephen Warren
2012-10-22 22:10                         ` Stephen Warren
     [not found]                         ` <5085C470.4040707-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-23 14:10                           ` Alan Stern
2012-10-23 14:10                             ` Alan Stern
     [not found]                             ` <Pine.LNX.4.44L0.1210231004310.1635-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-23 16:15                               ` Stephen Warren
2012-10-23 16:15                                 ` Stephen Warren
     [not found]                                 ` <5086C2B0.6070006-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-23 17:59                                   ` Alan Stern
2012-10-23 17:59                                     ` Alan Stern
     [not found]                                     ` <Pine.LNX.4.44L0.1210231340340.1635-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-23 18:47                                       ` Stephen Warren
2012-10-23 18:47                                         ` Stephen Warren
     [not found]                                         ` <5086E62D.8040407-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-23 19:33                                           ` Alan Stern
2012-10-23 19:33                                             ` Alan Stern
     [not found]                                             ` <Pine.LNX.4.44L0.1210231522230.1635-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-23 20:06                                               ` Rob Herring
2012-10-23 20:06                                                 ` Rob Herring
     [not found]                                                 ` <5086F8D6.5050605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-10-24 14:57                                                   ` Alan Stern
2012-10-24 14:57                                                     ` Alan Stern
     [not found]                                                     ` <Pine.LNX.4.44L0.1210241013310.1481-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 15:26                                                       ` Sebastian Andrzej Siewior
2012-10-24 15:26                                                         ` Sebastian Andrzej Siewior
     [not found]                                                         ` <20121024152652.GG4368-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org>
2012-10-24 16:16                                                           ` Stephen Warren
2012-10-24 16:16                                                             ` Stephen Warren
     [not found]                                                             ` <5088145F.1040504-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-24 16:36                                                               ` Florian Fainelli
2012-10-24 16:36                                                                 ` Florian Fainelli
2012-10-24 16:38                                                               ` Alan Stern
2012-10-24 16:38                                                                 ` Alan Stern
     [not found]                                                                 ` <Pine.LNX.4.44L0.1210241233040.1282-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 16:44                                                                   ` Florian Fainelli
2012-10-24 16:44                                                                     ` Florian Fainelli
2012-10-24 18:04                                                                     ` Alan Stern
2012-10-24 18:04                                                                       ` Alan Stern
     [not found]                                                                       ` <Pine.LNX.4.44L0.1210241358090.1282-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 18:18                                                                         ` Florian Fainelli
2012-10-24 18:18                                                                           ` Florian Fainelli
2012-10-24 16:45                                                                   ` Stephen Warren
2012-10-24 16:45                                                                     ` Stephen Warren
     [not found]                                                                     ` <50881B19.3080609-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-24 17:46                                                                       ` Alan Stern
2012-10-24 17:46                                                                         ` Alan Stern
     [not found]                                                                         ` <Pine.LNX.4.44L0.1210241329230.1282-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 18:09                                                                           ` Stephen Warren
2012-10-24 18:09                                                                             ` Stephen Warren
     [not found]                                                                             ` <50882EED.9020200-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-24 18:55                                                                               ` Mitch Bradley
2012-10-24 18:55                                                                                 ` Mitch Bradley
     [not found]                                                                                 ` <5088399F.2000102-D5eQfiDGL7eakBO8gow8eQ@public.gmane.org>
2012-10-24 19:30                                                                                   ` Alan Stern
2012-10-24 19:30                                                                                     ` Alan Stern
2012-10-25 10:23                                                                                   ` Sebastian Andrzej Siewior
2012-10-25 10:23                                                                                     ` Sebastian Andrzej Siewior
     [not found]                                                                                     ` <20121025102301.GA3469-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org>
2012-10-25 14:36                                                                                       ` Alan Stern
2012-10-25 14:36                                                                                         ` Alan Stern
     [not found]                                                                                         ` <Pine.LNX.4.44L0.1210251035270.1278-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-26  8:02                                                                                           ` Sebastian Andrzej Siewior
2012-10-26  8:02                                                                                             ` Sebastian Andrzej Siewior
     [not found]                                                                                             ` <20121026080254.GD3009-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org>
2012-10-26 14:54                                                                                               ` Alan Stern
2012-10-26 14:54                                                                                                 ` Alan Stern
2012-10-25 15:53                                                                                       ` Stephen Warren
2012-10-25 15:53                                                                                         ` Stephen Warren
2012-10-24 19:41                                                                               ` Alan Stern
2012-10-24 19:41                                                                                 ` Alan Stern
2012-10-24 16:44                                                               ` Alan Stern
2012-10-24 16:44                                                                 ` Alan Stern
     [not found]                                                                 ` <Pine.LNX.4.44L0.1210241238570.1282-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 16:48                                                                   ` Stephen Warren
2012-10-24 16:48                                                                     ` Stephen Warren
2012-10-24 17:42                                                                   ` Rob Herring
2012-10-24 17:42                                                                     ` Rob Herring
     [not found]                                                                     ` <50882882.1090806-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-10-24 17:57                                                                       ` Alan Stern
2012-10-24 17:57                                                                         ` Alan Stern
2012-10-24 16:28                                                       ` Stephen Warren
2012-10-24 16:28                                                         ` Stephen Warren
     [not found]                                                         ` <50881727.10601-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-24 16:54                                                           ` Alan Stern
2012-10-24 16:54                                                             ` Alan Stern
     [not found]                                                             ` <Pine.LNX.4.44L0.1210241249010.1282-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2012-10-24 17:37                                                               ` Florian Fainelli
2012-10-24 17:37                                                                 ` Florian Fainelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.