linux-stable/drivers/clk/clk_parent_data_test.h
Stephen Boyd 274aff8711 clk: Add KUnit tests for clks registered with struct clk_parent_data
Test that clks registered with 'struct clk_parent_data' work as
intended and can find their parents.

Cc: Christian Marangi <ansuelsmth@gmail.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Reviewed-by: David Gow <davidgow@google.com>
Cc: Rae Moar <rmoar@google.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240718210513.3801024-9-sboyd@kernel.org
2024-07-29 15:33:13 -07:00

11 lines
297 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _CLK_PARENT_DATA_TEST_H
#define _CLK_PARENT_DATA_TEST_H
#define CLK_PARENT_DATA_1MHZ_NAME "1mhz_fixed_legacy"
#define CLK_PARENT_DATA_PARENT1 "parent_fwname"
#define CLK_PARENT_DATA_PARENT2 "50"
#define CLK_PARENT_DATA_50MHZ_NAME "50_clk"
#endif