All of lore.kernel.org
 help / color / mirror / Atom feed
* Microchip USB Hub Driver Harmonization
@ 2017-05-17 10:58 Richard Leitner
  2017-05-17 16:01 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Leitner @ 2017-05-17 10:58 UTC (permalink / raw)
  To: Linux USB List, linux-kernel
  Cc: Greg Kroah-Hartman, Krzysztof Kozlowski,
	Javier Martinez Canillas, Richard Leitner, Stephen Boyd

Hello,
due to the fact (all?) the Microchip (former SMSC) USB hubs share the
same I2C configuration interface, I'm currently working on harmonizing
those USB Hub drivers. Currently this affects the usb251xb, usb3503 and
usb4604 drivers. To avoid preventable efforts (and patch versions) I
have some question on the preferred implementation:

1. Currently usb251xb uses i2c_smbus_*, usb3503 uses regmap_* and
usb4604 uses i2c_master_* functions for the hub configuration. What
would be the preferred solution?

2. What would be a good prefix for common headers/functions/macros/etc.?
I thought of "mcusbhub"... Would that be OK? Or are there any
conventions/better proposals on that?

3. Currently only usb3503 supports "platform data". Is this still needed
or may it be removed?

Thanks & kind regards,
RichardL

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

end of thread, other threads:[~2017-05-18  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 10:58 Microchip USB Hub Driver Harmonization Richard Leitner
2017-05-17 16:01 ` Krzysztof Kozlowski
2017-05-18  5:33   ` Richard Leitner
2017-05-18  7:46     ` Krzysztof Kozlowski

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.