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
446 B
C
22 lines
446 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* PKUnity PS2 Controller Registers
|
|
*/
|
|
/*
|
|
* the same as I8042_DATA_REG PS2_DATA
|
|
*/
|
|
#define PS2_DATA (PKUNITY_PS2_BASE + 0x0060)
|
|
/*
|
|
* the same as I8042_COMMAND_REG PS2_COMMAND
|
|
*/
|
|
#define PS2_COMMAND (PKUNITY_PS2_BASE + 0x0064)
|
|
/*
|
|
* the same as I8042_STATUS_REG PS2_STATUS
|
|
*/
|
|
#define PS2_STATUS (PKUNITY_PS2_BASE + 0x0064)
|
|
/*
|
|
* counter reg PS2_CNT
|
|
*/
|
|
#define PS2_CNT (PKUNITY_PS2_BASE + 0x0068)
|
|
|