From: Yannick FERTRE <yannick.fertre@foss.st.com>
To: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Philippe Cornu <philippe.cornu@foss.st.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: <dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
Conor Dooley <conor.dooley@microchip.com>
Subject: Re: [PATCH v6 1/3] dt-bindings: display: add STM32 LVDS device
Date: Mon, 18 Mar 2024 16:22:59 +0100 [thread overview]
Message-ID: <abd6274c-d6c1-41de-b5a7-3ed3a1de162c@foss.st.com> (raw)
In-Reply-To: <20240226-lvds-v6-1-15e3463fbe70@foss.st.com>
Hi Raphael,
thanks for the patch.
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Best regards
On 2/26/24 11:48, Raphael Gallais-Pou wrote:
> Add "st,stm32mp25-lvds" compatible.
>
> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Depends on: "dt-bindings: stm32: add clocks and reset binding for
> stm32mp25 platform" by Gabriel Fernandez
>
> Changes in v6:
> - Added Conor's Reviewed-by
>
> Changes in v5:
> - Fixed path in MAINTAINERS
>
> Changes in v4:
> - Align filename to compatible
> - Fix compatible in the example
> - Remove redundant word in the subject
>
> Changes in v3:
> - Clarify commit dependency
> - Fix includes in the example
> - Fix YAML
> - Add "clock-cells" description
> - s/regroups/is composed of/
> - Changed compatible to show SoC specificity
>
> Changes in v2:
> - Switch compatible and clock-cells related areas
> - Remove faulty #include in the example.
> - Add entry in MAINTAINERS
> ---
> .../bindings/display/st,stm32mp25-lvds.yaml | 119 +++++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 120 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml b/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> new file mode 100644
> index 000000000000..6736f93256b5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> @@ -0,0 +1,119 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/st,stm32mp25-lvds.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STMicroelectronics STM32 LVDS Display Interface Transmitter
> +
> +maintainers:
> + - Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
> + - Yannick Fertre <yannick.fertre@foss.st.com>
> +
> +description: |
> + The STMicroelectronics STM32 LVDS Display Interface Transmitter handles the
> + LVDS protocol: it maps the pixels received from the upstream Pixel-DMA (LTDC)
> + onto the LVDS PHY.
> +
> + It is composed of three sub blocks:
> + - LVDS host: handles the LVDS protocol (FPD / OpenLDI) and maps its input
> + pixels onto the data lanes of the PHY
> + - LVDS PHY: parallelize the data and drives the LVDS data lanes
> + - LVDS wrapper: handles top-level settings
> +
> + The LVDS controller driver supports the following high-level features:
> + - FDP-Link-I and OpenLDI (v0.95) protocols
> + - Single-Link or Dual-Link operation
> + - Single-Display or Double-Display (with the same content duplicated on both)
> + - Flexible Bit-Mapping, including JEIDA and VESA
> + - RGB888 or RGB666 output
> + - Synchronous design, with one input pixel per clock cycle
> +
> +properties:
> + compatible:
> + const: st,stm32mp25-lvds
> +
> + "#clock-cells":
> + const: 0
> + description:
> + Provides the internal LVDS PHY clock to the framework.
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: APB peripheral clock
> + - description: Reference clock for the internal PLL
> +
> + clock-names:
> + items:
> + - const: pclk
> + - const: ref
> +
> + resets:
> + maxItems: 1
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/properties/port
> + description:
> + LVDS input port node, connected to the LTDC RGB output port.
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description:
> + LVDS output port node, connected to a panel or bridge input port.
> +
> + required:
> + - port@0
> + - port@1
> +
> +required:
> + - compatible
> + - "#clock-cells"
> + - reg
> + - clocks
> + - clock-names
> + - resets
> + - ports
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/st,stm32mp25-rcc.h>
> + #include <dt-bindings/reset/st,stm32mp25-rcc.h>
> +
> + lvds: lvds@48060000 {
> + compatible = "st,stm32mp25-lvds";
> + reg = <0x48060000 0x2000>;
> + #clock-cells = <0>;
> + clocks = <&rcc CK_BUS_LVDS>, <&rcc CK_KER_LVDSPHY>;
> + clock-names = "pclk", "ref";
> + resets = <&rcc LVDS_R>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> + lvds_in: endpoint {
> + remote-endpoint = <<dc_ep1_out>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> + lvds_out0: endpoint {
> + remote-endpoint = <&lvds_panel_in>;
> + };
> + };
> + };
> + };
> +
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 3527a2ece6cd..ff5c945f206e 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -7240,6 +7240,7 @@ L: dri-devel@lists.freedesktop.org
> S: Maintained
> T: git git://anongit.freedesktop.org/drm/drm-misc
> F: Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml
> +F: Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> F: drivers/gpu/drm/stm
>
> DRM DRIVERS FOR TI KEYSTONE
>
next prev parent reply other threads:[~2024-03-18 15:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 10:48 [PATCH v6 0/3] Introduce STM32 LVDS driver Raphael Gallais-Pou
2024-02-26 10:48 ` [PATCH v6 1/3] dt-bindings: display: add STM32 LVDS device Raphael Gallais-Pou
2024-03-18 15:22 ` Yannick FERTRE [this message]
2024-02-26 10:48 ` [PATCH v6 2/3] drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver Raphael Gallais-Pou
2024-03-18 15:26 ` Yannick FERTRE
2024-02-26 10:48 ` [PATCH v6 3/3] drm/stm: ltdc: add lvds pixel clock Raphael Gallais-Pou
2024-06-21 14:55 ` Yannick FERTRE
2024-06-28 12:45 ` Philippe CORNU
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=abd6274c-d6c1-41de-b5a7-3ed3a1de162c@foss.st.com \
--to=yannick.fertre@foss.st.com \
--cc=airlied@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=philippe.cornu@foss.st.com \
--cc=raphael.gallais-pou@foss.st.com \
--cc=robh+dt@kernel.org \
--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 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).