]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: meson: meson8b: Initialize the HDMI PLL registers
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 13 Jul 2021 23:25:08 +0000 (01:25 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Thu, 23 Sep 2021 09:46:37 +0000 (11:46 +0200)
commit040e165bef65ffd137f734b0e6d78d160a93abb2
treea7ffb01ce9d09b1be45c9329942bdf7f03f8e01e
parentbb8557359806dde16191060cf27d5dd79eaf11d9
clk: meson: meson8b: Initialize the HDMI PLL registers

Add the reg_sequence to initialize the HDMI PLL with the settings for
a video mode that doesn't require PLL internal clock doubling. These
settings are taken from the 3.10 vendor kernel's driver for the 2970MHz
PLL setting used for the 1080P video mode. This puts the PLL into a
defined state and the Linux kernel can take over.
While not all bits for this PLL are implemented using these "defaults"
and then applying M, N and FRAC seems to work fine.

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-5-martin.blumenstingl@googlemail.com
drivers/clk/meson/meson8b.c
drivers/clk/meson/meson8b.h