]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Add sdmmc mux divider clock
authorPeter De-Schrijver <pdeschrijver@nvidia.com>
Thu, 12 Jul 2018 11:53:01 +0000 (14:53 +0300)
committerStephen Boyd <sboyd@kernel.org>
Wed, 25 Jul 2018 20:45:09 +0000 (13:45 -0700)
commit9566ffd07a4a577bc11d8279be113a7d444be4f4
tree003efc93a2f1b3bd8091bf3579097acdca04c2a9
parenta8bc375cdf40b5e5171b0e8820f9a4eec8eed751
clk: tegra: Add sdmmc mux divider clock

Add a clock type to model the sdmmc switch divider clocks which have paths
to source clocks bypassing the divider (Low Jitter paths). These
are handled by selecting the lj path when the divider is 1 (ie the
rate is the parent rate), otherwise the normal path with divider
will be selected. Otherwise this clock behaves as a normal peripheral
clock.

Signed-off-by: Peter De-Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Aapo Vienamo <avienamo@nvidia.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/Makefile
drivers/clk/tegra/clk-sdmmc-mux.c [new file with mode: 0644]
drivers/clk/tegra/clk.h