From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 169021B96D; Thu, 18 Jan 2024 10:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705575260; cv=none; b=UhF5k/hOaM83lvYW2WU/sRKqKdAYW3krPoGVP92HeHYuFR1z84lO0qINDSqWVT7Ba1PNnG4WB4uYBJ77u+L7kreMLyDdqdl7vaYKqcnhh74mL/Ls5SIv4DdOyZjvzvu0DrP9gZufaNxkD1xX6PpU/EQ1ePaJ8skt0ZMZWh2YVao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705575260; c=relaxed/simple; bh=hz7HXbLsURIbk/whf6hxpXwgh6FaTn9yqd1yVzthXV0=; 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; b=JFCeHmEcFYXAcgK0d601ofCQFYIA63S5k9khNjnAa1oxUqeniJ1rctKPHEz20JVOpaIpG69j5Heqrn1IUkCuLZ8nKHIyR4PXjf+7R2nkCvUoyWSapA61Ci/PfHXXfXaHDyRafC98OFiwHqZL9jic+GHx8umkxdhObkso2tePTA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qy1csST4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Qy1csST4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DB68C433C7; Thu, 18 Jan 2024 10:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705575259; bh=hz7HXbLsURIbk/whf6hxpXwgh6FaTn9yqd1yVzthXV0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qy1csST42HSJAOnE3m44vop6+bdrBojwhi1MFp3uiLZQ7zZC8vCt4CaiD+JKWn+qf p4Kp9NSL8HjQ9x5Pr5jbZyq5wmR+P4k4tFbnpvF1+FfFU338BHTkylD6N547rznav7 xkVkuCl8JgQmwK5q+d4X/ZhKIicONmomWbnadM+I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Chris Morgan , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.6 069/150] clk: rockchip: rk3568: Add PLL rate for 292.5MHz Date: Thu, 18 Jan 2024 11:48:11 +0100 Message-ID: <20240118104323.159292149@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240118104320.029537060@linuxfoundation.org> References: <20240118104320.029537060@linuxfoundation.org> User-Agent: quilt/0.67 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: Chris Morgan [ Upstream commit 1af27671f62ce919f1fb76082ed81f71cb090989 ] Add support for a PLL rate of 292.5MHz so that the Powkiddy RGB30 panel can run at a requested 60hz (59.96, close enough). I have confirmed this rate fits with all the constraints listed in the TRM for the VPLL (as an integer PLL) in Part 1 "Chapter 2 Clock & Reset Unit (CRU)." Signed-off-by: Chris Morgan Link: https://lore.kernel.org/r/20231018153357.343142-2-macroalpha82@gmail.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- drivers/clk/rockchip/clk-rk3568.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c index 16dabe2b9c47..db713e1526cd 100644 --- a/drivers/clk/rockchip/clk-rk3568.c +++ b/drivers/clk/rockchip/clk-rk3568.c @@ -72,6 +72,7 @@ static struct rockchip_pll_rate_table rk3568_pll_rates[] = { RK3036_PLL_RATE(408000000, 1, 68, 2, 2, 1, 0), RK3036_PLL_RATE(312000000, 1, 78, 6, 1, 1, 0), RK3036_PLL_RATE(297000000, 2, 99, 4, 1, 1, 0), + RK3036_PLL_RATE(292500000, 1, 195, 4, 4, 1, 0), RK3036_PLL_RATE(241500000, 2, 161, 4, 2, 1, 0), RK3036_PLL_RATE(216000000, 1, 72, 4, 2, 1, 0), RK3036_PLL_RATE(200000000, 1, 100, 3, 4, 1, 0), -- 2.43.0