From: Rob Herring <robh@kernel.org>
To: Gerald Loacker <gerald.loacker@wolfvision.net>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Thierry Reding <thierry.reding@gmail.com>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Maxime Ripard <mripard@kernel.org>,
Michael Riesch <michael.riesch@wolfvision.net>
Subject: Re: [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix,st7789v
Date: Thu, 16 Mar 2023 16:57:35 -0500 [thread overview]
Message-ID: <20230316215735.GA3940832-robh@kernel.org> (raw)
In-Reply-To: <20230314115644.3775169-8-gerald.loacker@wolfvision.net>
On Tue, Mar 14, 2023 at 12:56:44PM +0100, Gerald Loacker wrote:
> The sitronix-st7789v driver now considers the panel-timing property.
I read the patch for that and still don't know 'why'. Commit messages
should answer why.
> Add the property to the documentation.
We generally don't put timings in DT for panels. Why is this one
special?
>
> Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net>
> ---
> .../display/panel/sitronix,st7789v.yaml | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> index ed942cd3620f..8810f123dedf 100644
> --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> @@ -21,6 +21,7 @@ properties:
> reset-gpios: true
> power-supply: true
> backlight: true
> + panel-timing: true
> port: true
> rotation: true
>
> @@ -54,6 +55,22 @@ examples:
> spi-cpol;
> spi-cpha;
>
> + panel-timing {
> + clock-frequency = <7000000>;
> + hactive = <240>;
> + vactive = <320>;
> + hfront-porch = <38>;
> + hback-porch = <10>;
> + hsync-len = <10>;
> + vfront-porch = <8>;
> + vback-porch = <4>;
> + vsync-len = <4>;
> + hsync-active = <1>;
> + vsync-active = <1>;
> + de-active = <1>;
> + pixelclk-active = <1>;
> + };
> +
> port {
> panel_input: endpoint {
> remote-endpoint = <&tcon0_out_panel>;
> --
> 2.37.2
>
WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Gerald Loacker <gerald.loacker@wolfvision.net>
Cc: devicetree@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Sam Ravnborg <sam@ravnborg.org>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Thierry Reding <thierry.reding@gmail.com>,
Michael Riesch <michael.riesch@wolfvision.net>
Subject: Re: [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix,st7789v
Date: Thu, 16 Mar 2023 16:57:35 -0500 [thread overview]
Message-ID: <20230316215735.GA3940832-robh@kernel.org> (raw)
In-Reply-To: <20230314115644.3775169-8-gerald.loacker@wolfvision.net>
On Tue, Mar 14, 2023 at 12:56:44PM +0100, Gerald Loacker wrote:
> The sitronix-st7789v driver now considers the panel-timing property.
I read the patch for that and still don't know 'why'. Commit messages
should answer why.
> Add the property to the documentation.
We generally don't put timings in DT for panels. Why is this one
special?
>
> Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net>
> ---
> .../display/panel/sitronix,st7789v.yaml | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> index ed942cd3620f..8810f123dedf 100644
> --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
> @@ -21,6 +21,7 @@ properties:
> reset-gpios: true
> power-supply: true
> backlight: true
> + panel-timing: true
> port: true
> rotation: true
>
> @@ -54,6 +55,22 @@ examples:
> spi-cpol;
> spi-cpha;
>
> + panel-timing {
> + clock-frequency = <7000000>;
> + hactive = <240>;
> + vactive = <320>;
> + hfront-porch = <38>;
> + hback-porch = <10>;
> + hsync-len = <10>;
> + vfront-porch = <8>;
> + vback-porch = <4>;
> + vsync-len = <4>;
> + hsync-active = <1>;
> + vsync-active = <1>;
> + de-active = <1>;
> + pixelclk-active = <1>;
> + };
> +
> port {
> panel_input: endpoint {
> remote-endpoint = <&tcon0_out_panel>;
> --
> 2.37.2
>
next prev parent reply other threads:[~2023-03-16 21:57 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 11:56 [PATCH 0/7] Add timing override to sitronix,st7789v Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 1/7] drm/panel: sitronix-st7789v: propagate RGB666 format Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 2/7] drm/panel: sitronix-st7789v: add panel orientation support Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 3/7] drm/panel: sitronix-st7789v: propagate h/v-sync polarity Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 4/7] drm/panel: sitronix-st7789v: add bus_flags to connector Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 5/7] drm/panel: sitronix-st7789v: parse device tree to override timing mode Gerald Loacker
2023-03-14 11:56 ` Gerald Loacker
2023-03-14 11:56 ` [PATCH 6/7] dt-bindings: display: add rotation property to sitronix,st7789v Gerald Loacker
2023-03-14 11:56 ` [PATCH 6/7] dt-bindings: display: add rotation property to sitronix, st7789v Gerald Loacker
2023-03-15 7:51 ` [PATCH 6/7] dt-bindings: display: add rotation property to sitronix,st7789v Krzysztof Kozlowski
2023-03-15 7:51 ` Krzysztof Kozlowski
2023-03-14 11:56 ` [PATCH 7/7] dt-bindings: display: add panel-timing " Gerald Loacker
2023-03-14 11:56 ` [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix, st7789v Gerald Loacker
2023-03-15 7:51 ` [PATCH 7/7] dt-bindings: display: add panel-timing property to sitronix,st7789v Krzysztof Kozlowski
2023-03-15 7:51 ` Krzysztof Kozlowski
2023-03-16 21:57 ` Rob Herring [this message]
2023-03-16 21:57 ` Rob Herring
2023-03-16 22:29 ` Michael Riesch
2023-03-16 22:29 ` Michael Riesch
2023-03-29 9:16 ` Maxime Ripard
2023-03-29 9:16 ` Maxime Ripard
2023-03-29 10:08 ` Michael Riesch
2023-03-29 10:08 ` Michael Riesch
2023-03-30 14:58 ` Maxime Ripard
2023-03-30 14:58 ` Maxime Ripard
2023-03-31 9:36 ` Michael Riesch
2023-03-31 9:36 ` Michael Riesch
2023-04-04 16:04 ` Maxime Ripard
2023-04-04 16:04 ` Maxime Ripard
2023-04-04 16:26 ` Michael Riesch
2023-04-04 16:26 ` Michael Riesch
2023-04-05 15:01 ` Maxime Ripard
2023-04-05 15:01 ` Maxime Ripard
2023-03-29 8:43 ` [PATCH 0/7] Add timing override " Gerald Loacker
2023-03-29 8:43 ` Gerald Loacker
2023-03-31 9:49 ` Michael Riesch
2023-03-31 9:49 ` Michael Riesch
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=20230316215735.GA3940832-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gerald.loacker@wolfvision.net \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.riesch@wolfvision.net \
--cc=mripard@kernel.org \
--cc=sam@ravnborg.org \
--cc=thierry.reding@gmail.com \
/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.