dm: tegra: Convert clock_decode_periph_id() to support livetree
Adjust this to take a device as a parameter instead of a node. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1 Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -266,7 +266,7 @@ void clock_ll_start_uart(enum periph_id periph_id);
|
||||
* @param node Node to look at
|
||||
* @return peripheral ID, or PERIPH_ID_NONE if none
|
||||
*/
|
||||
enum periph_id clock_decode_periph_id(const void *blob, int node);
|
||||
int clock_decode_periph_id(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* Checks if the oscillator bypass is enabled (XOBP bit)
|
||||
|
||||
Reference in New Issue
Block a user