Message ID | 1505121145-9507-4-git-send-email-jteki@openedev.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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?
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!
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.
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>; + }; + }; + }; +};