Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1887637rwd; Sun, 21 May 2023 08:14:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Xsmz8y5b3QJw2BCoXarS7GT7ZFRrGOOGIOeX3igFd6pW69DzVByfjOxbWhPb3vGVGX3OX X-Received: by 2002:a17:90a:c082:b0:255:6174:1588 with SMTP id o2-20020a17090ac08200b0025561741588mr1020918pjs.42.1684682090327; Sun, 21 May 2023 08:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684682090; cv=none; d=google.com; s=arc-20160816; b=Fz2kXC315bhNx8sEkwqfxASMqS5WGQqmmx4k5DU/xVLiHchjlhb791rYYYwYjjgdlh QUiJZZ1xIpUPhyrnzNk3hHvb6+Zjg2MKtVDNx5Cqu46Kug6Dy7oFSC/FipQDH0VBAGuH Lz5jRK8u7Dujy5b1lgZHgoF8GPJ/DEjlZ2YQ0r2ET2gLWHolLrBgvCauOmuon9t4dolG UXokTtiEQQ4h5CVXZWYBxe+QcrIlrF4Ex1rJ23fFGpfJ4aQbCAfao8LFmZZN0rh/7V/4 3wIl6oEnmHPhOrlYgyMv219l+OT3eMulZRg110rBq1VMrHZPG8Y+9xzjccIRUh5iRFmV WTAw== 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:date:subject:cc:to:from :dkim-signature; bh=+Meezc/i9bLiGiIpOa43/g44ICH2Bh3hwWynJC0Ok80=; b=F+Aevn6JQ+yI52fyeOTnijSUz3fG0vv9ah8RTp9s3ABQs8HKXXPGF99jl9eMN5yTFK E9AK+lxlhjrGhm0IpRh3OxlaOxFdLyVTbucYP25qTpiRLVL9p29nnLivjErJlYZBdEYc hJzsizdryBYxG3QhiM653SsWSCZM9FYIp6tDWYcM57wIxlUrRspc9a42z9y4r/eLAW7H CiT86s5lBFDf4+omekgWU11jIZEoYm/DUz3IQtRTcdHT9nAnIQjS1orNo6kgXN60pTLP y8CzJwDhWGaeHcpX2ItdpDtgDRGV7TnRaRq54O+vS6GaAD1JSYs91TAjXEnuPYxXtqi/ G5+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=lSlJlW60; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s2-20020a17090a440200b00250db0f5689si3194987pjg.179.2023.05.21.08.14.38; Sun, 21 May 2023 08:14:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=lSlJlW60; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjEUPMx (ORCPT + 99 others); Sun, 21 May 2023 11:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230375AbjEUPDZ (ORCPT ); Sun, 21 May 2023 11:03:25 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A333BE4; Sun, 21 May 2023 07:59:37 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9659e9bbff5so944234966b.1; Sun, 21 May 2023 07:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684681176; x=1687273176; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+Meezc/i9bLiGiIpOa43/g44ICH2Bh3hwWynJC0Ok80=; b=lSlJlW60ZRaf/6KeD0XwAFYnxgleT+RXDUr6xXVG8Rhe2Ts0ReX1bcm6BDhHGJVK1n SV4USFwcEgQm7DEAjrvlnM2BfB3kplyLiiCVwB367oPsEdaSHLoMV43/IYHbx98809lm tlhZTiB7yRgC+Crt6efZ0Ju3Bk7APRfrbuwGILEY7oH7rCmeqznpmUF6wz+lE4tsVjhz 4qRsvnZ3dGv2RtScFxS95yDRa5A3643XJYEEHh5km6gIXHUvJxKKsQBEsQyGftT8KJIq EsS+G9tfUkyaqjYQfaSTbJvzVbD65PifiE+59Lpsp1bGQIUW+avfmvr2A6ft92JOPTdB Pl0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684681176; x=1687273176; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+Meezc/i9bLiGiIpOa43/g44ICH2Bh3hwWynJC0Ok80=; b=McGqEnltdAXD+td6m4n69DN1VQWkbQgw/8BvwgPpqjdgd8ZJi1pfhJMHniQtMUTizX dkoZINFwDwEMkSlUe7d+VWjNPDHyerv6ndNS+z360NM03UmXLPHTUC4KeXuczkV3UE0G +waa/UBjV1aErndkcWiKddvn/MRyW47RXEt1hoi3RPeRcRFnKC/6+o7u40n3vGGcyfD3 pWPbBDm48gqLaeEcIOrz2AYNkEbZw8IQiN4wZZeZchS7ofEKEKL98EZWe3ceETJjH1V0 SaOP8sDHi+wny1TRT2oSujetuMaL47YY2m0WUVB5kO0iTafTksaeQbP8YYl3asvcd7Ot z+UA== X-Gm-Message-State: AC+VfDzKMD/SoPprudyjbkAGvs7RDGsZ5vg/uyUIJV7Nc4Wtr55L5L+u 6VO2iQ6eGPf/TqGlQAJnTNbWApffefU= X-Received: by 2002:a17:907:2d90:b0:96f:a935:8998 with SMTP id gt16-20020a1709072d9000b0096fa9358998mr4314822ejc.39.1684681175878; Sun, 21 May 2023 07:59:35 -0700 (PDT) Received: from localhost.my.domain (83.11.222.198.ipv4.supernova.orange.pl. [83.11.222.198]) by smtp.gmail.com with ESMTPSA id f3-20020a056402160300b0050bca43ff55sm1912225edv.68.2023.05.21.07.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 May 2023 07:59:35 -0700 (PDT) From: Artur Weber To: Dmitry Torokhov , Rob Herring Cc: Krzysztof Kozlowski , Linus Walleij , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Artur Weber Subject: [PATCH 1/2] dt-bindings: mms114: Add linux,keycodes property for touch keys Date: Sun, 21 May 2023 16:58:42 +0200 Message-Id: <20230521145843.19489-2-aweber.kernel@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230521145843.19489-1-aweber.kernel@gmail.com> References: <20230521145843.19489-1-aweber.kernel@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MELFAS MMS114 and similar touchscreens have support for touch keys. Add the linux,keycodes property which can be used to set up the keycodes for the touch keys. Signed-off-by: Artur Weber --- .../devicetree/bindings/input/touchscreen/melfas,mms114.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml index fdd02898e249..07f9dd6b1c9c 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml @@ -52,6 +52,11 @@ properties: touchscreen-swapped-x-y: true touchscreen-max-pressure: true + linux,keycodes: + description: Keycodes for the touch keys + minItems: 1 + maxItems: 15 + additionalProperties: false required: -- 2.40.1