]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tests: Add tests for single parent mux
authorMaxime Ripard <maxime@cerno.tech>
Tue, 16 Aug 2022 11:25:14 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 15 Sep 2022 16:30:52 +0000 (09:30 -0700)
commitf697211b96eb91a3a713c447534a5acade92bfdf
treec4f0ad08290d4ad992f7380e18748a2c157655fa
parent2c560cc7e70c01a89ca1ab81f755d4ccee1d4729
clk: tests: Add tests for single parent mux

We have a few tests for a mux with a single parent, testing the case
where it used to be orphan.

Let's leverage most of the code but register the clock properly to test
a few trivial things.

Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx8mp
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> # exynos4210, meson g12b
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220816112530.1837489-10-maxime@cerno.tech
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk_test.c