All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 00/12] usb: ulpi bus
@ 2015-04-28 13:24 Heikki Krogerus
  2015-04-28 13:24 ` [PATCHv3 01/11] usb: add bus type for USB ULPI Heikki Krogerus
                   ` (11 more replies)
  0 siblings, 12 replies; 33+ messages in thread
From: Heikki Krogerus @ 2015-04-28 13:24 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: David Cohen, Greg Kroah-Hartman, Stephen Boyd, Baolu Lu,
	Paul Bolle, linux-usb, linux-kernel

Hi,

I took the liberty of adding David's ACK to everything except 9/12, including to
the 1/12 (removing the module handling has no functional affect).

Changes since v2:
- remove module handling from the bus driver as suggested by Paul Bolle.
- reordered the gpio requests in BYT quirk as suggested by David Cohen.

Major changes since v1:
- calling dwc3_phy_setup earlier and registering the ULPI interface there.
- new property to dwc3 for selecting the interface in case of UTMI+ and ULPI as
  suggested by Felipe
- dwc3 soft reset before registration of the ULPI interface to sync the clocks
  as suggested by David
- Including support for the BYT boards that have the GPIOs controlling the reset
  and cs signals.

Heikki Krogerus (12):
  usb: add bus type for USB ULPI
  usb: dwc3: USB2 PHY register access bits
  usb: dwc3: ULPI or UTMI+ select
  usb: dwc3: store driver data earlier
  usb: dwc3: cache hwparams earlier
  usb: dwc3: soft reset to it's own function
  usb: dwc3: setup phys earlier
  usb: dwc3: add hsphy_interface property
  usb: dwc3: pci: add quirk for Baytrails
  usb: dwc3: add ULPI interface support
  phy: helpers for USB ULPI PHY registering
  phy: add driver for TI TUSB1210 ULPI PHY

 Documentation/devicetree/bindings/usb/dwc3.txt |   2 +
 MAINTAINERS                                    |   7 +
 drivers/phy/Kconfig                            |   7 +
 drivers/phy/Makefile                           |   1 +
 drivers/phy/phy-tusb1210.c                     | 153 +++++++++++++++
 drivers/phy/ulpi_phy.h                         |  31 ++++
 drivers/usb/common/Makefile                    |   1 +
 drivers/usb/common/ulpi.c                      | 246 +++++++++++++++++++++++++
 drivers/usb/core/Kconfig                       |   8 +
 drivers/usb/dwc3/Kconfig                       |   7 +
 drivers/usb/dwc3/Makefile                      |   4 +
 drivers/usb/dwc3/core.c                        |  99 +++++++---
 drivers/usb/dwc3/core.h                        |  26 +++
 drivers/usb/dwc3/dwc3-pci.c                    |  36 ++++
 drivers/usb/dwc3/platform_data.h               |   2 +
 drivers/usb/dwc3/ulpi.c                        |  91 +++++++++
 include/linux/mod_devicetable.h                |   6 +
 include/linux/ulpi/driver.h                    |  62 +++++++
 include/linux/ulpi/interface.h                 |  23 +++
 include/linux/ulpi/regs.h                      | 130 +++++++++++++
 include/linux/usb/ulpi.h                       | 134 +-------------
 scripts/mod/devicetable-offsets.c              |   4 +
 scripts/mod/file2alias.c                       |  13 ++
 23 files changed, 936 insertions(+), 157 deletions(-)
 create mode 100644 drivers/phy/phy-tusb1210.c
 create mode 100644 drivers/phy/ulpi_phy.h
 create mode 100644 drivers/usb/common/ulpi.c
 create mode 100644 drivers/usb/dwc3/ulpi.c
 create mode 100644 include/linux/ulpi/driver.h
 create mode 100644 include/linux/ulpi/interface.h
 create mode 100644 include/linux/ulpi/regs.h

-- 
2.1.4


^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [PATCHv2 10/12] usb: dwc3: add ULPI interface support
@ 2015-03-19 11:48 Heikki Krogerus
  2015-03-20 12:20 ` [PATCHv3 " Heikki Krogerus
  0 siblings, 1 reply; 33+ messages in thread
From: Heikki Krogerus @ 2015-03-19 11:48 UTC (permalink / raw)
  To: Paul Bolle
  Cc: Felipe Balbi, Greg Kroah-Hartman, David Cohen, Stephen Boyd,
	Baolu Lu, linux-usb, linux-kernel

> > +config USB_DWC3_ULPI
> > +	bool "Register ULPI PHY Interface"
> > +	depends on USB_ULPI_BUS=y
> 
> USB_ULPI_BUS is added in 01/12 as a bool symbol. So why not use just
> 	depends on USB_ULPI_BUS

True. Originally I was planning to support building the ULPI bus as a
module and have never cleaned these. Thanks for catching them.


Cheers,

-- 
heikki

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

end of thread, other threads:[~2015-05-05 16:08 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28 13:24 [PATCHv3 00/12] usb: ulpi bus Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 01/11] usb: add bus type for USB ULPI Heikki Krogerus
2015-04-29 20:13   ` Felipe Balbi
2015-04-30 10:37     ` Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 02/11] usb: dwc3: USB2 PHY register access bits Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 03/11] usb: dwc3: ULPI or UTMI+ select Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 04/11] usb: dwc3: store driver data earlier Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 05/11] usb: dwc3: cache hwparams earlier Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 06/11] usb: dwc3: soft reset to it's own function Heikki Krogerus
2015-04-28 17:22   ` Felipe Balbi
2015-04-29  8:16     ` Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 07/11] usb: dwc3: setup phys earlier Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 08/11] usb: dwc3: add hsphy_interface property Heikki Krogerus
2015-04-28 17:13   ` Felipe Balbi
2015-04-29  8:04     ` Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 09/11] usb: dwc3: pci: add quirk for Baytrails Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 10/11] phy: helpers for USB ULPI PHY registering Heikki Krogerus
2015-04-28 13:24 ` [PATCHv3 11/11] phy: add driver for TI TUSB1210 ULPI PHY Heikki Krogerus
2015-04-28 17:17 ` [PATCHv3 00/12] usb: ulpi bus Felipe Balbi
2015-04-29  8:21   ` Heikki Krogerus
2015-04-29  8:30     ` [PATCHv3 08/12] usb: dwc3: add hsphy_interface property Heikki Krogerus
2015-04-29 15:03       ` Felipe Balbi
2015-04-30 10:33         ` Heikki Krogerus
2015-04-29  8:30     ` [PATCHv3 09/12] usb: dwc3: pci: add quirk for Baytrails Heikki Krogerus
2015-04-29  8:30     ` [PATCHv3 10/12] usb: dwc3: add ULPI interface support Heikki Krogerus
2015-04-29 15:04       ` Felipe Balbi
2015-04-30 10:34         ` Heikki Krogerus
2015-04-30 14:54           ` Felipe Balbi
2015-05-04 12:03             ` Heikki Krogerus
2015-05-05 15:02               ` Felipe Balbi
2015-04-29  8:30     ` [PATCHv3 11/12] phy: helpers for USB ULPI PHY registering Heikki Krogerus
2015-04-29  8:30     ` [PATCHv3 12/12] phy: add driver for TI TUSB1210 ULPI PHY Heikki Krogerus
  -- strict thread matches above, loose matches on Subject: below --
2015-03-19 11:48 [PATCHv2 10/12] usb: dwc3: add ULPI interface support Heikki Krogerus
2015-03-20 12:20 ` [PATCHv3 " Heikki Krogerus

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.