clk: tegra: Convert CCLKG mux to mux + clock divider on Tegra30
authorDmitry Osipenko <digetx@gmail.com>
Sun, 12 Aug 2018 18:42:28 +0000 (21:42 +0300)
committerDmitry Osipenko <digetx@gmail.com>
Sat, 9 Feb 2019 19:15:36 +0000 (22:15 +0300)
commit2c4b18a5253e99579e87f3123b2e75e4c3f9c68b
treea5ff3c070f76d84b7aecb267aae7e33565ec7d2a
parent28a7aa939cf45f1984b67af08a447f0950e4453f
clk: tegra: Convert CCLKG mux to mux + clock divider on Tegra30

Some of the CCLKG parents aren't accessible via device tree because they
are created as non-DT clocks. Apparently there is no reason to define
these clocks in that manner, hence convert CCLKG mux to mux + clock
divider to remove the non-DT parent clocks. Now it is possible to request
all of CCLKG parents from device tree, which is necessary for the CPUFreq
driver.

Note that CCLKG bypasses clock divider only if PLLX is selected as the
parent, hence previous CCLKG parents definition was incorrect.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
drivers/clk/tegra/clk-super.c
drivers/clk/tegra/clk-tegra210.c
drivers/clk/tegra/clk-tegra30.c
drivers/clk/tegra/clk.h