clk: vc5: Add support for 5P49V60
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 14 Jan 2023 23:34:59 +0000 (15:34 -0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Jan 2023 18:49:52 +0000 (10:49 -0800)
commit4411da3209298b4ababc7d12940339c664e8db4a
treed3a9425baa8006840b918303556472933f487bcb
parent3ed741db04f58e8df0d46cec7ecfc4bfd075f047
clk: vc5: Add support for 5P49V60

The 5P49V60 is very similar to the existing supported clock chips of the
versaclock5 driver and uses the same register map layout. But its maximum
VCO frequency is 2.7 GHz instead of 3 GHz for the other supported devices.

Add a vco_max field to the chip info field to allow to specify a per device
variant maximum VCO frequency.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230114233500.3294789-2-lars@metafoo.de
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock5.c