From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EB8CC55179 for ; Thu, 29 Oct 2020 13:42:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9825120759 for ; Thu, 29 Oct 2020 13:42:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="M2+MjBGX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727247AbgJ2Nmi (ORCPT ); Thu, 29 Oct 2020 09:42:38 -0400 Received: from mail-03.mail-europe.com ([91.134.188.129]:38074 "EHLO mail-03.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbgJ2Nmf (ORCPT ); Thu, 29 Oct 2020 09:42:35 -0400 Date: Thu, 29 Oct 2020 13:41:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1603978920; bh=NRjt3oyVql1aETw3JurQIeYqGdg12DIrD4j2L8YgllM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=M2+MjBGXipaoJ4nt1LdgocUrR4x5WGYmH9ASlTHje7Xf5aCPTfk3Fhpx1c3kQcfUs SWo4WtLxp/GtX/cnai+Acap4pb+exM7C+L2ihTnrnL2tL4+VZznYyBZ3kJWCieTzY2 hHAX++XcTIJ2ONxoQ1ZmpYmXgRk8+cXYyT83i9+E= To: "hj2.im@samsung.com" From: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Cc: "manivannan.sadhasivam@linaro.org" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "linux-input@vger.kernel.org" , "rydberg@bitmath.org" , Jungrae Kim Reply-To: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Subject: Re: [PATCH v2] input: add 2 kind of switch Message-ID: In-Reply-To: <20201029132747epcms1p8fae559dff47bf0eebdcc9f94efd9a1bf@epcms1p8> References: <20201029132747epcms1p8fae559dff47bf0eebdcc9f94efd9a1bf@epcms1p8> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi > [...] > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_deviceta= ble.h > index 5b08a473cdba..897f5a3e7721 100644 > --- a/include/linux/mod_devicetable.h > +++ b/include/linux/mod_devicetable.h > @@ -320,7 +320,7 @@ struct pcmcia_device_id { > #define INPUT_DEVICE_ID_LED_MAX=09=090x0f > #define INPUT_DEVICE_ID_SND_MAX=09=090x07 > #define INPUT_DEVICE_ID_FF_MAX=09=090x7f > -#define INPUT_DEVICE_ID_SW_MAX=09=090x10 > +#define INPUT_DEVICE_ID_SW_MAX=09=090x12 > #define INPUT_DEVICE_ID_PROP_MAX=090x1f > > #define INPUT_DEVICE_ID_MATCH_BUS=091 > diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/= input-event-codes.h > index 0c2e27d28e0a..8ca2acee1f92 100644 > --- a/include/uapi/linux/input-event-codes.h > +++ b/include/uapi/linux/input-event-codes.h > @@ -889,7 +889,9 @@ > #define SW_MUTE_DEVICE=09=090x0e /* set =3D device disabled */ > #define SW_PEN_INSERTED=09=090x0f /* set =3D pen inserted */ > #define SW_MACHINE_COVER=090x10 /* set =3D cover closed */ > -#define SW_MAX=09=09=090x10 > +#define SW_COVER_ATTACHED=090x11 /* set =3D cover attached */ > +#define SW_EXT_PEN_ATTACHED=090x12 /* set =3D external pen attached */ > +#define SW_MAX=09=09=090x12 > #define SW_CNT=09=09=09(SW_MAX+1) > [...] This part of the patch conflicts with another one: https://lore.kernel.org/linux-input/20201026144512.621479-1-markpearson@len= ovo.com/ Regards, Barnab=C3=A1s P=C5=91cze