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)
22 lines
586 B
C
22 lines
586 B
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2010-2013
|
|
* Author: Rickard Andersson <rickard.andersson@stericsson.com> for
|
|
* ST-Ericsson.
|
|
* Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro.
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*
|
|
*/
|
|
|
|
#ifndef ARM_UX500_PM_H
|
|
#define ARM_UX500_PM_H
|
|
|
|
int prcmu_gic_decouple(void);
|
|
int prcmu_gic_recouple(void);
|
|
bool prcmu_gic_pending_irq(void);
|
|
bool prcmu_pending_irq(void);
|
|
bool prcmu_is_cpu_in_wfi(int cpu);
|
|
int prcmu_copy_gic_settings(void);
|
|
void ux500_pm_init(u32 phy_base, u32 size);
|
|
|
|
#endif /* ARM_UX500_PM_H */
|