]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0dfed5f2e1b27caa2608e6703fa6999a9f88ed62
tree1e2a890f2df2c981e708fc23d9268bb820e85d81
parent2b21bcd3c696c5b4ca605ba07be14c4030092f6d
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