From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18E0F309EF2; Wed, 30 Sep 2026 18:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790794269; cv=none; b=ZdKrCO4/yvdYk/0Vp+IeqSW+0lBlODDQxViEf+oAyk0wmdYhMqm164nRFBw8n/EWS1vFvTNm/EebNvzub0dGkCeg4YsnTk06RQt2VIQoBeNKogdaNr6u9LVvV08hFwfSUKkbVG42ov5o+V3Yqpk+UediI1CpNMAEL5J4eHDpt/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790794269; c=relaxed/simple; bh=OMIZM9Mm0hpwLzMsJcAUrnzd5dyykMggXXKs3D29Hy8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M8S3/A6Aq61p9+yPfDyPTN2Xia10HwFExSWE2ZWx1hlPSeXnITS92zFsPCsmI9kurxyCuWDqd2XfFdeKr6R4wjjnwYPYEayMKKMuZr94SLuqqbFRl+pHolB/pw7wAJ0vfDaj5sKunMH0sWzBjqZEBoA4O12Sqp1lI0/RFbE+yUE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QSePXuiL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QSePXuiL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 759B91F000FF; Wed, 30 Sep 2026 18:51:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790794268; bh=TdwlF3+YWeEkrjSALx2WPvP5cADF/4HcBXyKnroacEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QSePXuiL8XEnxBd3njvfVN5eV5CcZCHKl9r0KngvQjbSzKIhzmjZkB+YEQhcrGnzI AKjNVsoIFyDe8rTfUaBoGzf5BWdRlJB6ehT2ym1X2+OTIX4tt9nwWzYuyXkxDHB+aL GWM4iCHXnibQULiHpOGMVhUgTVIt23hRZpAw9hQk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Adrian Ng Ho Yin , Dinh Nguyen , Sasha Levin Subject: [PATCH 6.6 0106/1193] clk: socfpga: agilex: implement l3_main_free_clk Date: Wed, 30 Sep 2026 17:13:10 +0200 Message-ID: <20260930152436.587779979@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260930152434.301151190@linuxfoundation.org> References: <20260930152434.301151190@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Adrian Ng Ho Yin [ Upstream commit 1e7f56205813a2c48cdb3e9a4b0a24f49fd9a548 ] The AGILEX_L3_MAIN_FREE_CLK is defined in the dt-bindings header but was never implemented in the clock driver. Per the Agilex TRM, l3_main_free_clk has no divider or mux and is a fixed 1:1 derivative of noc_free_clk that clocks most of the interconnect datapath. Signed-off-by: Adrian Ng Ho Yin Signed-off-by: Dinh Nguyen Signed-off-by: Sasha Levin --- drivers/clk/socfpga/clk-agilex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/socfpga/clk-agilex.c b/drivers/clk/socfpga/clk-agilex.c index 6b65a74aefa6e..054dba1954b10 100644 --- a/drivers/clk/socfpga/clk-agilex.c +++ b/drivers/clk/socfpga/clk-agilex.c @@ -259,6 +259,8 @@ static const struct stratix10_perip_cnt_clock agilex_main_perip_cnt_clks[] = { 0, 0x3C, 0, 0, 0}, { AGILEX_NOC_FREE_CLK, "noc_free_clk", NULL, noc_free_mux, ARRAY_SIZE(noc_free_mux), 0, 0x40, 0, 0, 0}, + { AGILEX_L3_MAIN_FREE_CLK, "l3_main_free_clk", "noc_free_clk", NULL, + 1, 0, 0, 1, 0, 0}, { AGILEX_L4_SYS_FREE_CLK, "l4_sys_free_clk", NULL, noc_mux, ARRAY_SIZE(noc_mux), 0, 0, 4, 0x30, 1}, { AGILEX_EMAC_A_FREE_CLK, "emaca_free_clk", NULL, emaca_free_mux, ARRAY_SIZE(emaca_free_mux), -- 2.53.0