mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
dm: clk: Add support for of-platdata
Add support for this feature in the core clock code. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -60,6 +60,10 @@ struct clk {
|
||||
};
|
||||
|
||||
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
struct phandle_2_cell;
|
||||
int clk_get_by_index_platdata(struct udevice *dev, int index,
|
||||
struct phandle_2_cell *cells, struct clk *clk);
|
||||
|
||||
/**
|
||||
* clock_get_by_index - Get/request a clock by integer index.
|
||||
*
|
||||
|
Reference in New Issue
Block a user