From: Alexandre TORGUE <alexandre.torgue@foss.st.com>
To: Jagan Teki <jagan@amarulasolutions.com>,
Rob Herring <robh+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-amarula@amarulasolutions.com>,
Matteo Lisi <matteo.lisi@engicam.com>
Subject: Re: [PATCH v2 1/3] ARM: dts: stm32: Enable LVDS panel on i.Core STM32MP1 EDIMM2.2
Date: Mon, 29 Nov 2021 14:38:26 +0100 [thread overview]
Message-ID: <00340d22-c2ac-4de7-7a7f-32ad89eaa235@foss.st.com> (raw)
In-Reply-To: <20211112053856.18412-1-jagan@amarulasolutions.com>
Hi Jagan
On 11/12/21 6:38 AM, Jagan Teki wrote:
> Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit has plugged with
> 7" LVDS panel.
>
> Engicam i.Core STM32MP1 SoM has SN65DSI84 DSI to LVDS bridge.
>
> This patch adds a display pipeline to connect DSI to SN65DSI84
> to 7" LVDS panel.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
> Changes for v2:
> - none
>
> .../stm32mp157a-icore-stm32mp1-edimm2.2.dts | 85 +++++++++++++++++++
> 1 file changed, 85 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts
> index ec9f1d1cd50f..d80b4415e761 100644
> --- a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts
> +++ b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts
> @@ -24,6 +24,91 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + backlight: backlight {
> + compatible = "gpio-backlight";
> + gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>;
> + default-on;
> + };
> +
> + panel {
> + compatible = "yes-optoelectronics,ytc700tlag-05-201c";
> + backlight = <&backlight>;
> + power-supply = <&v3v3>;
> +
> + port {
> + panel_out_bridge: endpoint {
> + remote-endpoint = <&bridge_out_panel>;
> + };
> + };
> + };
> +};
> +
> +&dsi {
> + status = "okay";
> + phy-dsi-supply = <®18>;
> +
> + ports {
> + port@0 {
> + reg = <0>;
> + dsi_in_ltdc: endpoint {
> + remote-endpoint = <<dc_out_dsi>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> + dsi_out_bridge: endpoint {
> + remote-endpoint = <&bridge_in_dsi>;
> + };
> + };
> + };
> +};
> +
> +&i2c6 {
> + i2c-scl-falling-time-ns = <20>;
> + i2c-scl-rising-time-ns = <185>;
> + pinctrl-names = "default", "sleep";
> + pinctrl-0 = <&i2c6_pins_a>;
> + pinctrl-1 = <&i2c6_sleep_pins_a>;
> + status = "okay";
> +
> + bridge@2c {
> + compatible = "ti,sn65dsi84";
Running dtb_check I observe following issue:
bridge@2c: ports:port@0:endpoint:data-lanes:0:0: 1 was expected
From schema:
/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
Note, the same issue is observed in patch[3] of the series.
regards
Alex
> + reg = <0x2c>;
> + enable-gpios = <&gpiof 15 GPIO_ACTIVE_HIGH>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> + bridge_in_dsi: endpoint {
> + remote-endpoint = <&dsi_out_bridge>;
> + data-lanes = <0 1>;
> + };
> + };
> +
> + port@2 {
> + reg = <2>;
> + bridge_out_panel: endpoint {
> + remote-endpoint = <&panel_out_bridge>;
> + };
> + };
> + };
> + };
> +};
> +
> +<dc {
> + status = "okay";
> +
> + port {
> + ltdc_out_dsi: endpoint@0 {
> + reg = <0>;
> + remote-endpoint = <&dsi_in_ltdc>;
> + };
> + };
> };
>
> &sdmmc1 {
>
prev parent reply other threads:[~2021-11-29 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-12 5:38 [PATCH v2 1/3] ARM: dts: stm32: Enable LVDS panel on i.Core STM32MP1 EDIMM2.2 Jagan Teki
2021-11-12 5:38 ` [PATCH v2 2/3] dt-bindings: arm: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Jagan Teki
2021-11-29 1:42 ` Rob Herring
2021-11-12 5:38 ` [PATCH v2 3/3] ARM: dts: " Jagan Teki
2021-11-29 13:38 ` Alexandre TORGUE [this message]
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=00340d22-c2ac-4de7-7a7f-32ad89eaa235@foss.st.com \
--to=alexandre.torgue@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=jagan@amarulasolutions.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=matteo.lisi@engicam.com \
--cc=mcoquelin.stm32@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).