Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730224 > unrolled thread

[PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support

Started byJagan Teki <jagannadh.teki@gmail.com>
First post2017-09-11 11:20 +0200
Last post2017-09-19 22:20 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support Jagan Teki <jagannadh.teki@gmail.com> - 2017-09-11 11:20 +0200
    Re: [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support Fabio Estevam <festevam@gmail.com> - 2017-09-11 13:30 +0200
      Re: [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support Fabio Estevam <festevam@gmail.com> - 2017-09-19 18:00 +0200
        Re: [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support Jagan Teki <jagan@amarulasolutions.com> - 2017-09-19 21:30 +0200
          Re: [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support Fabio Estevam <festevam@gmail.com> - 2017-09-19 22:20 +0200

#1730224 — [PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support

FromJagan Teki <jagannadh.teki@gmail.com>
Date2017-09-11 11:20 +0200
Subject[PATCH v4 4/6] ARM: dts: imx6dl-icore: Add LVDS support
Message-ID<uot2O-Wk-21@gated-at.bofh.it>
From: Jagan Teki <jagan@amarulasolutions.com>

Add LVDS display support for OpenFrame Capacitive touch 7 inc
display which is supported by Engicam i.CoreM6 DualLite/Solo Starter Kit.

Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v4, v3, v2:
- none

 arch/arm/boot/dts/imx6dl-icore.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm/boot/dts/imx6dl-icore.dts b/arch/arm/boot/dts/imx6dl-icore.dts
index 6de83c7..360c32e 100644
--- a/arch/arm/boot/dts/imx6dl-icore.dts
+++ b/arch/arm/boot/dts/imx6dl-icore.dts
@@ -57,3 +57,28 @@
 &can2 {
 	status = "okay";
 };
+
+&ldb {
+	status = "okay";
+
+	lvds-channel@0 {
+		fsl,data-mapping = "spwg";
+		fsl,data-width = <18>;
+		status = "okay";
+
+		display-timings {
+			native-mode = <&timing0>;
+			timing0: timing0 {
+				clock-frequency = <60000000>;
+				hactive = <800>;
+				vactive = <480>;
+				hback-porch = <30>;
+				hfront-porch = <30>;
+				vback-porch = <5>;
+				vfront-porch = <5>;
+				hsync-len = <64>;
+				vsync-len = <20>;
+			};
+		};
+	};
+};
-- 
2.7.4

[toc] | [next] | [standalone]


#1730293

FromFabio Estevam <festevam@gmail.com>
Date2017-09-11 13:30 +0200
Message-ID<uov4B-2t7-1@gated-at.bofh.it>
In reply to#1730224
Hi Jagan,

On Mon, Sep 11, 2017 at 6:12 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:

> +&ldb {
> +       status = "okay";
> +
> +       lvds-channel@0 {
> +               fsl,data-mapping = "spwg";
> +               fsl,data-width = <18>;
> +               status = "okay";
> +
> +               display-timings {
> +                       native-mode = <&timing0>;
> +                       timing0: timing0 {
> +                               clock-frequency = <60000000>;
> +                               hactive = <800>;
> +                               vactive = <480>;
> +                               hback-porch = <30>;
> +                               hfront-porch = <30>;
> +                               vback-porch = <5>;
> +                               vfront-porch = <5>;
> +                               hsync-len = <64>;
> +                               vsync-len = <20>;

Please add the support of this panel to drivers/gpu/drm/panel/panel-simple.c.

Then you can refer its compatible in your board dts.

[toc] | [prev] | [next] | [standalone]


#1735040

FromFabio Estevam <festevam@gmail.com>
Date2017-09-19 18:00 +0200
Message-ID<urt6i-7kk-21@gated-at.bofh.it>
In reply to#1730293
Hi Jagan,

On Tue, Sep 19, 2017 at 2:06 AM, Jagan Teki <jagan@amarulasolutions.com> wrote:
> Hi Fabio,
>
>> Please add the support of this panel to drivers/gpu/drm/panel/panel-simple.c.
>>
>> Then you can refer its compatible in your board dts.
>
> Yes, I'm trying to add the display timings but I couldn't find any
> info how to find front_portch, back_porch and sync. I remember
> blanking time = Sync Width + BP + FP so out of which how can we
> determine each one respectively. Please let me know if you have any
> idea, I’ve attached the data-sheet.

Does the existing ampire,am800480r3tmqwa1h binding work for your display?

[toc] | [prev] | [next] | [standalone]


#1735188

FromJagan Teki <jagan@amarulasolutions.com>
Date2017-09-19 21:30 +0200
Message-ID<urwnv-ZR-11@gated-at.bofh.it>
In reply to#1735040
Hi Fabio,

On Tue, Sep 19, 2017 at 9:22 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Jagan,
>
> On Tue, Sep 19, 2017 at 2:06 AM, Jagan Teki <jagan@amarulasolutions.com> wrote:
>> Hi Fabio,
>>
>>> Please add the support of this panel to drivers/gpu/drm/panel/panel-simple.c.
>>>
>>> Then you can refer its compatible in your board dts.
>>
>> Yes, I'm trying to add the display timings but I couldn't find any
>> info how to find front_portch, back_porch and sync. I remember
>> blanking time = Sync Width + BP + FP so out of which how can we
>> determine each one respectively. Please let me know if you have any
>> idea, I’ve attached the data-sheet.
>
> Does the existing ampire,am800480r3tmqwa1h binding work for your display?

Yes, it is working..but need to understand how these respective
timings were calculated(because I need to add few more) . I tried this
supported ampire but couldn't get the data-sheet. Please point me if
you find any details.

thanks!
-- 
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

[toc] | [prev] | [next] | [standalone]


#1735236

FromFabio Estevam <festevam@gmail.com>
Date2017-09-19 22:20 +0200
Message-ID<urx9U-1zx-25@gated-at.bofh.it>
In reply to#1735188
On Tue, Sep 19, 2017 at 4:21 PM, Jagan Teki <jagan@amarulasolutions.com> wrote:

> Yes, it is working..but need to understand how these respective
> timings were calculated(because I need to add few more) . I tried this
> supported ampire but couldn't get the data-sheet. Please point me if
> you find any details.

I don't have information about this panel.

Maybe you could check with the author from commit:

commit 1c550fa193d08920255240743f57731d4d57cd4d
Author: Philipp Zabel <p.zabel@pengutronix.de>
Date:   Wed Feb 11 18:50:09 2015 +0100

    drm/panel: Add support for Ampire AM-800480R3TMQW-A1H 800x480 7" panel

    This adds support for the AM-800480R3TMQW-A1H 7" 800x480 panel to the
    DRM simple panel driver.

    Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
    Signed-off-by: Thierry Reding <treding@nvidia.com>

via dri-devel@lists.freedesktop.org list.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web