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)
17 lines
475 B
C
17 lines
475 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Lasat 100 */
|
|
#define PVC_REG_100 KSEG1ADDR(0x1c820000)
|
|
#define PVC_DATA_SHIFT_100 0
|
|
#define PVC_DATA_M_100 0xFF
|
|
#define PVC_E_100 (1 << 8)
|
|
#define PVC_RW_100 (1 << 9)
|
|
#define PVC_RS_100 (1 << 10)
|
|
|
|
/* Lasat 200 */
|
|
#define PVC_REG_200 KSEG1ADDR(0x11000000)
|
|
#define PVC_DATA_SHIFT_200 24
|
|
#define PVC_DATA_M_200 (0xFF << PVC_DATA_SHIFT_200)
|
|
#define PVC_E_200 (1 << 16)
|
|
#define PVC_RW_200 (1 << 17)
|
|
#define PVC_RS_200 (1 << 18)
|