[PATCH] soc/tegra: fuse: Do not register SoC device on ACPI boot

Kartik Rajput posted 1 patch 4 months ago
drivers/soc/tegra/fuse/fuse-tegra.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] soc/tegra: fuse: Do not register SoC device on ACPI boot
Posted by Kartik Rajput 4 months ago
On Tegra platforms using ACPI, the SMCCC driver already registers the
SoC device. This makes the registration performed by the Tegra fuse
driver redundant.

When booted via ACPI, skip registering the SoC device and suppress
printing SKU information from the Tegra fuse driver, as this information
is already provided by the SMCCC driver.

Fixes: 972167c69080 ("soc/tegra: fuse: Add ACPI support for Tegra194 and Tegra234")
Cc: stable@vger.kernel.org
Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
---
 drivers/soc/tegra/fuse/fuse-tegra.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
index d27667283846..74d2fedea71c 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
@@ -182,8 +182,6 @@ static int tegra_fuse_probe(struct platform_device *pdev)
 		}
 
 		fuse->soc->init(fuse);
-		tegra_fuse_print_sku_info(&tegra_sku_info);
-		tegra_soc_device_register();
 
 		err = tegra_fuse_add_lookups(fuse);
 		if (err)
-- 
2.43.0
Re: [PATCH] soc/tegra: fuse: Do not register SoC device on ACPI boot
Posted by Thierry Reding 2 months, 3 weeks ago
On Wed, Oct 08, 2025 at 04:46:18PM +0530, Kartik Rajput wrote:
> On Tegra platforms using ACPI, the SMCCC driver already registers the
> SoC device. This makes the registration performed by the Tegra fuse
> driver redundant.
> 
> When booted via ACPI, skip registering the SoC device and suppress
> printing SKU information from the Tegra fuse driver, as this information
> is already provided by the SMCCC driver.
> 
> Fixes: 972167c69080 ("soc/tegra: fuse: Add ACPI support for Tegra194 and Tegra234")
> Cc: stable@vger.kernel.org
> Signed-off-by: Kartik Rajput <kkartik@nvidia.com>
> ---
>  drivers/soc/tegra/fuse/fuse-tegra.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks.

Thierry