2 * drivers/clk/at91/pmc.h
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
16 #include <linux/irqdomain.h>
17 #include <linux/regmap.h>
18 #include <linux/spinlock.h>
20 extern spinlock_t pmc_pcr_lock;
27 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,}
29 int of_at91_get_clk_range(struct device_node *np, const char *propname,
30 struct clk_range *range);
33 void pmc_register_id(u8 id);
34 void pmc_register_pck(u8 pck);
36 static inline void pmc_register_id(u8 id) {}
37 static inline void pmc_register_pck(u8 pck) {}