[PATCH v2 0/3] Add support for USB on ST-Ericsson Ux500

Stephan Gerhold stephan at gerhold.net
Thu Jul 8 20:33:47 CEST 2021


This patch series adds support for USB on ST-Ericsson Ux500 by:
  - Adding a driver to talk to the AB8500 PMIC
  - Adding a driver to enable the USB PHY
  - Adding a simple Ux500 glue driver for the musb-new driver

This was tested on the u8500 "stemmy" board that is already present
in U-Boot.

Changes in v2:
- Add more error checking in prcmu_wait_i2c_mbx_ready()
- Clarify why error is not checked at end of ab8500_transfer()
- Assign AB8500_BIT_PHY_CTRL_DEVICE_EN by default and only replace
  it with AB8500_BIT_PHY_CTRL_HOST_EN if needed (Jaehoon Chung)

Stephan Gerhold (3):
  power: pmic: Add driver for ST-Ericsson AB8500 via PRCMU
  phy: Add driver for ST-Ericsson AB8500 USB PHY
  usb: musb-new: Add glue driver for ST-Ericsson Ux500

 drivers/phy/Kconfig              |   6 +
 drivers/phy/Makefile             |   1 +
 drivers/phy/phy-ab8500-usb.c     |  52 ++++++
 drivers/power/pmic/Kconfig       |  10 ++
 drivers/power/pmic/Makefile      |   1 +
 drivers/power/pmic/ab8500.c      | 268 +++++++++++++++++++++++++++++++
 drivers/usb/musb-new/Kconfig     |  11 +-
 drivers/usb/musb-new/Makefile    |   1 +
 drivers/usb/musb-new/musb_core.c |   2 +-
 drivers/usb/musb-new/ux500.c     | 179 +++++++++++++++++++++
 include/power/ab8500.h           | 125 ++++++++++++++
 11 files changed, 654 insertions(+), 2 deletions(-)
 create mode 100644 drivers/phy/phy-ab8500-usb.c
 create mode 100644 drivers/power/pmic/ab8500.c
 create mode 100644 drivers/usb/musb-new/ux500.c
 create mode 100644 include/power/ab8500.h

-- 
2.32.0



More information about the U-Boot mailing list