Re: [PATCH 09/11] dt-bindings: input: iqs7222: Allow 'linux,code' to be optional

Rob Herring
2022-09-13T11:42:59Z

On Thu, Sep 08, 2022 at 08:15:46AM -0500, Jeff LaBundy wrote:
> The 'linux,code' property has been made optional in the driver;
> update the binding to reflect this change.

But with an old kernel, it would still be required. So still required in
the DT.

>
> Fixes: 44dc42d254bf ("dt-bindings: input: Add bindings for Azoteq IQS7222A/B/C")
> Signed-off-by: Jeff LaBundy <jeff@labundy.com>
> ---
> 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 785fb9e83354..913fd2da9862 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:
> --
> 2.25.1
>
>