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

2017-05-09 Thread Patrice CHOTARD
Hi Simon

On 05/08/2017 06:38 PM, Simon Glass wrote:
> Hi Patrice,
>
> On 28 March 2017 at 10:03,   wrote:
>> From: Patrice Chotard 
>>
>> 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 
>> ---
>>
>> 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
>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2017-05-08 Thread Simon Glass
Hi Patrice,

On 28 March 2017 at 10:03,   wrote:
> From: Patrice Chotard 
>
> 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 
> ---
>
> 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot