
On 11/03/2022 23:02, Jagan Teki wrote:
On Fri, Dec 24, 2021 at 7:14 PM Alper Nebi Yasak alpernebiyasak@gmail.com wrote:
[...] The rk3399-gru-kevin devicetree has an unknown event code reference which has to be defined, set it to the Linux counterpart.
[...] diff --git a/include/dt-bindings/input/linux-event-codes.h b/include/dt-bindings/input/linux-event-codes.h index 87cf351bab03..331458c0e710 100644 --- a/include/dt-bindings/input/linux-event-codes.h +++ b/include/dt-bindings/input/linux-event-codes.h @@ -749,7 +749,8 @@ #define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ #define SW_LINEIN_INSERT 0x0d /* set = inserted */ #define SW_MUTE_DEVICE 0x0e /* set = device disabled */ -#define SW_MAX 0x0f +#define SW_PEN_INSERTED 0x0f /* set = pen inserted */ +#define SW_MAX 0x10
This change is not related to the actual patch - remove it from here.
The definition's necessary to build rk3399-gru-kevin.dtb. But yes, it'd be better to sync linux-event-codes.h from Linux in a separate patch.