devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ohci and ehci-platform clks, phy and dt support
@ 2014-01-09 17:57 Hans de Goede
       [not found] ` <1389290226-6971-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Hans de Goede @ 2014-01-09 17:57 UTC (permalink / raw)
  To: Alan Stern, Tony Prisk
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree,
	linux-usb, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw

Hi All,

Here is v3 of my ohci and ehci-platform clks, phy and dt support patch-set.

This version is mostly the result of some discussions on irc with Maxime to
improve the dt-bindings. This has resulted in 2 changes:

1) Drop the clock-names from the dt-bindings, instead get clocks by index.

Since the intend is to be a generic ohci / ehci driver, the code does not
give any special meaning to any of the clocks, so simply just get as many
clocks as there are by index.

2) Change the compatible string to "mmio-ohci" resp. "mmio-ehci"

v2 was using allwinner,sun4i-ohci as compat string to avoid having to come
up with a generic name, but in retrospect this is the wrong thing to do. This
will likely lead to dts files for non allwinner boards using compatible =
"allwinner,sun4i-ohci", and if we then ever need to do some allwinner specific
quirks, these boards end up getting these quirks applied too.

dts files should use the generic mmio-ehci compatible as least prefered option,
ie: compatible = "allwinner,sun7i-a20-ehci", "mmio-ehci";

This will allow use of the generic driver while leaving the option open to
later add soc specific quirks without needing dt changes.

Regards,

Hans

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

end of thread, other threads:[~2014-01-10 22:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 17:57 [PATCH v3 0/2] ohci and ehci-platform clks, phy and dt support Hans de Goede
     [not found] ` <1389290226-6971-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-09 17:57   ` [PATCH v3 1/2] ohci-platform: Add support for devicetree instantiation Hans de Goede
     [not found]     ` <1389290226-6971-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-09 18:07       ` Arnd Bergmann
2014-01-09 18:18         ` Hans de Goede
2014-01-09 20:14       ` Sergei Shtylyov
     [not found]         ` <52CF0326.1090407-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-01-09 19:48           ` Hans de Goede
     [not found]             ` <52CEFCFE.7080308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-09 21:08               ` Sergei Shtylyov
     [not found]                 ` <52CF0FB1.1010109-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-01-10  9:47                   ` Hans de Goede
     [not found]                     ` <52CFC1A8.4010505-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-10 22:02                       ` Sergei Shtylyov
2014-01-09 20:36       ` Alan Stern
     [not found]         ` <Pine.LNX.4.44L0.1401091446310.1493-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2014-01-10 10:13           ` Hans de Goede
     [not found]             ` <52CFC7DC.3010406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-01-10 15:29               ` Alan Stern
2014-01-09 17:57   ` [PATCH v3 2/2] ehci-platform: Add support for clks and phy passed through devicetree Hans de Goede

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).