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