From patchwork Mon Sep 2 09:32:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruva Gole X-Patchwork-Id: 13786959 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D4C3CD13CF for ; Mon, 2 Sep 2024 09:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gaS91yKXO7G1zpchqnIy09lfpA2W8HvrlWUkg/C8O/I=; b=KfUpiARCoa9IRYLO1Rz2g324ML nV1bFmw8bXCPKNM26xxa0Gs7yqfIJDIUyDxEx+QNYBn6WzoQeMyFCJh36DXHDDYcJFhMQWCD6XqHK 0Gr1n79ann9TtaTYdGIgf5i4mxlvP/58AJV2Ul4OZQ2ffg/ZgXJUwWQ6Fu1zrVIB2yEh9GvAVuxKI DvFpcKIVpr7qAjigkTFUY+gnLqkhqPd7DoG0HxLlqbO+82Rwe6oA1CtvkDBEFDbmoFFpj8r1fzBYK 9llCCgYM22Owv2esVtBDtLKHKQGtb/ckVffAvcVmkdtJ/vMCKgNhEtbpWSTaet28ILRXPDHi5XY0O zprbtQaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sl3T2-0000000Dj6E-0Oy2; Mon, 02 Sep 2024 09:35:24 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sl3QX-0000000DiQ1-0cL0 for linux-arm-kernel@lists.infradead.org; Mon, 02 Sep 2024 09:32:50 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4829WjF9074521; Mon, 2 Sep 2024 04:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1725269565; bh=gaS91yKXO7G1zpchqnIy09lfpA2W8HvrlWUkg/C8O/I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KJLBDOTwT80SpNIswegFvYk9YfEEee6NleeLO7s1p6E3Z+4wtjISeiV34d61mnWAg gfwKMh243M6IUILgIKWWOjmE/GydR+VSnkAywx2SCbvRuK6FEXiS4MUqLHgPlfeng6 P5eNKxfP4BGH/g+/bIeRTlHzb0ZlzTT+oMDrM2S4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4829WjRB037779; Mon, 2 Sep 2024 04:32:45 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 2 Sep 2024 04:32:44 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 2 Sep 2024 04:32:44 -0500 Received: from lcpd911.dhcp.ti.com (lcpd911.dhcp.ti.com [172.24.227.68]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4829WT7L109047; Mon, 2 Sep 2024 04:32:41 -0500 From: Dhruva Gole To: "Rafael J . Wysocki" , Viresh Kumar , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Nishanth Menon , Vignesh Raghavendra , , , , , , , Dhruva Gole Subject: [PATCH 2/2] cpufreq: ti-cpufreq: Make the AM625 efuse_offset 0 Date: Mon, 2 Sep 2024 15:02:22 +0530 Message-ID: <20240902093222.2828345-3-d-gole@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240902093222.2828345-1-d-gole@ti.com> References: <20240902093222.2828345-1-d-gole@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240902_023249_258816_16687D72 X-CRM114-Status: GOOD ( 13.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since the efuse_offset is basically derived from the syscon node, we no longer need to use any efuse_offset for AM625. This is in line with how the AM62Ax and AM62Px are already doing. Signed-off-by: Dhruva Gole --- drivers/cpufreq/ti-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index ba621ce1cdda..98e320832f78 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -313,7 +313,7 @@ static const struct soc_device_attribute k3_cpufreq_soc[] = { static struct ti_cpufreq_soc_data am625_soc_data = { .efuse_xlate = am625_efuse_xlate, - .efuse_offset = 0x0018, + .efuse_offset = 0x0, .efuse_mask = 0x07c0, .efuse_shift = 0x6, .rev_offset = 0x0014,