From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Jianhua Lu <lujianhua000@gmail.com>, Lee Jones <lee@kernel.org>,
Daniel Thompson <daniel.thompson@linaro.org>,
Jingoo Han <jingoohan1@gmail.com>, Pavel Machek <pavel@ucw.cz>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: leds: backlight: add binding for Kinetic KTZ8866 backlight
Date: Wed, 21 Dec 2022 09:13:51 +0100 [thread overview]
Message-ID: <d37e0f2d-eaa5-4eaa-72bb-ead349235d6d@linaro.org> (raw)
In-Reply-To: <20221221070216.17850-1-lujianhua000@gmail.com>
On 21/12/2022 08:02, Jianhua Lu wrote:
> Add device tree bindings for the Kinetic KTZ8866 backlight driver.
1. Your patches are not properly threaded which makes it difficult to
review and handle them. Resend with proper threads.
2. Subject: drop second, redundant "binding for".
>
> Signed-off-by: Jianhua Lu <lujianhua000@gmail.com>
> ---
> .../leds/backlight/kinetic,ktz8866.yaml | 37 +++++++++++++++++++
> 1 file changed, 37 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
>
> diff --git a/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
> new file mode 100644
> index 000000000000..7286c3fc7f5d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/leds/backlight/kinetic,ktz8866.yaml
> @@ -0,0 +1,37 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktz8866.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Kinetic Technologies KTZ8866 backlight
> +
> +maintainers:
> + - Jianhua Lu <lujianhua000@gmail.com>
> +
> +description: |
> + The Kinetic Technologies KTZ8866 is a high efficiency 6-sinks led backlight
> + with dual lcd bias power.
> + https://www.kinet-ic.com/ktz8866/
> +
> +allOf:
> + - $ref: common.yaml#
> +
> +properties:
> + compatible:
> + items:
> + const: kinetic,ktz8866
Does not look like you tested the bindings. Please run `make
dt_binding_check` (see
Documentation/devicetree/bindings/writing-schema.rst for instructions).
> +
> +required:
> + - compatible
> +
> +additionalProperties: false
This should be rather unevaluatedProperties: false, otherwise you do not
allow any other properties, except compatible. Was this the intention?
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-12-21 8:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 7:02 [PATCH 2/2] dt-bindings: leds: backlight: add binding for Kinetic KTZ8866 backlight Jianhua Lu
2022-12-21 8:13 ` Krzysztof Kozlowski [this message]
[not found] ` <CAEo_cxGK_m_VM1k0EWerfS2b2DF5ucvftQj68h3kBZz2=L=YGQ@mail.gmail.com>
2022-12-21 9:46 ` Krzysztof Kozlowski
2022-12-21 13:45 ` Rob Herring
2022-12-21 14:08 ` Jianhua Lu
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=d37e0f2d-eaa5-4eaa-72bb-ead349235d6d@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=daniel.thompson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=lujianhua000@gmail.com \
--cc=pavel@ucw.cz \
--cc=robh+dt@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