U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@kernel.org>
To: Chintan Vankar <c-vankar@ti.com>,
	Michael Walle <mwalle@kernel.org>,
	Matthias Schiffer <matthias.schiffer@ew.tq-group.com>,
	MD Danish Anwar <danishanwar@ti.com>,
	Hari Nagalla <hnagalla@ti.com>,
	Manorit Chawdhry <m-chawdhry@ti.com>,
	Jonathan Humphreys <j-humphreys@ti.com>,
	Santhosh Kumar K <s-k6@ti.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Neha Malcom Francis <n-francis@ti.com>,
	Andreas Dannenberg <dannenberg@ti.com>, Andrew Davis <afd@ti.com>,
	Alexander Sverdlin <alexander.sverdlin@siemens.com>,
	Joao Paulo Goncalves <joao.goncalves@toradex.com>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Wadim Egorov <w.egorov@phytec.de>,
	Ramon Fried <rfried.dev@gmail.com>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Jayesh Choudhary <j-choudhary@ti.com>,
	Vaishnav Achath <vaishnav.a@ti.com>, Bryan Brattlof <bb@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tom Rini <trini@konsulko.com>
Cc: s-vadapalli@ti.com, u-boot@lists.denx.de
Subject: Re: [PATCH v3 02/15] arm: mach-k3: am62x: am625_init: Remove explicit probing of CPSW driver
Date: Thu, 27 Feb 2025 12:42:49 +0200	[thread overview]
Message-ID: <6c5070ae-15b1-48f3-8737-8d09fc41afa5@kernel.org> (raw)
In-Reply-To: <20250225114903.2080616-3-c-vankar@ti.com>



On 25/02/2025 13:48, Chintan Vankar wrote:
> Bind method of am65_cpsw_nuss driver will ensure binding of it's child
> driver am65_cpsw_nuss_ports, and there is no need to call CPSW driver
> explicitly. Remove explicit probing of CPSW driver for AM62x.
> 
> Signed-off-by: Chintan Vankar <c-vankar@ti.com>

You should just revert commit 35bddf889652 ("arm: mach-k3: am62x: am625_init: Probe AM65 CPSW NUSS")

> ---
> 
> Link to v2:
> https://lore.kernel.org/r/20250219104831.2315464-4-c-vankar@ti.com/
> 
> Changes from v2 to v3:
> - Updated commit subject and commit message.
> 
>  arch/arm/mach-k3/am62x/am625_init.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/arch/arm/mach-k3/am62x/am625_init.c b/arch/arm/mach-k3/am62x/am625_init.c
> index 595fc391ac5..72a752d38e8 100644
> --- a/arch/arm/mach-k3/am62x/am625_init.c
> +++ b/arch/arm/mach-k3/am62x/am625_init.c
> @@ -282,15 +282,6 @@ void board_init_f(ulong dummy)
>  	}
>  	spl_enable_cache();
>  
> -	if (IS_ENABLED(CONFIG_SPL_ETH) && IS_ENABLED(CONFIG_TI_AM65_CPSW_NUSS) &&
> -	    spl_boot_device() == BOOT_DEVICE_ETHERNET) {
> -		struct udevice *cpswdev;
> -
> -		if (uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(am65_cpsw_nuss),
> -						&cpswdev))
> -			printf("Failed to probe am65_cpsw_nuss driver\n");
> -	}
> -
>  	fixup_a53_cpu_freq_by_speed_grade();
>  }
>  

what about mach-k3/am64x/am642_init.c?
Please revert the relevant commit there as well.

and the same thing done in mach-k3/common.c?
Please revert the relevant commit there too.

It would be OK if you squash all 3 reverts into one patch.

As a separate patch you will also have to remove the part where cpsw_port2 node is
disabled in various k3-*-u-boot.dtsi files [1]. That is no longer needed as now we should
be able to support multiple ethernet ports.

[1] -
k3-am625-beagleplay-u-boot.dtsi:&cpsw_port2 {
k3-am625-phyboard-lyra-rdk-u-boot.dtsi:&cpsw_port2 {
k3-am625-sk-u-boot.dtsi:&cpsw_port2 {
k3-am642-evm-u-boot.dtsi:&cpsw_port2 {
k3-am642-sk-u-boot.dtsi:&cpsw_port2 {

-- 
cheers,
-roger


  reply	other threads:[~2025-02-27 10:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 11:48 [PATCH v3 00/15] Add support for Ethboot for AM68-SK, AM62p-SK Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 01/15] net: ti: am65-cpsw-nuss: Define bind method for CPSW driver Chintan Vankar
2025-02-27 10:26   ` Roger Quadros
2025-03-04  4:45     ` Vankar, Chintan
2025-02-25 11:48 ` [PATCH v3 02/15] arm: mach-k3: am62x: am625_init: Remove explicit probing of " Chintan Vankar
2025-02-27 10:42   ` Roger Quadros [this message]
2025-02-25 11:48 ` [PATCH v3 03/15] arm: mach-k3: j721s2: Update SoC auto-gen data to enable Ethernet boot Chintan Vankar
2025-02-26  7:43   ` Neha Malcom Francis
2025-02-25 11:48 ` [PATCH v3 04/15] arm: mach-k3: j721s2_spl: Alias Ethernet boot to CPGMAC Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 05/15] net: ti: Kconfig: Enable SPL_SYSCON config for CPSW Chintan Vankar
2025-02-25 13:39   ` Sverdlin, Alexander
2025-02-25 11:48 ` [PATCH v3 06/15] configs: am68: Add configs for enabling Ethboot in R5SPL Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 07/15] configs: am68: Enable configs required for Ethernet boot Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 08/15] arm: mach-k3: am62p: Update SoC auto-gen data to enable CPSW boot Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 09/15] board: ti: am62px: evm: Enable cache for AM62p Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 10/15] configs: am62p: Add configs for enabling ETHBOOT in R5SPL Chintan Vankar
2025-02-25 11:48 ` [PATCH v3 11/15] configs: am62p: Enable configs required for Ethboot Chintan Vankar
2025-02-25 11:49 ` [PATCH v3 12/15] arch: arm: mach-k3: r5: j722s: Update SoC autogenerated data to enable Ethernet boot Chintan Vankar
2025-02-25 11:49 ` [PATCH v3 13/15] board: ti: j722s: evm: Enable cache for J722s Chintan Vankar
2025-02-25 15:43   ` Sverdlin, Alexander
2025-02-25 11:49 ` [PATCH v3 14/15] configs: j722s_evm_r5: Add configs to enable Ethboot in R5SPL Chintan Vankar
2025-02-25 11:49 ` [PATCH v3 15/15] configs: j722s_evm_a53: Enable configs required for Ethernet boot Chintan Vankar

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=6c5070ae-15b1-48f3-8737-8d09fc41afa5@kernel.org \
    --to=rogerq@kernel.org \
    --cc=afd@ti.com \
    --cc=alexander.sverdlin@siemens.com \
    --cc=bb@ti.com \
    --cc=c-vankar@ti.com \
    --cc=danishanwar@ti.com \
    --cc=dannenberg@ti.com \
    --cc=hnagalla@ti.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=j-choudhary@ti.com \
    --cc=j-humphreys@ti.com \
    --cc=joao.goncalves@toradex.com \
    --cc=joe.hershberger@ni.com \
    --cc=kishon@ti.com \
    --cc=m-chawdhry@ti.com \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=mwalle@kernel.org \
    --cc=n-francis@ti.com \
    --cc=rfried.dev@gmail.com \
    --cc=s-k6@ti.com \
    --cc=s-vadapalli@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vaishnav.a@ti.com \
    --cc=vigneshr@ti.com \
    --cc=w.egorov@phytec.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