Re: [PATCH] dt-bindings: input: atmel,captouch: convert bindings to YAML
From: Dharma.B
Date: Thu Feb 08 2024 - 03:36:51 EST
Hi Krzysztof,
On 08/02/24 12:59 pm, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On 08/02/2024 04:59, Dharma.B@xxxxxxxxxxxxx wrote:
>>>> +
>>>> +properties:
>>>> + compatible:
>>>> + const: atmel,captouch
>>>> +
>>>> + reg:
>>>> + maxItems: 1
>>>> +
>>>> + interrupts:
>>>> + maxItems: 1
>>>> +
>>>> + linux,keycodes:
>>>> + minItems: 1
>>>> + maxItems: 8
>>>> +
>>>> + autorepeat:
>>>> + type: boolean
>>>
>>> You can drop entire property, coming from input.yaml.
>>
>> Sure, I will drop the 'linux,keycodes' and 'autorepeat' properties.
>
> Why linux,keycodes? Is the size restricted in any other referenced schema?
Sorry, I misinterpreted the statement "entire property(ies) coming from
input.yaml".
The linux,keycodes size should be restricted to maxitems 8 here.
I will drop only the optional property "autorepeat".
Thanks.
>
> Best regards,
> Krzysztof
>
--
With Best Regards,
Dharma B.