From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECA55C47258 for ; Thu, 11 Jan 2024 14:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7tui+KUJgweABs1xBQcRAUGPj0ATMUp+mTOA98rm5+Q=; b=rhLMP3stri535o pVpC41xkhPyjN6ZchG2WAe6DfAR7Uu/p26Mv686WLXT1EYx/ODyOzuCOqnKCIgq1fmcolc9K3OdnW iiu85wj3u+OKVW8txGRDb+bnj9KUflF0VPuD7xImXs8pOY2w+Tq/YlxznmvXmAMnT/TpV4LG17Efm X93Rh8ZdgI72JVOAo10DNRUuRBub3x2ISHVUY4BvM/1Izkl9W1YSBji7B29VUGsm3a/aewU49mrsy +dA/ioIo8SAf+TmY3AFU82z30PfFWZBbI3poJiy1hBVp7OTgQgCrqW7MpmpmavUNurygK+VOAAi33 OTyJbixK2PUQxh/Hug0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNwPQ-000L6k-2y; Thu, 11 Jan 2024 14:51:52 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNwPM-000L42-2G for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 14:51:51 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 45B31B81EDB; Thu, 11 Jan 2024 14:51:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 723B7C433C7; Thu, 11 Jan 2024 14:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704984706; bh=i6f1/14PJrdRngdxu4TuN5mOilOfj8PHEW7GGTEZJiE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F+8o1DrqtUWhBa87fT4v82Wvy/YQVwC1mEqvqUNVDilj/Txs9G4tdBRsIrQneD8aN CKv/E+I2mvkAPkag3fPsvsX8JDmZcx6zpOoJB+WcEE6muCUdZTke3oieaNZpyR6sH7 BsXK0CBkm2FyzL0Eco+F2CVqrs6iyVaWqJi3sx3fQRUU0/A90RefriChN/cHF0J8fh 7bAUobB2VfLz7B9dHmcvjj/HVECT7l7CfSy+qMF79VGu+N86iqX34HaPvg9B3rKGqv kURYtc5Jj2n9hUkzNztl6Iwn7fuSkutM4o54qYtBWyv9Inr7XhAal9SP5gGRc93s7u dakJBS9MpGftQ== Date: Thu, 11 Jan 2024 08:51:44 -0600 From: Rob Herring To: Raphael Gallais-Pou Cc: Yannick Fertre , Philippe Cornu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , 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 Subject: Re: [PATCH v2 1/6] dt-bindings: display: add dt-bindings for STM32 LVDS device Message-ID: <20240111145144.GA528743-robh@kernel.org> References: <20240111104049.38695-1-raphael.gallais-pou@foss.st.com> <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240111_065149_039831_D06577B7 X-CRM114-Status: GOOD ( 24.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 11, 2024 at 11:40:44AM +0100, Raphael Gallais-Pou wrote: > Add "st,stm32-lvds" compatible. > > Signed-off-by: Raphael Gallais-Pou > --- > Changes in v2: > - Switch compatible and clock-cells related areas > - Remove faulty #include in the example. > - Add entry in MAINTAINERS > --- > .../bindings/display/st,stm32-lvds.yaml | 117 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 118 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > > diff --git a/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > new file mode 100644 > index 000000000000..8dfc6e88f260 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > @@ -0,0 +1,117 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/st,stm32-lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics STM32 LVDS Display Interface Transmitter > + > +maintainers: > + - Raphael Gallais-Pou > + - Yannick Fertre > + > +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 regroups three sub blocks: regroups means rearranging. Perhaps 'contains' or 'is composed of' instead. > + - 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,stm32-lvds SoC specific compatible needed. > + > + "#clock-cells": > + const: 0 What clock is provided? > + > + 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: | Don't need '|' if no formatting to preserve. > + 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 > + #include > + > + lvds: lvds@48060000 { > + compatible = "st,stm32-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 9d959a6881f7..0b6ec5347195 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7193,6 +7193,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,stm32-lvds.yaml > F: drivers/gpu/drm/stm > > DRM DRIVERS FOR TI KEYSTONE > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26C6E4C3C8; Thu, 11 Jan 2024 14:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F+8o1Drq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 723B7C433C7; Thu, 11 Jan 2024 14:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704984706; bh=i6f1/14PJrdRngdxu4TuN5mOilOfj8PHEW7GGTEZJiE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F+8o1DrqtUWhBa87fT4v82Wvy/YQVwC1mEqvqUNVDilj/Txs9G4tdBRsIrQneD8aN CKv/E+I2mvkAPkag3fPsvsX8JDmZcx6zpOoJB+WcEE6muCUdZTke3oieaNZpyR6sH7 BsXK0CBkm2FyzL0Eco+F2CVqrs6iyVaWqJi3sx3fQRUU0/A90RefriChN/cHF0J8fh 7bAUobB2VfLz7B9dHmcvjj/HVECT7l7CfSy+qMF79VGu+N86iqX34HaPvg9B3rKGqv kURYtc5Jj2n9hUkzNztl6Iwn7fuSkutM4o54qYtBWyv9Inr7XhAal9SP5gGRc93s7u dakJBS9MpGftQ== Date: Thu, 11 Jan 2024 08:51:44 -0600 From: Rob Herring To: Raphael Gallais-Pou Cc: Yannick Fertre , Philippe Cornu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , 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 Subject: Re: [PATCH v2 1/6] dt-bindings: display: add dt-bindings for STM32 LVDS device Message-ID: <20240111145144.GA528743-robh@kernel.org> References: <20240111104049.38695-1-raphael.gallais-pou@foss.st.com> <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> On Thu, Jan 11, 2024 at 11:40:44AM +0100, Raphael Gallais-Pou wrote: > Add "st,stm32-lvds" compatible. > > Signed-off-by: Raphael Gallais-Pou > --- > Changes in v2: > - Switch compatible and clock-cells related areas > - Remove faulty #include in the example. > - Add entry in MAINTAINERS > --- > .../bindings/display/st,stm32-lvds.yaml | 117 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 118 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > > diff --git a/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > new file mode 100644 > index 000000000000..8dfc6e88f260 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > @@ -0,0 +1,117 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/st,stm32-lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics STM32 LVDS Display Interface Transmitter > + > +maintainers: > + - Raphael Gallais-Pou > + - Yannick Fertre > + > +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 regroups three sub blocks: regroups means rearranging. Perhaps 'contains' or 'is composed of' instead. > + - 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,stm32-lvds SoC specific compatible needed. > + > + "#clock-cells": > + const: 0 What clock is provided? > + > + 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: | Don't need '|' if no formatting to preserve. > + 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 > + #include > + > + lvds: lvds@48060000 { > + compatible = "st,stm32-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 9d959a6881f7..0b6ec5347195 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7193,6 +7193,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,stm32-lvds.yaml > F: drivers/gpu/drm/stm > > DRM DRIVERS FOR TI KEYSTONE > -- > 2.25.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 136ADC47077 for ; Thu, 11 Jan 2024 14:51:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8639A10E65C; Thu, 11 Jan 2024 14:51:50 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 08C5710E65C for ; Thu, 11 Jan 2024 14:51:49 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 45B31B81EDB; Thu, 11 Jan 2024 14:51:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 723B7C433C7; Thu, 11 Jan 2024 14:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704984706; bh=i6f1/14PJrdRngdxu4TuN5mOilOfj8PHEW7GGTEZJiE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F+8o1DrqtUWhBa87fT4v82Wvy/YQVwC1mEqvqUNVDilj/Txs9G4tdBRsIrQneD8aN CKv/E+I2mvkAPkag3fPsvsX8JDmZcx6zpOoJB+WcEE6muCUdZTke3oieaNZpyR6sH7 BsXK0CBkm2FyzL0Eco+F2CVqrs6iyVaWqJi3sx3fQRUU0/A90RefriChN/cHF0J8fh 7bAUobB2VfLz7B9dHmcvjj/HVECT7l7CfSy+qMF79VGu+N86iqX34HaPvg9B3rKGqv kURYtc5Jj2n9hUkzNztl6Iwn7fuSkutM4o54qYtBWyv9Inr7XhAal9SP5gGRc93s7u dakJBS9MpGftQ== Date: Thu, 11 Jan 2024 08:51:44 -0600 From: Rob Herring To: Raphael Gallais-Pou Subject: Re: [PATCH v2 1/6] dt-bindings: display: add dt-bindings for STM32 LVDS device Message-ID: <20240111145144.GA528743-robh@kernel.org> References: <20240111104049.38695-1-raphael.gallais-pou@foss.st.com> <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240111104049.38695-2-raphael.gallais-pou@foss.st.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, Maxime Coquelin , Conor Dooley , Krzysztof Kozlowski , devicetree@vger.kernel.org, Yannick Fertre , Alexandre Torgue , Maxime Ripard , linux-kernel@vger.kernel.org, Philippe Cornu , Thomas Zimmermann , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Jan 11, 2024 at 11:40:44AM +0100, Raphael Gallais-Pou wrote: > Add "st,stm32-lvds" compatible. > > Signed-off-by: Raphael Gallais-Pou > --- > Changes in v2: > - Switch compatible and clock-cells related areas > - Remove faulty #include in the example. > - Add entry in MAINTAINERS > --- > .../bindings/display/st,stm32-lvds.yaml | 117 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 118 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > > diff --git a/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > new file mode 100644 > index 000000000000..8dfc6e88f260 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/st,stm32-lvds.yaml > @@ -0,0 +1,117 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/st,stm32-lvds.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: STMicroelectronics STM32 LVDS Display Interface Transmitter > + > +maintainers: > + - Raphael Gallais-Pou > + - Yannick Fertre > + > +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 regroups three sub blocks: regroups means rearranging. Perhaps 'contains' or 'is composed of' instead. > + - 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,stm32-lvds SoC specific compatible needed. > + > + "#clock-cells": > + const: 0 What clock is provided? > + > + 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: | Don't need '|' if no formatting to preserve. > + 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 > + #include > + > + lvds: lvds@48060000 { > + compatible = "st,stm32-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 9d959a6881f7..0b6ec5347195 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7193,6 +7193,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,stm32-lvds.yaml > F: drivers/gpu/drm/stm > > DRM DRIVERS FOR TI KEYSTONE > -- > 2.25.1 >