From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794585939; b=M7ziW+7wtjes2QGCYCPzqpkPsQJpx3Ps018x88XmHrDFb6NonOkffyWpacsus3aJ3o9g TmfwM/4ZZIcv2tK/Zt1vR1Jnadbui5BclpYt45/GeJIHtpRaeHnok5YvidfkMtMPuy+1S 5K7/V8m/9iYSqqL1e0LG0GrFrCpHkv3ky/UQK8r9eyh7fyOWQWgGTLbStmTUI7i9r/hiK 3fgzvp7Oqt6cuuT6IupV6uhuBP4XvW0WYu6Ge07Ga71X6iX3s1CWD+OTFLzDBfuaCHYQ8 RFxvetp+WqA4lIEnqDU3srzp+zb8ey3ARbbiQkP8WYLolPXlsX7EPxDxECQp7ENIFLA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794585939; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=M5T4mTo2mZj7mn7iJRKkphZ34pUvThiqzSNJW4RUTQI=; b=4YiARNTyGo9qhopQtDEJtEypVlTPEErj0i85MPPcmnXmNfnvk+kiiLSzrG2YJaMnT2nY 34Cd7bz9RIBwphV1SzTq9wExzRh3OSrsK3vj/v321VkLmEzGdo5Jh6Dh5jpNOQozTHOUx Iah71hI/IsARqPThATQQTmuQx0ZcocX61kTnvifFPHXaA+VumVkxUOExq0W6nom6epEyU MDZKggk6cG+lhWwZSIfVBPzDSE5XgfYHlLuSIWgeK/P/JTNstk8x+Ze0pzY+i4Fk8Sf26 lKb1FKNH0PUqpwM9hukCOCiSxDTxjqVySNv2buTB4L45l/3oPb5xoueMi+TBDFVIJsg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=OIdfRj9F; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFF976070FC6; Fri, 13 Nov 2026 16:05:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=OIdfRj9F Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38B751F000C4; Fri, 13 Nov 2026 16:05:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794585939; bh=M5T4mTo2mZj7mn7iJRKkphZ34pUvThiqzSNJW4RUTQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OIdfRj9Fy0gvErHdv1cVvDzzL5UKzG9UL8qo0u619xXXWCH8nhpvDEPwZbHqDtd38 XTvxyJABMJwvZPfkZWSqM9T4kj/tTA1VLUFSWHv5ZiikHiuIvrsUKsbKnUELzSFz3H egTS00Bd/+YJ9ak9iZlYzEVvZJb0Cl+tP0pRuNps= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jacky Huang , Jerome Brunet , Miquel Raynal , Brian Masney , Sasha Levin Subject: [PATCH 7.3 495/507] clk: nuvoton: ma35d1: Add missing WDT/WWDT parent clocks Date: Fri, 13 Nov 2026 10:53:19 -0500 Message-ID: <20261113153813.844030632@linuxfoundation.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261113153753.358973689@linuxfoundation.org> References: <20261113153753.358973689@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Miquel Raynal [ Upstream commit 1dc3871ce7ec819030c22297f8960c61cc42a990 ] The WDT and WWDT muxes list PCLK3/4096 and PCLK4/4096 among their possible parents, but the driver never registers the corresponding clocks, so these parents could never be used. Add pclk3_div4096 and pclk4_div4096 as fixed factor children of pclk3 and pclk4 and expose them through the clock provider. Reported-by: Jacky Huang Closes: https://lore.kernel.org/linux-clk/b8a8a65b-e302-4747-bc90-4920fc48795a@gmail.com/ Suggested-by: Jacky Huang Fixes: 691521a367cf ("clk: nuvoton: Add clock driver for ma35d1 clock controller") Cc: stable@vger.kernel.org Reviewed-by: Jerome Brunet Signed-off-by: Miquel Raynal Link: https://patch.msgid.link/20260930-perso-ma35d1-upstream-clk-v6-5-48937ee6c9bb@bootlin.com [jbrunet@baylibre.com: removed stale link trailer] Signed-off-by: Jerome Brunet Signed-off-by: Brian Masney Signed-off-by: Sasha Levin --- drivers/clk/nuvoton/clk-ma35d1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/nuvoton/clk-ma35d1.c b/drivers/clk/nuvoton/clk-ma35d1.c index 6aa42a3e1be3b..c914079cee2d4 100644 --- a/drivers/clk/nuvoton/clk-ma35d1.c +++ b/drivers/clk/nuvoton/clk-ma35d1.c @@ -17,7 +17,7 @@ static DEFINE_SPINLOCK(ma35d1_lock); #define PLL_MAX_NUM 5 -#define MA35D1_CLK_COUNT 236 +#define MA35D1_CLK_COUNT 238 /* Clock Control Registers Offset */ #define REG_CLK_PWRCTL 0x00 @@ -544,6 +544,8 @@ static int ma35d1_clocks_probe(struct platform_device *pdev) hws[HCLK3] = ma35d1_clk_fixed_factor(dev, "hclk3", "sysclk1_mux", 1, 2); hws[PCLK3] = ma35d1_clk_fixed_factor(dev, "pclk3", "sysclk1_mux", 1, 2); hws[PCLK4] = ma35d1_clk_fixed_factor(dev, "pclk4", "sysclk1_mux", 1, 2); + hws[PCLK3_DIV4096] = ma35d1_clk_fixed_factor(dev, "pclk3_div4096", "pclk3", 1, 4096); + hws[PCLK4_DIV4096] = ma35d1_clk_fixed_factor(dev, "pclk4_div4096", "pclk4", 1, 4096); hws[USBPHY0] = ma35d1_clk_fixed("usbphy0", 480000000); hws[USBPHY1] = ma35d1_clk_fixed("usbphy1", 480000000); -- 2.53.0