[U-Boot] [PATCH v3 04/13] dm: usb: Add a uclass for USB PHY

Simon Glass sjg at chromium.org
Mon May 8 16:38:31 UTC 2017


Hi Patrice,

On 28 March 2017 at 10:03,  <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> This is a basic implementation of USB PHY which
> define a standard API that link USB PHY client to
> USB PHY driver controller.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> v3:     _ this patch intoduce new USB PHY uclass
>
>  drivers/usb/Kconfig              |   4 ++
>  drivers/usb/phy/Kconfig          |  10 ++++
>  drivers/usb/phy/Makefile         |   1 +
>  drivers/usb/phy/usb_phy_uclass.c |  90 +++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h           |   1 +
>  include/usb_phy-uclass.h         |  42 +++++++++++++++
>  include/usb_phy.h                | 112 +++++++++++++++++++++++++++++++++++++++
>  7 files changed, 260 insertions(+)
>  create mode 100644 drivers/usb/phy/Kconfig
>  create mode 100644 drivers/usb/phy/usb_phy_uclass.c
>  create mode 100644 include/usb_phy-uclass.h
>  create mode 100644 include/usb_phy.h

Can you please take a look at u-boot-dm/next in generic_phy.h? Does
that uclass do what you need or is there something specific about the
USB PHY?

Regards,
Simon


More information about the U-Boot mailing list