kernel_samsung_a34x-permissive/drivers/misc/mediatek/dfd/mt6885/plat_dfd.c
2024-04-28 15:49:01 +02:00

23 lines
313 B
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2019 MediaTek Inc.
*/
unsigned int check_dfd_support(void)
{
return 1;
}
unsigned int dfd_infra_base(void)
{
return 0x34;
}
/* DFD_V30_BASE_ADDR_IN_INFRA
* bit[10:0] : AP address bit[34:24]
*/
unsigned int dfd_ap_addr_offset(void)
{
return 24;
}