kernel-brax3-ubuntu-touch/drivers/misc/mediatek/scp/rv/scp_ipi_pin.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

27 lines
543 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 MediaTek Inc.
*/
#ifndef _SCP_IPI_PIN_H_
#define _SCP_IPI_PIN_H_
#include <linux/soc/mediatek/mtk_tinysys_ipi.h>
#include "scp.h"
/* scp awake timeout count definition */
#define SCP_AWAKE_TIMEOUT 100000
/* this is only for ipi to distinguish core0 and core1 */
enum {
SCP_CORE0_ID = 0,
SCP_CORE1_ID = 1,
};
extern char *core_ids[SCP_CORE_TOTAL];
extern void scp_reset_awake_counts(void);
extern int scp_clr_spm_reg(void *unused);
extern int scp_awake_counts[];
#endif