]> git.hungrycats.org Git - linux/commit
clk: rs9: fix wrong default value for clock amplitude
authorCatalin Popescu <catalin.popescu@leica-geosystems.com>
Mon, 15 Apr 2024 14:03:48 +0000 (16:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:44 +0000 (09:49 +0200)
commit8ae358ff5efccd990a88922cddc6fc244c9fad01
tree58de096ff9c8069423ab7d4e1afb8878683cd880
parent95179f9df66515606ce85fb6fae24c7b00892a46
clk: rs9: fix wrong default value for clock amplitude

[ Upstream commit 1758c68c81b8b881818fcebaaeb91055362a82f8 ]

According to 9FGV0241, 9FGV0441 & 9FGV0841 datasheets, the default
value for the clock amplitude is 0.8V, while the driver assumes 0.7V.

Additionally, define constants for default values for both clock
amplitude and spread spectrum and use them.

Fixes: 892e0ddea1aa ("clk: rs9: Add Renesas 9-series PCIe clock generator driver")
Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20240415140348.2887619-1-catalin.popescu@leica-geosystems.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/clk-renesas-pcie.c