From patchwork Fri Sep 16 04:31:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff LaBundy X-Patchwork-Id: 606614 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4CFEECAAD8 for ; Fri, 16 Sep 2022 04:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbiIPEbO (ORCPT ); Fri, 16 Sep 2022 00:31:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiIPEbM (ORCPT ); Fri, 16 Sep 2022 00:31:12 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2067.outbound.protection.outlook.com [40.107.96.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA82558DE; Thu, 15 Sep 2022 21:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UKoVBASTy3w6kLJVCscnwtsd8G4S8BHUOaiI5H1C6zmImg+9LEfefu8w44EJ3PsgOMxEAgi8NFdjnYcydP9EmUm/ywURW4D/xNKt6odHuTFfhZ+TLCTS6YoFSCkriPEqLP8+WhSXWFeayn/8smjqfjSpJip/h2q8JjGH4iqRrgnN2lsgBB20iPF+0XYDnjbZqovdi1aW1Z/8CkTdvDhe9RSpYW+tmJ4fxvCuIQU+Rig1Oc4ssH8lKeSuApFijmQT+LCtpLy+GZMc4s/uQfUtRHtHGXO0uk5EFpagMAC2QmdJ4VCFsqLTk5LWQfCTXNE5T9Td1yk65u76vDdGSASakw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=abBegcGIFaLtlyVgs8j825XJFEPa46jo9cdiDRXDLT0=; b=S+iJRdP5a2eade2AFk/HO0670u3NmRxWG03ML3hccm7ioLcduZrSmOOrQD5MZqcxBd9pxiGcFNaZ3IBWGK4yC1cXhbLmh3+QjaMHcRvhKCb9DmL1ao0Fh57GBtRnnS1d2d7Ds7FLJkmFcuzMqtzOf3Ly7oIbgdKYN17AR+cldONEf0K8r1q34QCWPlYoLBtY5bHu2IaWCgQuPBwmSYMyxCzQgm8y0lwuQPrZlRkPq5vbsL8bJFwTQ1rsNuBMw3lvE2VsNN2Kvz4gGfC8xYOpVQs6M7yfYagEAejyvewlt2nJRB9R7T8cph8/76D/Ldx2Ii5uXUMi7U7TBYzYRUWzpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labundy.com; dmarc=pass action=none header.from=labundy.com; dkim=pass header.d=labundy.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG5796793.onmicrosoft.com; s=selector1-NETORG5796793-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=abBegcGIFaLtlyVgs8j825XJFEPa46jo9cdiDRXDLT0=; b=U4BQdVXT3QBAVjvvFXSigY8RRDgXsgLO9BArtnNRlIOp8/MfbpHz1pLbGj1nP1yj3ZVCC5rQlRfnmoZhbqyU1O/KgHHdnh9x6fx2SOMBHQnfCb1HpCOvXhMBHNbqNXicVdVSQyMla8QNjikrfWjGOesZL/WvQAiBQOqpd77XgJ4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=labundy.com; Received: from DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) by PH0PR08MB7210.namprd08.prod.outlook.com (2603:10b6:510:94::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.16; Fri, 16 Sep 2022 04:31:09 +0000 Received: from DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba]) by DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba%6]) with mapi id 15.20.5632.016; Fri, 16 Sep 2022 04:31:09 +0000 Date: Thu, 15 Sep 2022 23:31:07 -0500 From: Jeff LaBundy To: dmitry.torokhov@gmail.com, robh+dt@kernel.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, jeff@labundy.com Subject: [PATCH v2 2/7] dt-bindings: input: iqs7222: Reduce 'linux,code' to optional Message-ID: Content-Disposition: inline In-Reply-To: References: X-ClientProxiedBy: SA0PR11CA0022.namprd11.prod.outlook.com (2603:10b6:806:d3::27) To DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0801MB3767:EE_|PH0PR08MB7210:EE_ X-MS-Office365-Filtering-Correlation-Id: 70e2a21d-e04d-4345-fbd6-08da979c476a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XaE+zk7D0618k4cBwUeQVDHO2roEUPPOIYTA+BznjrzYe0twT1fsvsImTbJbRfWIjQTH8F7i3rAf51vcu3V/QyQCjN13FgAAIgCHIqjkgH2kZCV0468JhYGNbZkmoENIbHiq2jYcvbLnk2ed/2+IAxq26ef3ims6LdVk7ikB+ThIU4K4w0NqwxlNiLeAIPjl48AzBUqD5PApbWliXL9zS6OwZC8rPQka8MNh9frJLhsy+fqGDxgMixuFb5KSfsFVRQAsAk/5u1wvEjes1dNkvrc9jRxlAiMZUMthEEuhzurthpEhCONTM4q3+0/+VwPHhtcpOywPFUJAls3zqWosOEsuC+QD4wPTbIqN/sjfdIRD/jqne7pQqIB4LK1/Uo3KjPwp71RCu3sSjesN3bA+0fEK+Yjy7jMqx3HHRWtDkW/fStXycg2FQOgB/PYoD73sk2n4ZCxAeZhEdUa7sHb7lu1aRQuB5skrEDa/GfR06qZ9a81AMw+teo0zKOWNjxepkcZIgoGUY0E3oCUHibXq3aLnhNlkyHKVk4bhlaw7EoL5nOf+c+73vOq16hzFr2y0jV4ZOz4fNvYrDacMh1Sb/J+mJAhAm1Wskybu93SDNuJ09w8GUHlfdvEM0QhfvUn03wS7Illfv+Dh3idkZyxHh5OGCP/2wGwSogR3QJaTXpGVhDCpLfovKl5l9PpLT/imEMRw4XmdnR8NblbD8IIb5w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR0801MB3767.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(7916004)(346002)(366004)(376002)(136003)(39830400003)(396003)(451199015)(86362001)(33716001)(6486002)(316002)(38100700002)(478600001)(6506007)(107886003)(8676002)(9686003)(26005)(6512007)(66946007)(66556008)(66476007)(4326008)(8936002)(41300700001)(2906002)(186003)(5660300002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XTk/b/terQBv28wcpQZ4nILfJI91LexggvrzzvqxYCj6tVHyEmZSpV/yefRXXaG8uJxHorMRTq3gnD5TN7xKLdsNUquLOKKtKSKrklwi/x2dk7gLYD6gxphIMSzAhwVPlIVXwmCVfFeQIU8Yvz/wxA5IrQC+lCpO8X5l7aFcbIIPkftS0tu0EYOdeIC4Df3wVWHtDiDbzYJITteBGuEQmvB/iNtrndjF1drz4akYhP6xVVnnU2x9dA5Js1ZsRYyxDxjqur/IbtMDmuvHMGjYBS3IcjVz8H3FUaq1k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lFqTG4F+Le0sK7Eb6HeNz+PavRqDkEzj9NMMsMVmRvBigWgqQgvaN0jMO+sCw2hADMzQnee7DcnJ39UiIX5vgFWRLRGe//C1iITjE385BYUOLzGm0n0SlgFk8Wcr0dNjYN8kKe1j97M9veh/ceqqA6mCp5kGozLWaR7TXeLw5ts23T58yN21Y9PV5WLh3r9bxZ/7n11eLOa0weKA1o3q3v5ycvte/+9aSIL8bm5yK X-OriginatorOrg: labundy.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70e2a21d-e04d-4345-fbd6-08da979c476a X-MS-Exchange-CrossTenant-AuthSource: DM5PR0801MB3767.namprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2022 04:31:09.6794 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 00b69d09-acab-4585-aca7-8fb7c6323e6f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: i+cG6+feGfRFEFOQQhu1dO1GQ6D31br4Q1Xsr1nudAzhzMLLktZ7zXPe5jGWi4RPWPXVRkaNiPoQUvoaelYsbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR08MB7210 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Following a recent refactor of the driver to properly drop unused device nodes, the 'linux,code' property is now optional. This can be useful for applications that define GPIO-mapped events that do not correspond to any keycode. Fixes: 44dc42d254bf ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C") Signed-off-by: Jeff LaBundy --- Changes in v2: - Updated commit message Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml index 02e605fac408..b4eb650dbcb8 100644 --- a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml +++ b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml @@ -473,9 +473,6 @@ patternProperties: Specifies whether the event is to be interpreted as a key (1) or a switch (5). - required: - - linux,code - additionalProperties: false dependencies: @@ -620,9 +617,6 @@ patternProperties: GPIO, they must all be of the same type (proximity, touch or slider gesture). - required: - - linux,code - additionalProperties: false required: From patchwork Fri Sep 16 04:31:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff LaBundy X-Patchwork-Id: 606613 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 629B5C6FA86 for ; Fri, 16 Sep 2022 04:31:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229452AbiIPEbn (ORCPT ); Fri, 16 Sep 2022 00:31:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiIPEbm (ORCPT ); Fri, 16 Sep 2022 00:31:42 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2058.outbound.protection.outlook.com [40.107.96.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B55436E883; Thu, 15 Sep 2022 21:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RC4itAoMeFliQyZS5kOpIEkRXRe3AC+sF2jYysUQrwTtKBNJmD2KgpPfvoX2N60vLLusYxA+eNB3VGToU9/PV82IZgTIX1CMYYPxQy3pNsxbZ+9j85j8EKEQK2ynBWEN84mjxXjXPR6MPfa+YeFIltjOsMl1g5ObYWYT4pCEz+J0QTywj0InyEaWA94x0r+tXLQRB9qpg/3N/RVds54WnASbgW0VqpuG+05dhZt7yB2i3dOUo0FbKEON4nQLP7Wc5bT+9hUlg0SsJnhE35N7cgRQfvjrXK2rrVyAa8ffva0eC5v968kaUd0z7O/fSvzYdsOqImQAtbiz6L5lENun3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=etw85XkC6I96qQjN9N3LolKkUo1Nww5s0VbFG1ejUbk=; b=KG8yixpkO6Vk75PT8gF7gd42hrD6vYzcCw74a2Fl6G0jPUNDCXMueHpq1jMQdsVe9l5eKHyK97T4Mk4H5i2qOpwej5a0up3zGILsIYJQdzDnRQ5/Plk4EPTu2SKO0pE1/WcS/JJ3PmhCgg7W9BfjVJbVMx0IZjkneKkaZsdAbA2dpDMIk3fazyO8MfgmgGU6TznYcAOOOlL3M+w7StdsYhc8Vi5Ah6S7ZIoUSajqDNwTe7JSNAI9Bqk0X9lDrXWb2s4DCKS0X8iYsZUbmnjR91Adap6qjtvz/5G7U1DAJ1rVvK+jUHgYQBKeB1ZA0cbM6qNEl7wJ7gt9112nNRTgZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labundy.com; dmarc=pass action=none header.from=labundy.com; dkim=pass header.d=labundy.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG5796793.onmicrosoft.com; s=selector1-NETORG5796793-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=etw85XkC6I96qQjN9N3LolKkUo1Nww5s0VbFG1ejUbk=; b=MPHe8/JjOxYwjKkWl4xtjcHqGOGTjHToQk7g4N0NrO9MWyuTXCN3iPJBMGhRc2ayVCcI6nAo6WPIna/iqIfM7axe1wnFwGd5BB64uTJ2j39S35XjY358xCt40BY5gJ/m7T/xPa1/IJ+cZujaYCWbOngsbqCsiSBVX2Exr/MjWk4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=labundy.com; Received: from DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) by PH0PR08MB7210.namprd08.prod.outlook.com (2603:10b6:510:94::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.16; Fri, 16 Sep 2022 04:31:40 +0000 Received: from DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba]) by DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba%6]) with mapi id 15.20.5632.016; Fri, 16 Sep 2022 04:31:40 +0000 Date: Thu, 15 Sep 2022 23:31:38 -0500 From: Jeff LaBundy To: dmitry.torokhov@gmail.com, robh+dt@kernel.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, jeff@labundy.com Subject: [PATCH v2 4/7] dt-bindings: input: iqs7222: Correct minimum slider size Message-ID: Content-Disposition: inline In-Reply-To: References: X-ClientProxiedBy: SN1PR12CA0044.namprd12.prod.outlook.com (2603:10b6:802:20::15) To DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0801MB3767:EE_|PH0PR08MB7210:EE_ X-MS-Office365-Filtering-Correlation-Id: b4edcc5a-8ca1-4662-f9a5-08da979c59b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ujx3XFVOJX4U1CzWlWN6DmVeUZmc7GP6o1jO/VfCspAhhwvoR2AwmBdcU5/LAT5sdpVjF7ptFaONSjzKJV0QNiiGAR84OoqvuFfKFrITZwr90kWBbfNcYBWKyzGUCipPaRHPArNxaU5jHzfiO0I0SDMzRYO1B/1FNi15ab/JnwYnPu5bSf4t6PjIn5OSDQESFX2QWWLnn44Z0z25vzuuGnuQ+z5FWe/jgr8CMiPIZKpRv+ly79fUkjTKsdwhvrm8Du079ODv1H1BVxvDERe0ZMoCibFLKQjD5wbuQHLgIQ6sV/F69+98FQ1l9C7IkesFNRPOpgYPR5Qo9XY7T9F40MhCy/SdauObplw5w5TNcPPctqA/v9lrtIvEO3/4ULkeOaCGlcFpOz/K2PP9pA/c4alXVhxyRPgMvA4yXd+/8QpGHRHQsJFoqZjAnN2iVfW2g6JCZvingbT2gwxRo7ic4C0MnUCodIEO4uh+xF3a4lhTMnLLpj/SeY+yFY/GpcstIZOdhDYW6x59CPwGAPnlRrYIZqzrCioEtSi7vj6u5nYasD2S8aaTrRYFRYIYkrsrnbsWMppW4Zckvl6inbI8uQI0SeAgrSO5aniyXg12Qekl5o3jK7ILbUtlMU56blBWPncNRVXYIHnN3wbCDt4BAH1RZaRgfq3AFf2gWSRT9Ksv3J2cK2NDTb//yUnMR8dfH6mytF62ZNxPLwGLIcAdKlkbL93vNMYcgnLIbNXOUp2auTpdkhXVu7uFAuFlRUTA X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR0801MB3767.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(7916004)(346002)(366004)(376002)(136003)(39830400003)(396003)(451199015)(86362001)(33716001)(6486002)(316002)(38100700002)(478600001)(6506007)(107886003)(8676002)(9686003)(26005)(6512007)(66946007)(66556008)(66476007)(4326008)(8936002)(41300700001)(2906002)(186003)(5660300002)(83380400001)(67856001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Ox4XH1FZyc8uqHhuFNIi+160+YLUx7kntTe1/+RCo86mthr0EIs45+YdR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DI2OUmyp8fvm7THBcY6RP1Ekv7PxaMWzVNbP/o0jTkbmr42BTUP6W/ivNbE262imNAzvIROG+mi24y9fZbxjYT9JvvexpUhsVi7qyBndLLNR8I6f2wspBwvjWWrDGwwhQIHVsvWleZ6KOewnkfM95oHs2TPYqPQ9rTHPP21fQFMrlqUg4Qpi86aJdL+wguV4/tjjOCeM9PyGLtroOdxR1zPLRfkup/IoDGBRMyGRgnoVjYxbaEWrs/GIS9FY8SVE8FPUtjWCGTCqF5Ta/LcwMhQ7jy5m5rzZy7COTgUlLzgoiTMk+UMduhn9VZZNyLNyh/mSJOnOwRr57iTWd9P5Sp3cd2g8S/QDpaksW94ilfszc8Tsu5swyjFTpheZX4EmBqHnUxUqTwMRyqCHSUn7/O5YafTJnIV7IeIq225zGI+9C9P1JpZ9rxhoeYsn/x4t5K3pkn288kAetW+ X-OriginatorOrg: labundy.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4edcc5a-8ca1-4662-f9a5-08da979c59b9 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0801MB3767.namprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2022 04:31:40.3649 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 00b69d09-acab-4585-aca7-8fb7c6323e6f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ne+RBxTFXGo0tEqxmsnPRx1id42LmBsNuohCtxUX+tLX5+zuH0itOF/AXrkcwHI8p8Gllgztc8o31K1HC2akZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR08MB7210 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The minimum slider size enforced by the driver is 1 or 16 for the IQS7222C or IQS7222A, respectively. Fixes: 44dc42d254bf ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C") Signed-off-by: Jeff LaBundy Acked-by: Rob Herring --- Changes in v2: - Added Acked-by Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml index b4eb650dbcb8..913fd2da9862 100644 --- a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml +++ b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml @@ -498,7 +498,7 @@ patternProperties: azoteq,slider-size: $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 + minimum: 1 maximum: 65535 description: Specifies the slider's one-dimensional resolution, equal to the @@ -687,6 +687,7 @@ allOf: properties: azoteq,slider-size: multipleOf: 16 + minimum: 16 maximum: 4080 azoteq,top-speed: From patchwork Fri Sep 16 04:32:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff LaBundy X-Patchwork-Id: 606612 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D1B8C54EE9 for ; Fri, 16 Sep 2022 04:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229581AbiIPEcH (ORCPT ); Fri, 16 Sep 2022 00:32:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbiIPEcF (ORCPT ); Fri, 16 Sep 2022 00:32:05 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2065.outbound.protection.outlook.com [40.107.102.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1338C9FAA7; Thu, 15 Sep 2022 21:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWd6DUrb03uVHEqtaGmbUN/H3iGOmbNOOPUOdzNVxbZtqWdb+DGMclu1UQ0Bpvzqa4H2fnzhJEIX6H3f5l/KndiI24i3pxSIHo1F8G7i7eDtKS4/6kMyVbNfRYTn08sB/qhZsgoltSaB5Ngmm0z8DfgFSTPvLRbV7bR17JJ9QQVMQ9rHUlZzYuxY+MKtsNONxm/D4rEflKZUmRixQPyNednJV9WVgp0TvD2EXeqrdw2xkg4WCWlSr/oMYZYdkn/CUMcsMPkyCL28zsWt7Q5f1uK226Y281inLWDMiVZu2dRVFTz5+uMuB0qdQsJzr15eFdvM/QT8SFKEOaE6QtDrJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XjsotK1960hLSrMOflnU1L7Sxn7MKrSbB2Dze/81BaI=; b=NGEbHbN42APCW9cYDDJNPksYg4IQPulcF6tB1g9NJISHgq0vA5Ew/5pGg3Tqg8zaRaU7EwzGhBRhTRmQwtVu6iMTaPZCURfDWzhiPJnmuXl/e3FM53OXHrBuBrJAoqNnGdwkMQ7SXw4OJKbvqFMXUMTNPDSluwUPtTiUyk3c5PbZ/ba9xQXCgxsZneccuV4m2+axYPXnEhvyZjGDHMRuQnv5kI7/2nfJKUTPRmW7IVdYHIuiag+eCb4bgV5+ibyU2ysvbhj/PbdY+g3zJteTg5A3NaOQp++t/xK/n60Q5oh4WtNwLzRcVOxXJmg5hJUllDJ69UNppB9hue+jsjOJCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labundy.com; dmarc=pass action=none header.from=labundy.com; dkim=pass header.d=labundy.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG5796793.onmicrosoft.com; s=selector1-NETORG5796793-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XjsotK1960hLSrMOflnU1L7Sxn7MKrSbB2Dze/81BaI=; b=a8P+mDmdkN5CAVSyZhM9vF1EBwfDIUCUAOj5HHMB2Bvv9kJpeFYgZ5VWv4nr9kUrYM9m9vPfCsvlbeaj3yRho+MCXyu6LNV+yq0acjtr2BpuwIWtoPJtR5VWqo4TU7hkCEIBfioUhO0UKJaGhDiw9eB+yRGJwQ2QTSOo+MtMDWY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=labundy.com; Received: from DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) by BN7PR08MB4132.namprd08.prod.outlook.com (2603:10b6:406:8a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.16; Fri, 16 Sep 2022 04:32:02 +0000 Received: from DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba]) by DM5PR0801MB3767.namprd08.prod.outlook.com ([fe80::446b:5d19:f4ac:66ba%6]) with mapi id 15.20.5632.016; Fri, 16 Sep 2022 04:32:01 +0000 Date: Thu, 15 Sep 2022 23:32:00 -0500 From: Jeff LaBundy To: dmitry.torokhov@gmail.com, robh+dt@kernel.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, jeff@labundy.com Subject: [PATCH v2 6/7] dt-bindings: input: iqs7222: Add support for IQS7222A v1.13+ Message-ID: Content-Disposition: inline In-Reply-To: References: X-ClientProxiedBy: DM6PR02CA0112.namprd02.prod.outlook.com (2603:10b6:5:1b4::14) To DM5PR0801MB3767.namprd08.prod.outlook.com (2603:10b6:4:7c::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0801MB3767:EE_|BN7PR08MB4132:EE_ X-MS-Office365-Filtering-Correlation-Id: 1208808d-e559-47f8-8d06-08da979c6672 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rWHWm3xXA43keajYjyLMa48nO4WeheSWRHbGIcoFA7DQrHwxxJ+O+Eytcxsp+YzaeXGx/ZyIgGLJstmmrlbGnDuhora75a5/Ig7DHG9T+/aDDO5YUogSZd6ecs2WeFylppn4k98+p8pXTopCsyPINJBD5ZtKwgdSBYnBIe+rDOF3FnidWJfSsVdLx9nHTOT9LSOjGH3aj0sNVeaaXbZTqHcE/1gMxsRG+kYMIG7+fk691L/Z6QNerYvC4Z1HSPyMwV3EY/2FxCLpAaiW7c2nrzvWw27AJ0VHpyiLro0xgN00M64prLROs9ThScOqK6Dyfu2qHKLhvJ6BymMh/8hUKPu4VZAYXlte+ovFDmC13XWmZdT+Ucn43WigzW308ILE0zn8mdN1/hijknwS6JZxW5S1t1crH24H4y8tooEv9aUIP6hnUOMP80+eliakI1Ja8z0o70jRO5oxitZW5SguDAOOts9U6r5OoeUOD38N6hj0kpfK1wNEm+Voumlu17c6o49MtFdAxsFaVndedvlibG+ICsbsty59ZXKpsOPRklTKTLaa2nDfp/xaVmihqer5cGgH6gyJ3oNzgkHs350xUcoqvbHn3gkwUEoBwnogp5t8UpA9uQI0Lv254xf/APgvqdVHXjFhne48Hc509861p3aBrj9g39WPM6jj8Vc9lNoZSDpbZj71AhD0UQ8ldurwavxWkaw5d0B/czdO7JMDXw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR0801MB3767.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(7916004)(376002)(39830400003)(136003)(346002)(366004)(396003)(451199015)(8676002)(4326008)(316002)(66946007)(38100700002)(86362001)(83380400001)(186003)(41300700001)(478600001)(6486002)(107886003)(66476007)(6506007)(66556008)(26005)(9686003)(6512007)(2906002)(5660300002)(33716001)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bGpvwkxTQbxi7gWMdQa1TKcqvTHrSdY1mpdMLgfT4Oxpej9ioROvcJr94tiZhSsp6aMg+xRQMIL0U1l92M4g8a3tGJGvN40SMVEskmQaiWyE4cZqgeXH/0HtxIjAvWkvjRkYUSOsnmKrkRD0Of6NFP0ReVlmrevH/KZk5UVSI7tH6tWH3IhNWdnar5+vIyUNLGBaSKXSUq7UwEzfquhEl1MtjMx3ys6swCcxchmtr83QRHfZY6amcNDbKnMBLWyTDs65HLqTWKmUN1ZE7Iy018xdUCBw9+WtDgpYiqBlS8Nj9WNfAz4FdarYugoIaRtAeA6AJtcX7FdfuSW7DCE74wJekt3hoRPa5INYI2DI4c+fabDiQi5n9sisGZ1ZOb4iUEwf/ijxHc3PMdrIm0B771Fe9Fr2Eox9ohv2AUbScoX5qWACIGUUSKbhs32h+Bcn3TYLRK7svlrHlmKVAYBlpNF5J4KDN9WSGSRu5Tyd3vmX+SAokw37SagTWNNUg+tvA04KKw0xjZYTniZdI24PRS5o6s4fAc8MgUZW6vXeuw3/xtZ6WMZ/cV9A0yHuMXwKGuWt4J8gEzLZCKDELX0423O3rhVXhVNpXQMIV2gqQHKnQ2FDrSQj2uGxvlqfEa26gNWw3/4FsEgzSKlci26NI7kOuPrrdvPVfiPYFcks6/WL86JFNsUafXKVuq+YHJpIyowDvE0sCHSQcR1vA6PrFtoi6/MajYgVsFe8be4sLVsK3vq7QlfP4lSvl6BX1yT6/bP5KqK0x3YyvPYuf73MrSiM7qDQ3VtafhloYp+mVa3IxZ5lPc5XWtD7uTzS6jQpsZJ8KTBvkkq6f5YJ6R2HAufc4QOK32s+NUNQbGYurCZzw6KBTRWiZtiA0/CHBUaiJ6tCs6PgPcGgU88BluKcvh3BTnOYcuLqr54iSlfR5ssqa3sKKIUMt+pe4c0Upt3MGBbMKyzGu/C8N5XMUHCzYEWGgQn5ETQ8srQ9y/MVkNepyjfN0/SEPrrX/mQk58POb8V6Vgu5sAw/6GxAvOi6OItigOTiVdDsju8ieRIXWp3S5w678i5xkbtlMkJ/0bRFwGZSJ66VXylaiuPHlz7vwje9MkJtgBE5hwyc4Ezl45hjhgZFR8rXXc6swGQgPQ9r6EWzhD1Y2wPOrgA6iBiag5xl1TVxtk8RKQeWMy1PkMh4vzCcGiPNy7yxnB5okC93/R9tdDZpgUgjbHmZG9PVNxZJIDlwsj7c5tyZ/dfbCsDhVNbOslaQ3rnCYdogsUY2MvPpJeUXQawdEQBaQFvAf7dUW8VNEhbV8NyQ3T6ueSlLByZ8P8csv7z1oNYBug9VPvWKm0Y10KMtnmVOSBWEyviP90eDVl6SczRrw31Aa0wbHwcvXuoxrmH8QgI/oiIk561B1RZBSnAwX9n5bSzMpzWfKy8FBBoS3UNShKzORx12prIDUDj6SPH+P3t/3/qLotG5r+oSsQUjffnjwRm9aQLhoSRK4xm6yjn8kIRcxwjXNPocfRvyDQburGCu0+wc53Hztx8Z2ss2tz2fPWL0Jr7DUKqA7j95eXhLBziCKh8MR4ygDVfZLPSR2FuHb9JG X-OriginatorOrg: labundy.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1208808d-e559-47f8-8d06-08da979c6672 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0801MB3767.namprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2022 04:32:01.6759 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 00b69d09-acab-4585-aca7-8fb7c6323e6f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NbpMpYKE3mIc6KyjHUeKOrlA1lpBv2W5g1JKBw8wCgCiOvq5++Ni6gq8PguVbkEeVccZN3RLaeVwSxdUdfl/GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR08MB4132 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org IQS7222A revisions 1.13 and later widen the gesture multiplier from x4 ms to x16 ms; update the binding accordingly. As part of this change, refresh the corresponding properties in the example as well. Fixes: 44dc42d254bf ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C") Signed-off-by: Jeff LaBundy Reviewed-by: Rob Herring --- Changes in v2: - Added Reviewed-by .../bindings/input/azoteq,iqs7222.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml index 913fd2da9862..9ddba7f2e7aa 100644 --- a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml +++ b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml @@ -572,9 +572,9 @@ patternProperties: linux,code: true azoteq,gesture-max-ms: - multipleOf: 4 + multipleOf: 16 minimum: 0 - maximum: 1020 + maximum: 4080 description: Specifies the length of time (in ms) within which a tap, swipe or flick gesture must be completed in order to be acknowledged @@ -582,9 +582,9 @@ patternProperties: gesture applies to all remaining swipe or flick gestures. azoteq,gesture-min-ms: - multipleOf: 4 + multipleOf: 16 minimum: 0 - maximum: 124 + maximum: 496 description: Specifies the length of time (in ms) for which a tap gesture must be held in order to be acknowledged by the device. @@ -930,14 +930,14 @@ examples: event-tap { linux,code = ; - azoteq,gesture-max-ms = <600>; - azoteq,gesture-min-ms = <24>; + azoteq,gesture-max-ms = <400>; + azoteq,gesture-min-ms = <32>; }; event-flick-pos { linux,code = ; - azoteq,gesture-max-ms = <600>; - azoteq,gesture-dist = <816>; + azoteq,gesture-max-ms = <800>; + azoteq,gesture-dist = <800>; }; event-flick-neg {