public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 00/11] [RESEND] Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms.
Date: Wed, 21 Nov 2018 12:01:16 +0100	[thread overview]
Message-ID: <20181121120116.313e7a0a@jawa> (raw)
In-Reply-To: <20181120123834.342d3cf4@jawa>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 6479 bytes --]

Hi,

> Hi,
> 
> > Hi Jean-Jacques,
> >   
> > > Resending this series after rebasing on top of latest u-boot.
> > > This series applies on top of the series "[PATCH v3 0/7]
> > > Improvements for the dwc3_generic driver"
> > > 
> > > Moving to DM_USB and DM_USB_DEV brings some benefits:
> > > - it is required to support DM_ETH and USB network adapters with
> > > the same binary.
> > > - support for USB3 on AM57x comes almost for free
> > > - removal of platform code related to USB
> > > 
> > > Tested on:
> > > - dra76 evm
> > > - AM572 evm
> > >     
> > 
> > I've tried to merge and test your patches:
> > SHA1: 0c4b382f9041f9f2f00246c8a0ece90dae5451be
> > https://github.com/lmajewski/u-boot-dfu/commits/testing
> >   
> 
> The updated repository is the same as above (SHA1 is of course
> different)
> 
> > 
> > The results from Travis-CI:
> > https://travis-ci.org/lmajewski/u-boot-dfu/jobs/456736504  
> 
> https://travis-ci.org/lmajewski/u-boot-dfu/builds/457229385
> 
> The "buildman" rockchip build breaks after applying your patches.
> 
> https://travis-ci.org/lmajewski/u-boot-dfu/jobs/457229443

The repo:
https://github.com/lmajewski/u-boot-dfu/commits/testing

Some build breaks:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/457845111
https://travis-ci.org/lmajewski/u-boot-dfu/jobs/457845133

Please apply your patch series to newest u-boot's master.

In the commit message please state all needed dependencies (or provide
link to e.g. github repository so I can fetch it).



