]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tests: Add tests for mux with multiple parents
authorMaxime Ripard <maxime@cerno.tech>
Tue, 16 Aug 2022 11:25:15 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 15 Sep 2022 16:30:57 +0000 (09:30 -0700)
commit375697360a148e8a10e0795675bc776128e0d9e3
tree5e43ab3fac752785022cd4c6e038c14a85b7fe09
parentf697211b96eb91a3a713c447534a5acade92bfdf
clk: tests: Add tests for mux with multiple parents

We'll need to test a few corner cases that occur when we have a mux
clock whose default parent is missing.

For now, let's create the context structure and the trivial ops, along
with a test suite that just tests trivial things for now, without
considering the orphan case.

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-11-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