
Hi Patrice,
On 28 March 2017 at 10:03, patrice.chotard@st.com wrote:
From: Patrice Chotard patrice.chotard@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@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