1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_SOC_DOVE_PMU_H
3 #define LINUX_SOC_DOVE_PMU_H
4
5 #include <linux/types.h>
6
7 struct dove_pmu_domain_initdata {
8 u32 pwr_mask;
9 u32 rst_mask;
10 u32 iso_mask;
11 const char *name;
12 };
13
14 struct dove_pmu_initdata {
15 void __iomem *pmc_base;
16 void __iomem *pmu_base;
17 int irq;
18 int irq_domain_start;
19 const struct dove_pmu_domain_initdata *domains;
20 };
21
22 int dove_init_pmu_legacy(const struct dove_pmu_initdata *);
23
24 int dove_init_pmu(void);
25
26 #endif