Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp459022pxx; Thu, 29 Oct 2020 06:44:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjIRcFJBKFAOI0nFPzGE/2ffgLGxZDfAkTO1KZRIc7pJhQTZaawiLsxFkWSszXTyrKdfud X-Received: by 2002:a50:f190:: with SMTP id x16mr2814419edl.292.1603979073519; Thu, 29 Oct 2020 06:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603979073; cv=none; d=google.com; s=arc-20160816; b=0xOIszOf8mBG6C4do8RLfytvkDBD6mIOma3gyMwhWu1MWnKyapfKa79l6gjQk46856 vDWRlwE2/NG1t4lJY7toYJUdh+39j3wcprxprVE8tIxpujIbsl//mldAV0N2jiDxJYJn vd/Bbtygcmy0eOpBqtvUz7uusbF22/G415PYZOk8Y1WaZIaRDBKDdFcrky7I13L4KiuB f1EL6qVLxlMZe4Zq6bdLRO5+a3cV/H8CvNY+CqkW318ZcsgZqMJgSghgSHX+RQ0iWc64 BPaTKOLG5ZbKnljPI5z9gpRqRZ0Gf0/Kfv9CkOI9/8Y4vr8cTosrz49BLMbiakKQVcxR CWsw== 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=NRjt3oyVql1aETw3JurQIeYqGdg12DIrD4j2L8YgllM=; b=EYo82i7/HpspV+/mPhCKIaxb0SwkQFXksZHAIWKco7v13nVEfWCFaX+C7QPmmP0Yiq MrF302lX8WYasSgqZREiFaPiLS8KllsRKVSzLaqaDNV7DZgp0iYKE8hK4JDjJIPzCy7p kCVCp3Py8WZ/rLAyjtLQZL7c37HkBkhoJ9fj/LTlMbksUGwKtr1x5HMNJ0KszEMOBRrR mS7eaLolgFJUbQxYKc4oEYZJ6aL/cZ8i5vFKOjcm9AU/+gV+UiH41IjItwGjY102GZi0 UsWPoX1S4V+tDwFjy1m//Da3xob9K9d9F+6gJP+J/LFIPVYWj3ov184vf5eYKJV1Xr6U i98A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=M2+MjBGX; 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 bz26si1861456ejc.635.2020.10.29.06.44.09; Thu, 29 Oct 2020 06:44:33 -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=M2+MjBGX; 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 S1727558AbgJ2Nmk (ORCPT + 99 others); Thu, 29 Oct 2020 09:42:40 -0400 Received: from mail-02.mail-europe.com ([51.89.119.103]:43910 "EHLO mail-02.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727513AbgJ2Nmf (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 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_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