blob: 517ba1d6b452e10306d7e10b0f50e22320d4e951 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2016 Atmel Corporation
* Wenyou.Yang <wenyou.yang@atmel.com>
*/
#ifndef __AT91_PMC_H__
#define __AT91_PMC_H__
#include <regmap.h>
struct pmc_platdata {
struct at91_pmc *reg_base;
struct regmap *regmap_sfr;
};
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