public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@kernel.org>
To: Julien Panis <jpanis@baylibre.com>,
	u-boot@lists.denx.de, marex@denx.de, trini@konsulko.com,
	tony@atomide.com
Cc: r-gunasekaran@ti.com, vigneshr@ti.com, nm@ti.com
Subject: Re: [PATCH v3 00/12] Remove unnecessary USBx dr_mode configuration.
Date: Thu, 13 Jul 2023 20:37:46 +0300	[thread overview]
Message-ID: <65f2abd7-6af8-c9e0-e348-010f15644f19@kernel.org> (raw)
In-Reply-To: <20230706-handle-otg-as-periph-v3-0-27e24fa17345@baylibre.com>



On 13/07/2023 16:45, Julien Panis wrote:
> For all TI platforms handled in this series, USBx dr_mode
> was configured as peripheral in '<board>-u-boot.dtsi'.
> This series removes these fragments, and modifies dwc3 and
> cdns3 USB drivers so that they override 'otg' to 'peripheral'
> mode.
> 
> This follows a discussion about a similar topic for am3 boards:
> https://lore.kernel.org/u-boot/20230621-fix_usb_ether_init-v4-0-5f4977bb7678@baylibre.com/
> 
> Signed-off-by: Julien Panis <jpanis@baylibre.com>
> ---
> Changes in v3:
> - Handle 'otg' mode as 'peripheral' in cdns3 usb driver, which is used
>   by am64/j7200/j721e platforms.
> - Link to v2: https://lore.kernel.org/r/20230706-handle-otg-as-periph-v2-0-e26c028a2b28@baylibre.com
> 
> Changes in v2:
> - Handle 'unknown' mode as 'otg' in dwc3 usb driver.
> - Link to v1: https://lore.kernel.org/r/20230706-handle-otg-as-periph-v1-0-bd85d15ffd50@baylibre.com
> 
> ---
> Julien Panis (12):
>       usb: dwc3: Handle unknown mode as otg
>       arm: dts: dra7-evm-u-boot: Remove usb1 mode configuration
>       arm: dts: dra71-evm-u-boot: Remove usb1 mode configuration
>       arm: dts: dra72-evm-revc-u-boot: Remove usb1 mode configuration
>       arm: dts: dra72-evm-u-boot: Remove usb1 mode configuration
>       arm: dts: dra76-evm-u-boot: Remove usb1 mode configuration
>       arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration
>       arm: dts: k3-am654-r5-base-board-u-boot: Remove usb mode configuration
>       usb: cdns3: Handle otg mode as peripheral
>       arm: dts: k3-am642-evm-u-boot: Remove usb0 mode configuration
>       arm: dts: k3-j7200-common-proc-board-u-boot: Remove usb0 mode configuration
>       arm: dts: k3-j721e-common-proc-board-u-boot: Remove usb0 mode configuration
> 
>  arch/arm/dts/dra7-evm-u-boot.dtsi                   | 1 -
>  arch/arm/dts/dra71-evm-u-boot.dtsi                  | 1 -
>  arch/arm/dts/dra72-evm-revc-u-boot.dtsi             | 1 -
>  arch/arm/dts/dra72-evm-u-boot.dtsi                  | 1 -
>  arch/arm/dts/dra76-evm-u-boot.dtsi                  | 1 -
>  arch/arm/dts/k3-am642-evm-u-boot.dtsi               | 1 -
>  arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi     | 5 -----
>  arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 1 -
>  arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 1 -
>  arch/arm/dts/keystone-k2e-evm-u-boot.dtsi           | 1 -
>  drivers/usb/cdns3/core.c                            | 4 ++++
>  drivers/usb/dwc3/dwc3-generic.c                     | 4 ++--
>  12 files changed, 6 insertions(+), 16 deletions(-)
> ---
> base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f
> change-id: 20230706-handle-otg-as-periph-4546e874cd15
> 

for this series:
Acked-by: Roger Quadros <rogerq@kernel.org>

-- 
cheers,
-roger

      parent reply	other threads:[~2023-07-13 17:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13 13:45 [PATCH v3 00/12] Remove unnecessary USBx dr_mode configuration Julien Panis
2023-07-13 13:45 ` [PATCH v3 01/12] usb: dwc3: Handle unknown mode as otg Julien Panis
2023-08-14 17:17   ` Tom Rini
2023-07-13 13:45 ` [PATCH v3 02/12] arm: dts: dra7-evm-u-boot: Remove usb1 mode configuration Julien Panis
2023-07-13 13:45 ` [PATCH v3 03/12] arm: dts: dra71-evm-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 04/12] arm: dts: dra72-evm-revc-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 05/12] arm: dts: dra72-evm-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 06/12] arm: dts: dra76-evm-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 07/12] arm: dts: keystone-k2e-evm-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 08/12] arm: dts: k3-am654-r5-base-board-u-boot: Remove usb " Julien Panis
2023-07-13 13:45 ` [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral Julien Panis
2023-08-14 17:17   ` Tom Rini
2023-08-17  8:15     ` Roger Quadros
2023-08-18 18:48       ` Tom Rini
2023-08-18 19:26         ` Roger Quadros
2023-08-18 23:47           ` Marek Vasut
2023-08-19  7:00             ` Roger Quadros
2023-08-19 12:20               ` Marek Vasut
2023-08-19 18:14                 ` Roger Quadros
2023-07-13 13:45 ` [PATCH v3 10/12] arm: dts: k3-am642-evm-u-boot: Remove usb0 mode configuration Julien Panis
2023-07-13 13:45 ` [PATCH v3 11/12] arm: dts: k3-j7200-common-proc-board-u-boot: " Julien Panis
2023-07-13 13:45 ` [PATCH v3 12/12] arm: dts: k3-j721e-common-proc-board-u-boot: " Julien Panis
2023-07-13 17:37 ` Roger Quadros [this message]

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=65f2abd7-6af8-c9e0-e348-010f15644f19@kernel.org \
    --to=rogerq@kernel.org \
    --cc=jpanis@baylibre.com \
    --cc=marex@denx.de \
    --cc=nm@ti.com \
    --cc=r-gunasekaran@ti.com \
    --cc=tony@atomide.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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