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 61FEE4F68D5; Thu, 17 Sep 2026 16:52:37 +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=1789663958; cv=none; b=n+4GBOM3vg9PNQ5POurMSX+dafOFkLAX/gtqHq9nWJycN9o0rZs7k5mzyYftQzASEZ0fvZqwH7KiUjPuNMj02NhaeG9p2HILYMSQQgOptiHmKMT/jEHuz7UYUEDEFhi7TFOCQXnImQ7bqCp+tzW5zZbg+1dfanVS018pcO+76Bs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663958; c=relaxed/simple; bh=5bmIMl+MZP8wG4lrzyhXL7IThdeXHefrSWPF5R3LB8M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QO6T+tRlLl/DPHj5LiWLV9B/dKOH7YT0x4ree58anNFHcoRiQ05mhgi/b0hroS3Q0g/jSf44OFTKb5tH/n1AP59Osxx4AVyDmyhj0RmiEjomJocTYDCWoDwCMq24LOY0T5wchR5J8kznFLWUajlpAmx3+vBw/ne6uT4fW9IGBIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MP4Z0npD; 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="MP4Z0npD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADD0F1F000FF; Thu, 17 Sep 2026 16:52:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663957; bh=YjI+wzsU6CTUTAOyIjsz/99gRdtUxZyUduRWhqfO31Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MP4Z0npD3kdPvhuDygttyowTcBFbw8i7LAiCf6GBKP9Oo69PBPK7HsGtLTpUjvmJr VZKxVTGhBh19laRc7cLgmEoX24vf6nU6B5n5+j8o5FwFD1IbRSPboEDv4GVS28WmT1 RqyJoq/a3ag6dUBrBzn3TdoDTMis0EoqHnaL4HmE= 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.18 0209/1250] clk: socfpga: agilex: implement l3_main_free_clk Date: Thu, 17 Sep 2026 16:00:04 +0100 Message-ID: <20260917151557.789006892@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260917151551.901433442@linuxfoundation.org> References: <20260917151551.901433442@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.18-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 8dd94f64756b9..2bdea1997b5ef 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