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)
52 lines
1.0 KiB
C
52 lines
1.0 KiB
C
/*
|
|
* Copyright (C) 2015 MediaTek Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __BWL_PLATFORM_H__
|
|
#define __BWL_PLATFORM_H__
|
|
|
|
enum BWL_ENV {
|
|
BWL_ENV_LPDDR4_2CH,
|
|
BWL_ENV_LPDDR3_1CH,
|
|
BWL_ENV_MAX
|
|
};
|
|
|
|
enum BWL_SCN {
|
|
BWL_SCN_ICFP,
|
|
BWL_SCN_VPWFD,
|
|
BWL_SCN_VR4K,
|
|
BWL_SCN_UI,
|
|
BWL_SCN_MAX
|
|
};
|
|
|
|
enum BWL_CEN_REG {
|
|
BWL_CEN_0x00000100,
|
|
BWL_CEN_0x00000108,
|
|
BWL_CEN_0x00000110,
|
|
BWL_CEN_0x00000118,
|
|
BWL_CEN_0x00000120,
|
|
BWL_CEN_0x00000124,
|
|
BWL_CEN_0x00000128,
|
|
BWL_CEN_0x00000130,
|
|
BWL_CEN_0x00000138,
|
|
BWL_CEN_MAX
|
|
};
|
|
|
|
enum BWL_CHN_REG {
|
|
BWL_CHN_0x0000015c,
|
|
BWL_CHN_MAX
|
|
};
|
|
|
|
#define SCN_DEFAULT BWL_SCN_UI
|
|
|
|
#endif /* __BWL_PLATFORM_H__ */
|