mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree. Signed-off-by: Simon Glass <sjg@chromium.org>
22 lines
485 B
C
22 lines
485 B
C
/*
|
|
* Copyright (C) 2016 Atmel Corporation
|
|
* Wenyou.Yang <wenyou.yang@atmel.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __AT91_PMC_H__
|
|
#define __AT91_PMC_H__
|
|
|
|
struct pmc_platdata {
|
|
struct at91_pmc *reg_base;
|
|
};
|
|
|
|
int at91_pmc_core_probe(struct udevice *dev);
|
|
int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name);
|
|
|
|
int at91_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args);
|
|
int at91_clk_probe(struct udevice *dev);
|
|
|
|
#endif
|