blob: bd3caba48d1d9bc0b92bb55e286f1daf771e1919 [file] [log] [blame]
Wenyou Yang8c772bd2016-07-20 17:55:12 +08001/*
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
11struct pmc_platdata {
12 struct at91_pmc *reg_base;
13};
14
15int at91_pmc_core_probe(struct udevice *dev);
Wenyou Yang9a71d392016-09-27 11:00:29 +080016int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name);
17
Simon Glassb7ae2772017-05-18 20:09:40 -060018int at91_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args);
Wenyou Yang9a71d392016-09-27 11:00:29 +080019int at91_clk_probe(struct udevice *dev);
Wenyou Yang8c772bd2016-07-20 17:55:12 +080020
21#endif