diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-08-16 13:25:16 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-09-15 18:31:01 +0200 |
commit | 2e9cad1abc7149c5e6aeee7e76a6c363d392da8b (patch) | |
tree | 52778847be6e5182fb7b61a829da4a415c38611e /drivers/clk/clk.c | |
parent | clk: tests: Add tests for mux with multiple parents (diff) | |
download | linux-2e9cad1abc7149c5e6aeee7e76a6c363d392da8b.tar.xz linux-2e9cad1abc7149c5e6aeee7e76a6c363d392da8b.zip |
clk: tests: Add some tests for orphan with multiple parents
Let's leverage the dummy mux with multiple parents we have to create a
mux whose default parent will never be registered, and thus will always
be orphan by default.
We can then create some tests to make sure that the clock API behaves
properly in such a case, and that the transition to a non-orphan clock
when we change the parent is done properly.
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-12-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>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions