xref: /openbmc/u-boot/drivers/clk/at91/pmc.h (revision 6e87ae1c)
1 /*
2  * Copyright (C) 2016 Atmel Corporation
3  *               Wenyou.Yang <wenyou.yang@atmel.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef __AT91_PMC_H__
9 #define __AT91_PMC_H__
10 
11 struct pmc_platdata {
12 	struct at91_pmc *reg_base;
13 };
14 
15 int at91_pmc_core_probe(struct udevice *dev);
16 int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name);
17 
18 int at91_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args);
19 int at91_clk_probe(struct udevice *dev);
20 
21 #endif
22