Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp501734pxx; Thu, 29 Oct 2020 07:40:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzVY+tyFV1L5ACcih02EThvSTPTMjpJOzxlLJ6oMx1yDQGpbBDGg2lh5nAmgeHHvrwQt2d X-Received: by 2002:a17:906:a104:: with SMTP id t4mr4084349ejy.399.1603982448313; Thu, 29 Oct 2020 07:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603982448; cv=none; d=google.com; s=arc-20160816; b=o2J8Zbl9cb7bpaWdPYEOyw0ZzecDP40+KUuHtWXWffd74uuIidMgtFEzdJrD7FB32U xXKvNES6/sfysdWYyWuwFdVPQMfGNF9t+oPoEDdc7gShdgFIhPxu9uxcG4+/bw4xs/xu 0uIZqh7qTf/+G5A9I2zr+NkybfU3z7nWWugnwlNui6iTTaYxJZB7CW7jDrKOoE7kIY5r L/DbppNsk2D1KF0HZSoOBtCztWDtCaTzpLyOdSWXOhYuBDT7Yq61iy0tQM5V0/Dm0m41 ZA598X/POWgvikcUCvf1CW7d478wmKxkxdVWbGHE6EhjCFHYmvJzw83WbCwHWwhjWs5v x7Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=kXRaeNvaCmQH2VeUBzDabkr/fRY1SIHCsnhlrezOIP4=; b=WKnH4ZiLZe70NVvUzrAN8qbQ4tYN3ZbEPM0qevB6Z1b3oe69+iC8nqQR6skI6cBro1 1Le9eUsT55IwhA+ZBAzaAJ6RqfuaMEb71iPV/6jEVAWLBlEcCAlz2lGxqfmQFbch/tlu XMNGiXf4lDr9CxubDrC1J37LWpljIfhSG7C+YGvVF8UG430APEAfRj5Rz7950ihiaZA6 YjtSPUJjfDru4m+pVbCIcanvkFquYRkx+RxbcuGlWW6O5wEAW+O2lfY3uzPf+n1gx9J4 pUjdf8bPK20VZLpvQ/P7oLxcxTP5FtM9MKjBOtpn+a8nvtNwYtcSM1qUPkEg3Jbw/qdl g2FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=xMcf3Hkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si1227072edy.403.2020.10.29.07.40.25; Thu, 29 Oct 2020 07:40:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=xMcf3Hkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbgJ2OhC (ORCPT + 99 others); Thu, 29 Oct 2020 10:37:02 -0400 Received: from mail-03.mail-europe.com ([91.134.188.129]:39866 "EHLO mail-03.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbgJ2OhB (ORCPT ); Thu, 29 Oct 2020 10:37:01 -0400 Date: Thu, 29 Oct 2020 14:36:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1603982218; bh=kXRaeNvaCmQH2VeUBzDabkr/fRY1SIHCsnhlrezOIP4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=xMcf3HkfGEjU8Xvf7JJCjEXO0w1zUcqbBYZRaJVfJn6oMKF4vUSUc6ldi50W4twFA cjjIHv0FZApDZ2G/XZi2+/qfp3pESK89HwC6U13UwL3qTOCWy/FXk1QaqMSpfk8SXf jBUk3injLDg4q0qLeoYQqucX8YkSKzUhDL/1xLyg= To: "gregkh@linuxfoundation.org" From: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Cc: "hj2.im@samsung.com" , "manivannan.sadhasivam@linaro.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: <20201029135415.GA3470996@kroah.com> References: <20201029132747epcms1p8fae559dff47bf0eebdcc9f94efd9a1bf@epcms1p8> <20201029135415.GA3470996@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > [...] > > > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devi= cetable.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/li= nux/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= @lenovo.com/ > > Is that merged? If not, it's fine as-is until then, and someone has to > pick to go first :) It is not, to my knowledge. Nonetheless I figured the information may be re= levant. Regards, Barnab=C3=A1s P=C5=91cze