Skip to content
Snippets Groups Projects
Commit 87e460c3 authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Stefano Babic
Browse files

clk: sandbox: Add sandbox test code for Common Clock Framework [CCF]


This patch provides code to implement the CCF clock tree in sandbox. It
uses all the introduced primitives; some generic ones are reused, some
sandbox specific were developed.

In that way (after introducing the real CCF tree in sandbox) the recently
added to clk-uclass.c: clk_get_by_id() and clk_get_parent_rate() are tested
in their natural work environment.

Usage (sandbox_defconfig and sandbox_flattree_defconfig):
./u-boot --fdt arch/sandbox/dts/test.dtb --command "ut dm clk_ccf"

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
parent 5da0095e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment