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: 12978116 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 D712FC6FA86 for ; Fri, 16 Sep 2022 04:31:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbiIPEbN (ORCPT ); Fri, 16 Sep 2022 00:31:13 -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/IbtMDmuvHMGjYBS3IcjVz8H3FUaq1k2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FqTG4F+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: linux-input@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 Reviewed-by: Rob Herring --- 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: