From: Krzysztof Kozlowski <krzk@kernel.org>
To: Marcus Folkesson <marcus.folkesson@gmail.com>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: display: Add Sitronix ST7571 panel
Date: Fri, 4 Apr 2025 19:30:15 +0200 [thread overview]
Message-ID: <d2ffca88-6773-4e40-b737-65a451ba1d01@kernel.org> (raw)
In-Reply-To: <20250404-st7571-v2-1-4c78aab9cd5a@gmail.com>
On 04/04/2025 15:50, Marcus Folkesson wrote:
> Sitronix ST7571 is a 4bit gray scale dot matrix LCD controller.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> ---
> .../bindings/display/sitronix,st7571.yaml | 73 ++++++++++++++++++++++
> 1 file changed, 73 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/sitronix,st7571.yaml b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..11575b820c59c5ada427fbb6b015c331215c8db6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml
> @@ -0,0 +1,73 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/sitronix,st7571.yaml#
Why isn't this in panels directory?
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Sitronix ST7571 Display Panels
> +
> +maintainers:
> + - Marcus Folkesson <marcus.folkesson@gmail.com>
> +
> +description:
> + This binding is for display panels using a Sitronix ST7571 controller in I2C
Do not explain for a binding that it is a binding. Redundant. Instead
describe the hardware.
> + mode.
> +
> +allOf:
> + - $ref: panel/panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: sitronix,st7571
> +
> + reg: true
> + reset-gpios: true
> + width-mm: true
> + height-mm: true
> +
> + panel-timing:
> + $ref: panel/panel-timing.yaml#
Drop, already part of panel.
> + description: |
> + The panel-timing node specifies the display resolution and timing
> + parameters. The hactive and vactive properties are mandatory.
> + The vback-porch property specifies the start line of the display.
> + The other properties should be set to zero.
Drop description as well.
> +
> +required:
> + - compatible
> + - reg
> + - reset-gpios
> + - width-mm
> + - height-mm
> + - panel-timing
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + display@3f {
Not much improved. How is this called in every other binding? panel.
> + compatible = "sitronix,st7571";
Messed indentation.
> + reg = <0x3f>;
> + reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
> + width-mm = <37>;
> + height-mm = <27>;
> +
> + panel-timing {
And here is even more confusing.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-04-04 17:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 13:50 [PATCH v2 0/3] Add support for Sitronix ST7571 LCD controller Marcus Folkesson
2025-04-04 13:50 ` [PATCH v2 1/3] dt-bindings: display: Add Sitronix ST7571 panel Marcus Folkesson
2025-04-04 16:55 ` Conor Dooley
2025-04-04 17:30 ` Krzysztof Kozlowski [this message]
2025-04-04 17:36 ` Krzysztof Kozlowski
2025-04-04 20:00 ` Marcus Folkesson
2025-04-04 13:50 ` [PATCH v2 2/3] drm/st7571-i2c: add support for Sitronix ST7571 LCD controller Marcus Folkesson
2025-04-07 8:30 ` Thomas Zimmermann
2025-04-07 9:20 ` Marcus Folkesson
2025-04-04 13:50 ` [PATCH v2 3/3] MAINTAINERS: add antry " Marcus Folkesson
2025-04-07 8:31 ` Thomas Zimmermann
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=d2ffca88-6773-4e40-b737-65a451ba1d01@kernel.org \
--to=krzk@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marcus.folkesson@gmail.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.