Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef LINUX_SOC_DOVE_PMU_H
0003 #define LINUX_SOC_DOVE_PMU_H
0004 
0005 #include <linux/types.h>
0006 
0007 struct dove_pmu_domain_initdata {
0008     u32 pwr_mask;
0009     u32 rst_mask;
0010     u32 iso_mask;
0011     const char *name;
0012 };
0013 
0014 struct dove_pmu_initdata {
0015     void __iomem *pmc_base;
0016     void __iomem *pmu_base;
0017     int irq;
0018     int irq_domain_start;
0019     const struct dove_pmu_domain_initdata *domains;
0020 };
0021 
0022 int dove_init_pmu_legacy(const struct dove_pmu_initdata *);
0023 
0024 int dove_init_pmu(void);
0025 
0026 #endif