> 
> > 
> > It breaks for e.g. OMAP.
> > 
> > Could you check this problem and resubmit patches?  
> 
> Am I missing any more patches? Or maybe you have a Travis-CI "clean"
> branch/repo somewhere so I could use it ?
> 
> > 
> > Thanks in advance,
> > Łukasz
> >   
> > > 
> > > Changes in v7:
> > > - replace remaining if() statements with ut_assert()
> > > - Fix build issue "multiple definition of
> > > `usb_gadget_handle_interrupts'"
> > > - Fixed build issue "multiple definition of
> > > `usb_gadget_handle_interrupts'"
> > > 
> > > Changes in v6:
> > > - ti-pipe3-phy: take PLL out of IDLE in pipe3_init(). The PLL may
> > > have been put into idle by pipe3_exit()
> > > - DRA7 configs: enable DM_USB and DM_USB_DEV. Use DWC3_GENERIC in
> > > place of DWC3_OF_SIMPLE. disable non DM USB options
> > > - AM57 configs: enable DM_USB and DM_USB_DEV. Use DWC3_GENERIC in
> > > place of DWC3_OF_SIMPLE. disable non DM USB options
> > > - Supports DM USB for peripherals
> > > - Removed DTS changes that disabled USB1 on DRA7 because
> > > DM_USB_DEV is now supported
> > > 
> > > Changes in v5:
> > > - Rebased on latest u-boot
> > > - Removed patches that have already been merged
> > > 
> > > Changes in v4:
> > > - Fix word missing in commit log
> > > - Remove dependency on MISC
> > > - Renamed the commit (DM_USB is already enabled, the only missing
> > > option is for the USB2 phy driver)
> > > - Remove dependency on MISC
> > > - Remove omap specific glue layer and use dwc3-of-simple glue
> > > layer
> > > 
> > > Changes in v3:
> > > - in syscon_regmap_lookup_by_phandle(), use dev_dbg() instead of
> > > printf()
> > > - added unit test for syscon_regmap_lookup_by_phandle()
> > > 
> > > Changes in v2:
> > > - Add USB3 support to ti-pipe3-phy driver
> > > - omap-usb2-phy: Implement power_on and power_off callbacks
> > > - am57xx boards: when DM_USB is used, turn on the required USB
> > > clocks
> > > - split dts changes in 2 commits: one for binding the children of
> > >   ocp2scp at 4a080000, and one to disable USB1  on all DRA7 EVMs
> > > - Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is
> > > supported.
> > > 
> > > Jean-Jacques Hiblot (9):
> > >   syscon: dm: Add a new method to get a regmap from DTS
> > >   phy: Add a new driver for OMAP's USB2 PHYs
> > >   dwc3-generic: Add support for the TI DWC3 glue
> > >   board: ti: dra7xx-evm: turn on USB clocks in late init stage
> > >   dts: dra7x: make ocp2scp at 4a080000 compatible with simple-bus
> > >   configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms
> > >   configs: am57xx_evm: Enable DM_USB and DM_USB_DEV
> > >   board: ti: dra7-evm: remove USB platform code
> > >   board: ti: am57xx: remove USB platform code
> > > 
> > > Vignesh R (2):
> > >   phy: ti-pip3-phy: Add support for USB3 PHY
> > >   board; ti: am57xx: turn on USB clocks
> > > 
> > >  arch/arm/dts/omap5-u-boot.dtsi  |   4 +
> > >  arch/sandbox/dts/test.dts       |   6 +-
> > >  board/ti/am57xx/board.c         | 106 ++++------------------
> > >  board/ti/dra7xx/evm.c           | 123 ++++---------------------
> > >  configs/am57xx_evm_defconfig    |  10 +-
> > >  configs/am57xx_hs_evm_defconfig |  10 +-
> > >  configs/dra7xx_evm_defconfig    |   8 +-
> > >  configs/dra7xx_hs_evm_defconfig |   8 +-
> > >  drivers/core/syscon-uclass.c    |  23 +++++
> > >  drivers/phy/Kconfig             |   9 ++
> > >  drivers/phy/Makefile            |   1 +
> > >  drivers/phy/omap-usb2-phy.c     | 196
> > > ++++++++++++++++++++++++++++++++++++++++
> > > drivers/phy/ti-pipe3-phy.c      |  32 +++++--
> > > drivers/usb/dwc3/dwc3-generic.c |  85 +++++++++++++++++
> > > include/syscon.h                |  13 +++
> > > test/dm/syscon.c                |  29 ++++++ 16 files changed, 448
> > > insertions(+), 215 deletions(-) create mode 100644
> > > drivers/phy/omap-usb2-phy.c
> > >     
> > 
> > 
> > 
> > 
> > Best regards,
> > 
> > Lukasz Majewski
> > 
> > --
> > 
> > DENX Software Engineering GmbH,      Managing Director: Wolfgang
> > Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell,
> > Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:
> > lukma at denx.de  
> 
> 
> 
> 
> Best regards,
> 
> Lukasz Majewski
> 
> --
> 
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:
> lukma at denx.de




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181121/f56697bc/attachment.sig>

  parent reply	other threads:[~2018-11-21 11:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16 14:54 [U-Boot] [PATCH v7 00/11] [RESEND] Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 01/11] syscon: dm: Add a new method to get a regmap from DTS Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 02/11] phy: ti-pip3-phy: Add support for USB3 PHY Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 03/11] phy: Add a new driver for OMAP's USB2 PHYs Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 04/11] dwc3-generic: Add support for the TI DWC3 glue Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 05/11] board: ti: dra7xx-evm: turn on USB clocks in late init stage Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 06/11] board; ti: am57xx: turn on USB clocks Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 07/11] dts: dra7x: make ocp2scp@4a080000 compatible with simple-bus Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 08/11] configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 09/11] configs: am57xx_evm: Enable DM_USB and DM_USB_DEV Jean-Jacques Hiblot
2018-11-16 14:54 ` [U-Boot] [PATCH v7 10/11] board: ti: dra7-evm: remove USB platform code Jean-Jacques Hiblot
2018-11-16 14:55 ` [U-Boot] [PATCH v7 11/11] board: ti: am57xx: " Jean-Jacques Hiblot
2018-11-19  8:11 ` [U-Boot] [PATCH v7 00/11] [RESEND] Add support for DM_USB and DM_USB_DEV for TI's DRA7 EVMs and AM57 EVMs platforms Lukasz Majewski
2018-11-19 15:58   ` Jean-Jacques Hiblot
2018-11-19 16:09     ` Lukasz Majewski
2018-11-20 11:38   ` Lukasz Majewski
2018-11-20 15:20     ` Jean-Jacques Hiblot
2018-11-21 11:01     ` Lukasz Majewski [this message]
2018-11-22 13:20       ` Jean-Jacques Hiblot
  -- strict thread matches above, loose matches on Subject: below --
2018-09-04 13:56 Jean-Jacques Hiblot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181121120116.313e7a0a@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox