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 4AC6CCA1007 for ; Wed, 3 Sep 2025 04:28:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 81B6B83420; Wed, 3 Sep 2025 06:28:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="tqxDjeED"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A5C8A83438; Wed, 3 Sep 2025 06:28:41 +0200 (CEST) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 74E1E83403 for ; Wed, 3 Sep 2025 06:28:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-kumar1@ti.com Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 5834Sbgb3142219; Tue, 2 Sep 2025 23:28:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1756873717; bh=JrRbrWLEBCudPnG4GUcxK7I0Ja6AKLT5uyfxqCM7Br4=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=tqxDjeEDry0KtO11YIE4yfFLUuRQhcon0OU4ruKAm3E9cCsVq3ROmuZ16qszSy40Z SjmfgfuNWwvMpYcg5IrxR0Oz57eN6xOBzs4zqcfxmpCvjwz2Qc2TQ3IkEFw1Mwxi8Q qV2amPOs+XT/4xjojJpOr0nkfj31e9TbERI3JHfI= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 5834Sbo03329521 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Tue, 2 Sep 2025 23:28:37 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Tue, 2 Sep 2025 23:28:36 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Tue, 2 Sep 2025 23:28:36 -0500 Received: from [172.24.20.139] (lt5cd2489kgj.dhcp.ti.com [172.24.20.139]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 5834SYeW685193; Tue, 2 Sep 2025 23:28:35 -0500 Message-ID: <380dd6dd-8751-4843-936e-e9da577f376f@ti.com> Date: Wed, 3 Sep 2025 09:58:34 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/3] configs: j721e_evm_r5: Enable HBMC and MUX_MMIO at SPL To: Tom Rini CC: Anurag Dutta , , References: <20250902102000.1388848-1-a-dutta@ti.com> <20250902102000.1388848-3-a-dutta@ti.com> <20250902154656.GE124814@bill-the-cat> <5fec7216-9e0a-4d97-af23-60953cc1ef75@ti.com> <20250902161257.GF124814@bill-the-cat> Content-Language: en-US From: "Kumar, Udit" In-Reply-To: <20250902161257.GF124814@bill-the-cat> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 Hi Tom, On 9/2/2025 9:42 PM, Tom Rini wrote: > On Tue, Sep 02, 2025 at 09:36:25PM +0530, Kumar, Udit wrote: >> Hi Tom >> >> On 9/2/2025 9:16 PM, Tom Rini wrote: >>> On Tue, Sep 02, 2025 at 03:49:59PM +0530, Anurag Dutta wrote: >>> >>>> Commit 0e198ff1a911 ("configs: Resync with savedefconfig") removed >>>> the necessary configs required to boot HyperFlash successfully, due to >>>> missing Kconfig dependencies. Now that the Kconfig dependencies have >>>> been added, re-enable the HBMC and MUX_MMIO configs in the SPL stage. >>>> >>>> Fixes: 0e198ff1a911 ("configs: Resync with savedefconfig") >>>> Signed-off-by: Anurag Dutta >>> Please note that this means it never worked to start with. >>> "savedefconfig" does the equivalent of "make foo_defconfig" and then >> >> It was working before but due to some boot issues , due to DT sync >> >> we disabled HBMC with commit id 5b2671594b80af116e259313d48bcd580d71f462 . >> >> >> Instead of saying Fixes: 0e198ff1a91, >> >> This patch is fixing sha id 5b2671594b80af116e259313d48bcd580d71f462 by kind >> of revert. >> >> my bad to give R/B , overlooked on sha id of fixes tag. > Again, no, that's not quite how it works. When we do a defconfig resync > like this we're just making the defconfigs reflect the present reality. would need your suggestion here, what should be fixes tag, My comments were not related to defconfig sync > If you checkout 5b2671594b80af116e259313d48bcd580d71f462^ and then look > at the resulting defconfig, that option will be off. Doing a git blame > on drivers/mtd/Kconfig the right fixes tag is for: If you look at sha id d7ef2ef7c87528c359e110d7170e01a98aaecf14 (configs: j721e_evm_defconfig: Add HBMC related configs) is adding support for HBMC. So it was functional before. Later due to DT sync and HBMC was broken so we disabled HBMC with sha id 5b2671594b80af116e259313d48bcd580d71f462. After that there was attempt to enable HBMC via below sha ids 8f71d37838ba0b0bfa047f5133877092ee9d1110 (mtd: Kconfig: Change HBMC driver's dependency to MULTIPLEXER and MUX_MMIO) fd7fcd4098d5c1ba9e20dbd72aa5f9a74f0cbe42 (configs: j721e_evm_*_defconfig: Add configs for Hyperflash boot) c9df79ee64d0885277d5061a9426744920c4d6a5 (arm: dts: k3-j721e-r5-common: Add HBMC overrides for R5 SPL) a42b8b0b3fe0ffe69ffb932bf3e709a62ff34a23 (mtd: HBMC-AM654: Changed syscon API to mux APIs) f0558f3a89fe0fa900b162ae2758772e37f72739 (mux: Makefile: Add config for mux drivers) > commit 8f71d37838ba0b0bfa047f5133877092ee9d1110 > Author: Anurag Dutta > Date: Fri Nov 29 17:01:36 2024 +0530 > > mtd: Kconfig: Change HBMC driver's dependency to MULTIPLEXER and MUX_MMIO > > The HBMC_AM654 driver was dependent on SYSCON because syscon APIs were > being used to select the multiplexer state. Change the dependency to > MULTIPLEXER and MUX_MMIO because mux APIs are now being used to > select mux state. > > Signed-off-by: Anurag Dutta > > As that's what changed the dependencies for the option. >