clk: meson: meson8b: Add the HDMI PLL M/N parameters
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 13 Jul 2021 23:25:07 +0000 (01:25 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 23 Sep 2021 09:46:37 +0000 (11:46 +0200)
commitbb8557359806dde16191060cf27d5dd79eaf11d9
tree1f542b230650e8922de3be583f71ef1f8a86421a
parent9e544b75b20f7e9e7767acc11b46fd38b4989eb4
clk: meson: meson8b: Add the HDMI PLL M/N parameters

The 3.10 vendor kernel uses only specific HDMI PLL M/N parameter
combinations. The PLL won't lock for values smaller than 50 if the
internal doubling (which is yet unknown how to use it) is disabled.
However, when this doubling is enabled then the values smaller than 50
will lock just fine. The only restriction for values greater than 50 is
that the resulting frequency must not exceed the 3.0GHz limit.

These values are taken from the endlessm 3.10 kernel which includes
additional M/N combinations for some VESA and 75Hz display modes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210713232510.3057750-4-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c