mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 00:07:22 +07:00
67098119ab
Add support for legacy non-DT Dove to the PMU driver, so that we can transition the legacy support over. [gregory.clement@free-electrons.com: removed pm_genpd_poweroff_unused] Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
26 lines
444 B
C
26 lines
444 B
C
#ifndef LINUX_SOC_DOVE_PMU_H
|
|
#define LINUX_SOC_DOVE_PMU_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct dove_pmu_domain_initdata {
|
|
u32 pwr_mask;
|
|
u32 rst_mask;
|
|
u32 iso_mask;
|
|
const char *name;
|
|
};
|
|
|
|
struct dove_pmu_initdata {
|
|
void __iomem *pmc_base;
|
|
void __iomem *pmu_base;
|
|
int irq;
|
|
int irq_domain_start;
|
|
const struct dove_pmu_domain_initdata *domains;
|
|
};
|
|
|
|
int dove_init_pmu_legacy(const struct dove_pmu_initdata *);
|
|
|
|
int dove_init_pmu(void);
|
|
|
|
#endif
|