From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E862C0015E for ; Thu, 13 Jul 2023 17:38:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F8EA86C3D; Thu, 13 Jul 2023 19:38:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="rQjIwE3J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C2DC786C2E; Thu, 13 Jul 2023 19:37:59 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A28FA86C9F for ; Thu, 13 Jul 2023 19:37:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 960A56185A; Thu, 13 Jul 2023 17:37:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18884C433C8; Thu, 13 Jul 2023 17:37:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689269874; bh=ZAbn4fyX3kmR3gcXU2m3S5K2EDjShSdxF0aB95W4LdA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=rQjIwE3JR8HbEJ7X6I9uMZc5lhixUnSwlm/0mf4xph8VOPVo86xPyiAUxJF04tUMJ q8gfi/458zZGFj7Gvp4CIE2+JRVkWBo4SLZITcnR7CWLtNc37AjfWGUnxQl4RqpJYh jENM0BZEELKulEoQ8ZV7NGpVLDyqJFidaxQQs11ecubwl4WIVTQcTtrhPkgh4zDrZ/ EBBFWoDvBP3UDG4zvk+z5QBPCHTSp0lZoWg448vkCc6UoiBwQ8bMsHkIvAmZ+c0Hs8 usjQtNjgs9SHf9GzbTaLm1f9kWfX9wGKjU32glbJyUFheYQhF5tPlSMOzG6hOfYBY9 d61eg33cY9wGQ== Message-ID: <65f2abd7-6af8-c9e0-e348-010f15644f19@kernel.org> Date: Thu, 13 Jul 2023 20:37:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v3 00/12] Remove unnecessary USBx dr_mode configuration. To: Julien Panis , 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 References: <20230706-handle-otg-as-periph-v3-0-27e24fa17345@baylibre.com> Content-Language: en-US From: Roger Quadros In-Reply-To: <20230706-handle-otg-as-periph-v3-0-27e24fa17345@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 '-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 > --- > 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 -- cheers, -roger