Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp92742iol; Wed, 8 Jun 2022 22:58:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBRnVCPDAKpBZ/wtsJ5T+DlTD7mfO8hpwID/ZfgcxYUxQBeyP+81w1hBqE0zQACSB409z8 X-Received: by 2002:a05:6a00:17a0:b0:51b:c7a9:bf0c with SMTP id s32-20020a056a0017a000b0051bc7a9bf0cmr36180958pfg.71.1654754284160; Wed, 08 Jun 2022 22:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654754284; cv=none; d=google.com; s=arc-20160816; b=KYSE+lAICnjZUFikmBy77jRJcPLETEd9UFHtlIGC+pj4h+3AjxwKp0Q7pMaYnc0u9M 0Mh7Oad8XnjeLMEcjsD9NWQL0erH+vYkmMg2wrM8pHgEkuYwr11IctbsWLfJtcCv8JF9 +Byxk/77S2hO0yxJb3soXPQnB/Ly0zl8LG30nSfcP0nPE3QDYRBN5ehgjbRVpTFqBU71 YkLvzVbUfbhBrciDOusqNwbmcxB7Xpc5OYSMHLeycqZYHn0zsrBbfbMZ4IlKfnLyFlcv U7IPSUeBj47C4p1p6V3xUHpNNwzwlR6gUDz9Y/nqPW5xeMOpz1IzLcKBcY+m6o8SMf/j XQXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BuVXBnPBW+Cb3rOaf/Wwp139B6KZB/EjTAyifnEKV30=; b=eDCV8ll+9V+DfYGuJ8ZnUjOmKhUxOEKomiIQzC9nDXD38XYk+FGZuFZ7u5ObiZz5GN QYUnLq43SLVrZBlSh690hfeyVfGCNJ6NW+CKVoGlnYi1J79vuldRnaEjdIcT1yBltBfX 7gtwBjb8gg4yihqVFPwLnYEdSXrwAaAThwEqvJxyrBWkMZVkyoEf2hwdaJnUVKyxdjoA smEp1F+uEWPA2GDnqCGtUOQGMP+1wrsOJJOjZECMf44jPhUeHpBNU5V8J8WKllleivlE LIHoW7/yNRe+/TT/BWtw5y0y7WbmCjLRvFfnrpHDRY9wekMGYbF1MjyshHTDWAjdDafo pJaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=AG8PQw5B; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g32-20020a635660000000b003ab421132b0si16836029pgm.235.2022.06.08.22.57.52; Wed, 08 Jun 2022 22:58:04 -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=@gmx.net header.s=badeba3b8450 header.b=AG8PQw5B; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238473AbiFIFrb (ORCPT + 99 others); Thu, 9 Jun 2022 01:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237153AbiFIFr3 (ORCPT ); Thu, 9 Jun 2022 01:47:29 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5FA223B557; Wed, 8 Jun 2022 22:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654753626; bh=CK1mrzVGgNsxBX50Lg3eVfTjvuYYZTQEUKDaJ6KAwtA=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=AG8PQw5BbksWUtL/e77b539/4DsN39MLJdJ4x0pF8FsSpLDhyLwJlVxzWm/1pkvqX HypYBaje6j831XPHQi/GFofAfavMFed9yiGN2aeb2OGE6DYYgNTKIPHnf9+J+ZOEEr CII/yb2XGnq8g7yU8PMHcGM2K0QNASGxH7cgihD8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [172.25.0.188] ([62.143.94.109]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N6bfw-1nh0bM1ad4-0181NO; Thu, 09 Jun 2022 07:47:06 +0200 Message-ID: Date: Thu, 9 Jun 2022 07:46:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 1/5] dt-bindings: input: Increase maximum keycode value to 0x2ff Content-Language: en-US To: Rob Herring , Dmitry Torokhov , Krzysztof Kozlowski , Alexandre Belloni Cc: Hans de Goede , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Bartosz Golaszewski , Artur Rojek , Maxime Ripard , Jeff LaBundy , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220608211207.2058487-1-robh@kernel.org> <20220608211207.2058487-2-robh@kernel.org> From: Heinrich Schuchardt In-Reply-To: <20220608211207.2058487-2-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:r5i5vKTtld9WbI0jJeooo/iDNKFkEgcMttR/u2647QaNJg3sMnb Vzkx+hKMkjoF11eI530jtAI2p1JKgmm4B4GRNgX/pjwvqIuxlOBpLr6NVTEYPZFWd6sS359 fTuImSMqSPBGbc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tj1wc5lv7G eC0PzWlfkh7sNFU6zIwnvvwnbsoD5v4La0ZTH05PN26yveQTEcYNLmIX6LldKDmXyNnxnTdDg ehEqpGBkcpvXjGcY4rVqmFiveeIhWnsm8auOYbRVOz997zqY52UJotWQg/oO19/Bf4OvARN7x HGVSfdGCeqqi2oQeNW2OQEM8nYDIHFCcPZtqI41WWWrfEm4wWgNN1AoMQ== X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 On 6/8/22 23:12, Rob Herring wrote: > The maximum keycode value for Linux is 0x2ff, not 0xff. There's already > users and examples with values greater than 0xff, but the schema is not > yet applied in those cases. > > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/input/input.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Docume= ntation/devicetree/bindings/input/input.yaml > index d41d8743aad4..43d2f299c332 100644 > --- a/Documentation/devicetree/bindings/input/input.yaml > +++ b/Documentation/devicetree/bindings/input/input.yaml > @@ -21,7 +21,7 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32-array > items: > minimum: 0 > - maximum: 0xff > + maximum: 0x2ff Can this value of 0x2ff be make exportable such that we can use it as a reference in devicetree/bindings/input/adc-keys.yaml. E.g. define a type that only take values in the 0-0x2ff range? Best regards Heinrich > > poll-interval: > description: Poll interval time in milliseconds.