From: Krzysztof Kozlowski <krzk@kernel.org>
To: Oleh Kuzhylnyi <kuzhylol@gmail.com>, linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, artur.serhiienko@gmail.com,
	igor.opaniuk@gmail.com
Subject: Re: [PATCH 2/2] dt-bindings: input: touchscreen: add Hynitron CST816X
Date: Sun, 19 May 2024 13:46:53 +0200	[thread overview]
Message-ID: <7116f18c-00f8-467f-ad3a-de057ec51cf1@kernel.org> (raw)
In-Reply-To: <20240517092732.47715-2-kuzhylol@gmail.com>
On 17/05/2024 11:27, Oleh Kuzhylnyi wrote:
> Add documentation for the Hynitron CST816X touchscreen bindings.
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline), work on fork of kernel
(don't, instead use mainline) or you ignore some maintainers (really
don't). Just use b4 and everything should be fine, although remember
about `b4 prep --auto-to-cc` if you added new patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time, thus I will skip this patch entirely till you follow
the process allowing the patch to be tested.
Please kindly resend and include all necessary To/Cc entries.
Also incorrect order - bindings come before users.
...
> +
> +examples:
> +  - |
> +    #include <dt-bindings/gpio/gpio.h>
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    i2c {
> +      #address-cells = <1>;
> +      #size-cells = <0>;
> +      cst816s: cst816s@15 {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> +        compatible = "hynitron,cst816s";
> +        reg = <0x15>;
> +        interrupt-parent = <&gpio>;
> +        interrupts = <4 1>;
Use proper defines. Why did you include headers if you are not using them?
> +        reset-gpios = <&gpio 17 0>;
Same question.
> +        status="okay";
Drop.
> +      };
> +    };
> +
> +...
Best regards,
Krzysztof
next prev parent reply	other threads:[~2024-05-19 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17  9:27 [PATCH 1/2] input: add driver for Hynitron CST816X touchscreen Oleh Kuzhylnyi
2024-05-17  9:27 ` [PATCH 2/2] dt-bindings: input: touchscreen: add Hynitron CST816X Oleh Kuzhylnyi
2024-05-19 11:46   ` Krzysztof Kozlowski [this message]
2024-05-19 11:49 ` [PATCH 1/2] input: add driver for Hynitron CST816X touchscreen Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox
  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):
  git send-email \
    --in-reply-to=7116f18c-00f8-467f-ad3a-de057ec51cf1@kernel.org \
    --to=krzk@kernel.org \
    --cc=artur.serhiienko@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=igor.opaniuk@gmail.com \
    --cc=kuzhylol@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY
  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
  Be sure your reply has a Subject: header at the top and a blank line
  before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).