[lkml]   [2022]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 01/40] dt-bindings: input: gpio-keys: enforce node names to match all properties
On 16/06/2022 02:52, Krzysztof Kozlowski wrote:
> The gpio-keys DT schema matches all properties with a wide pattern and
> applies specific schema to children. This has drawback - all regular
> properties are also matched and are silently ignored, even if they are
> not described in schema. Basically this allows any non-object property
> to be present.
> Enforce specific naming pattern for children (keys) to narrow the
> pattern thus do not match other properties. This will require all
> children to be properly prefixed or suffixed (button, event, switch or
> key).
> Removal of "if:" within patternProperties causes drop of one indentation
> level, but there are no other changes in the affected block.
> Signed-off-by: Krzysztof Kozlowski <>
> Reviewed-by: Rob Herring <>
> ---
> .../devicetree/bindings/input/gpio-keys.yaml | 157 +++++++++---------
> 1 file changed, 77 insertions(+), 80 deletions(-)


Any comments from your side? Are you planning to pick up the dt-bindings
here (patch 1-3)?

Best regards,

 \ /
  Last update: 2022-06-27 10:18    [W:0.344 / U:5.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site