clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 7 Mar 2019 14:14:53 +0000 (15:14 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 1 Apr 2019 08:45:11 +0000 (10:45 +0200)
commit39b8500283b45252e2f9ad9d60992f2c0d3a1659
tree1e2a890f2df2c981e708fc23d9268bb820e85d81
parent370294e2667fa1648eb05aab6c4657419634ff83
clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL

The Meson G12A PCIE PLL is fined tuned to deliver a very precise
100MHz reference clock for the PCIe Analog PHY, and thus requires
a strict register sequence to enable the PLL.
To simplify, use the _init() op to enable the PLL and keep
the other ops except set_rate since the rate is fixed.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lkml.kernel.org/r/20190307141455.23879-2-narmstrong@baylibre.com
drivers/clk/meson/clk-pll.c
drivers/clk/meson/clk-pll.h