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

Patrice CHOTARD patrice.chotard at st.com
Tue May 9 09:31:41 UTC 2017


Hi Simon

On 05/08/2017 06:38 PM, Simon Glass wrote:
> 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?

This generic_phy looks ok for my needs, i will rework this series and 
resubmit a v4 soon.

Thanks

Patrice

>
> Regards,
> Simon
>


More information about the U-Boot mailing list