Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1755100rdb; Sat, 23 Dec 2023 23:44:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6j5VcfsI4rOi/+cl8GbDed0gi3Vt+PrPlw/6VvO2ANCaSwqohx2/Juvjj4Rw5BYVCJHEM X-Received: by 2002:a05:622a:1306:b0:425:4043:1db1 with SMTP id v6-20020a05622a130600b0042540431db1mr6597881qtk.132.1703403882313; Sat, 23 Dec 2023 23:44:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703403882; cv=none; d=google.com; s=arc-20160816; b=vPcAveZ9JRqkW72UPNWqBfGdV3sw846EmC62WX/PPphMOv2z4XNL+3VKyeUsW6WDch s8hAQmRYttBwPDyNAN0CwMz8D4THYRRHtGuXF8DfnqGzKSrCNepfZJLVPOOkbJgzK3sG NOsGlKfHJ1y230ksI+WzIp9e1QL0EtifFIMmG/VrKu0at1pDq3FHNAgyu0srHEONa8Wh 8RPhnKVOANjJ2cMfqB+hM3/+6JOhrpgVoQVG0bpH4BhYDrEZxYnO9Jq4RAFW8+yuu50O yaZrBO5R50olcYbg7yB+toMHwlTaJlsUTZqVzMmR0cP/8OlZWOGIhZ/z9kSb19aL4Chs wSXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BV6l+VzR8Otb6xxnCm5UaMRDcIu9it9fiR3os5Qmr84=; fh=KaB3/f82XbilXgyDWJsIQqEQEt2tsY367+w04CLj4Bk=; b=xhdk+6tthoSDh3L7RH3Thay1NihQn5Rb5O8O2u4WVtwdJqjJu5Xzl2TR5oWQS2ATrh NZoAMfkzC2rZnGDZpQcF14vZLyMve6XPR7f37B/JxOSyf/F3SJW/5bEO3ARjPdzUBCUN CdUreauH8fuLqh/XnOfGkUhJPMDMJvVCM2/6CeLRZ9Iy0EXULPnJOfWeYKU0Cn6mtnjt r9sQlX3EIaaqpmfyxC7cJDLCrHF69ukNMUy3vLk7dVsupkXGgGk+A1sie3TK6eZDT2BM bc9c7R1Y9H+KnLTnrnbYnthGZbXN78haxj7IPevQptdU+FZh4Xg7aYd8xeJWqtq0VMNO 3weA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QHCIcONJ; spf=pass (google.com: domain of linux-kernel+bounces-10651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z8-20020a05622a060800b004277f14a28bsi8285167qta.339.2023.12.23.23.44.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 23:44:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QHCIcONJ; spf=pass (google.com: domain of linux-kernel+bounces-10651-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AF2431C20DA1 for ; Sun, 24 Dec 2023 07:44:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E17420FA; Sun, 24 Dec 2023 07:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QHCIcONJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AF461C14; Sun, 24 Dec 2023 07:44:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f180.google.com with SMTP id e9e14a558f8ab-35ffb15244dso976465ab.1; Sat, 23 Dec 2023 23:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703403872; x=1704008672; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BV6l+VzR8Otb6xxnCm5UaMRDcIu9it9fiR3os5Qmr84=; b=QHCIcONJkYXEKw3IjaDeBRSGPTPNyDZXkUVdt6Ve32F0XufrSE86B8gX0hNOhAJSSZ dxougsds3Tg2C15JX5wceJGS8CQBG2IT6wXTX4BAYKcFmecyqA+h3L/d1CJoKs5mTQUu 2Ep26vvi4qdubKC3NjRD2J6xr/d8LIEj3nB0xu41Pn2+1i6ZI8FftpJWPurQa5q4CGxW bN7by3j1OqVhnDml02RPju28Brvh2JDU0R1EsMdKobzF5ZZDdf+HRwZLlcASLZ78hTx9 +jG2eTXAnK1G2nJZe1xNpU6xFcSh2uTJRNd0tlD0o2j8ejKX/JLeN9NYfTexxG6ZRGrH yW6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703403872; x=1704008672; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BV6l+VzR8Otb6xxnCm5UaMRDcIu9it9fiR3os5Qmr84=; b=VdwVqVWXVTc4uchqVs9XZdSgskooJJYqxfWTlcLXmP4FONfhbUTNLs6SfhYsqa6DZa l+vMPejeIg1u0uCWIrT4old7uXfo6WGfNRyipUo0MxsuH4rvcV8OZwYQOCg+3vIKYddH Qy2FkX4qgRcWp/rB2gMk6zjjGlRutrE1ur1vDL1siwpT+jF3dWjjv5nZxmWFvaTE4/p+ WcaSwxziirQjm11lzK8a5qLAS5oDQvMXDxIP4NQ3VrxQiQTPMTBNOBVNCsw/riK/PSE/ YdLA9aet2g6z/ep4YVZs8gin7u7EqbgwBRAl+FUmMaUrp+p5ZA1rq4Tv/IoHGaDUjVl/ sTKw== X-Gm-Message-State: AOJu0YxvSs3rm7tnM6ymTc53GoYKqGUPrMp29NMLGXOICFgjNO+lrk6i jT+BHlfgUq3D7CLFyp09Hvk= X-Received: by 2002:a05:6e02:1581:b0:35f:ae07:53f8 with SMTP id m1-20020a056e02158100b0035fae0753f8mr5753177ilu.116.1703403872210; Sat, 23 Dec 2023 23:44:32 -0800 (PST) Received: from google.com ([2620:15c:9d:2:765c:936e:ea43:6046]) by smtp.gmail.com with ESMTPSA id d9-20020a62f809000000b006d9aa51f0a3sm1653569pfh.171.2023.12.23.23.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 23:44:31 -0800 (PST) Date: Sat, 23 Dec 2023 23:44:28 -0800 From: Dmitry Torokhov To: Werner Sembach Cc: Christoffer Sandberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: SoC button array: add mapping for airplane mode button Message-ID: References: <20231215171718.80229-1-wse@tuxedocomputers.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231215171718.80229-1-wse@tuxedocomputers.com> On Fri, Dec 15, 2023 at 06:17:18PM +0100, Werner Sembach wrote: > From: Christoffer Sandberg > > This add a mapping for the airplane mode button on the TUXEDO Pulse Gen3. > > While it is physically a key it behaves more like a switch, sending a key > down on first press and a key up on 2nd press. Therefor the switch event is > used here. Besides this behaviour it uses the HID usage-id 0xc6 (Wireless > Radio Button) and not 0xc8 (Wireless Radio Slider Switch), but since > neither 0xc6 nor 0xc8 are currently implemented at all in soc_button_array > this not to standard behaviour is not put behind a quirk for the moment. > > Signed-off-by: Christoffer Sandberg > Signed-off-by: Werner Sembach Applied, thank you. -- Dmitry