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)
commit7d3142e5d64a2bdcd382dac979407f6afc83d685
tree43f41c31e6e7b5a1b16078ea883a3bf857fabf22
parent4c5f67b7ea329ed8b3cf708fde4656b2d3b27dbf
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: 738f66d3211d ("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