]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: add od3 to the pll driver
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 19 Jan 2018 15:55:25 +0000 (16:55 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 08:49:23 +0000 (09:49 +0100)
commitf94503c888dedbeb877c52ab3cce5d6b70386527
tree43f41c31e6e7b5a1b16078ea883a3bf857fabf22
parent54edfed0e41da9961d276cfac44a9b08a26c19eb
clk: meson: add od3 to the pll driver

Some meson plls, such as the hdmi pll, are using a 3rd od parameter,
which is yet another "power of 2" post divider. Add it to fix the
calculation of the hdmi_pll rate

Fixes: 3875c41bd887 ("clk: gxbb: add AmLogic GXBB clk controller driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c
drivers/clk/meson/clkc.h
drivers/clk/meson/gxbb.c