Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
483 B
C
27 lines
483 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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
|