Files
kernel_common_drivers/include/dt-bindings/input/input.h
T
Wanwei Jiang 3d65944517 t3: bring up to console [1/1]
PD#SWPL-93002

Problem:
bring up to console

Solution:
1. copy dts related files from kernel 5.4
2. modify the file style to meet the submission requirements
3. modify the CPU register to solve the problem of stuck cpuidle
4. porting clk driver
5. porting pinctrl driver
6. modify the reg of aucpu in dts to solve kernel panic
7. modify secmon dts to solve serror kernel panic

Verify:
t3

Change-Id: Idf318911e58fdb059bbae1035d390021326870c2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-09-07 20:06:44 +08:00

15 lines
366 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef _DT_BINDINGS_INPUT_INPUT_H
#define _DT_BINDINGS_INPUT_INPUT_H
#include "linux-event-codes.h"
#define MATRIX_KEY(row, col, code) \
((((row) & 0xFF) << 24) | (((col) & 0xFF) << 16) | ((code) & 0xFFFF))
#endif /* _DT_BINDINGS_INPUT_INPUT_H */