From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philippe Fouquet Subject: Re: [PATCH 4/8] drm/sun4i: Add optional 'mode' property to TCON Date: Sun, 12 Feb 2017 08:50:27 -0800 (PST) Message-ID: <5e26468b-5f16-4da2-be50-e2375c5bc8ce@googlegroups.com> References: <20170211174405.28395-1-plaes@plaes.org> <20170211174405.28395-5-plaes@plaes.org> Reply-To: ph.fouquet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1207_2088436318.1486918227416" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20170211174405.28395-5-plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: linux-sunxi Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, net147-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org, wens-jdAy2FN1RRM@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, airlied-cv59FeDIM0c@public.gmane.org, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org List-Id: devicetree@vger.kernel.org ------=_Part_1207_2088436318.1486918227416 Content-Type: multipart/alternative; boundary="----=_Part_1208_1556929176.1486918227416" ------=_Part_1208_1556929176.1486918227416 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable First way thank for this work But I can't use it, I'm explain myself. My LVDS connexion works fine because I display correctly the console under= =20 uboot (I work with CONFIG_VIDEO_LCD_MODE) I use the wiki : http://linux-sunxi.org/LCD to convert my fex config to=20 CONFIG_VIDEO_LCD_MODE for the uboot all work fine But for the kernel nothing, I have some crazy line or black screen. - I add my lcd configuration into simple_panel.c ( http://linux-sunxi.org/LCD) - I can seen the debug ligne came from LVDS driver. - My LCD screen is a dlc070ddg 7' 800x480 LVDS 18bits. - I work with a Olimex_A20-OLinuXino-Micro=20 . I don't know where I can search If some body have a idea? Thanks=20 Le samedi 11 f=C3=A9vrier 2017 18:44:59 UTC+1, Priit Laes a =C3=A9crit : > > Add variable to enable either 'rgb' or 'lvds' output.=20 > > Signed-off-by: Priit Laes >=20 > ---=20 > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++=20 > 1 file changed, 3 insertions(+)=20 > > diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.tx= t=20 > b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt=20 > index b82c004..c367ede 100644=20 > --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt=20 > +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt=20 > @@ -43,6 +43,9 @@ Required properties:=20 > - reset-names: the reset names mentioned above=20 > - clock-output-names: Name of the pixel clock created=20 > =20 > +- mode: Defines which encoder will be enabled. Values are 'rgb', 'lvds'.= =20 > + Defaults to 'rgb' if not set.=20 > +=20 > - ports: A ports node with endpoint definitions as defined in=20 > Documentation/devicetree/bindings/media/video-interfaces.txt. The=20 > first port should be the input endpoint, the second one the output=20 > --=20 > 2.9.3=20 > > --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. ------=_Part_1208_1556929176.1486918227416 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
First way= thank for this work
But I can't use it, I'm=C2=A0explain=C2=A0myself.

My LVDS connexion works fine beca= use I display correctly the console under uboot (I work with=C2=A0CONFIG_VIDEO_LCD_MODE)

I use the wiki :=C2=A0http://linux-sunxi.org/LCD=C2=A0to convert my fex config= to=C2=A0CONFIG_VIDEO_LCD_MODE<= span style=3D"color: rgb(0, 0, 0);">=C2=A0for the=C2=A0uboot all work fine

But for the kernel not= hing, I have some=C2=A0crazy line or=C2=A0black=C2=A0screen.
I don't know where I can search If some body have a idea?
Thanks=C2=A0

Le samedi 11 f=C3=A9vrier 2017 18:44:59 = UTC+1, Priit Laes a =C3=A9crit=C2=A0:
Add variable to enable either 'rgb' or 'lvds' output= .

Signed-off-by: Priit Laes <pl...-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>
---
=C2=A0Documentation/devicetree/bindings/display/sunxi/sun4i-d= rm.txt | 3 +++
=C2=A01 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i= -drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-= drm.txt
index b82c004..c367ede 100644
--- a/Documentation/devicetree/bindings/display/sunxi/sun4i-d= rm.txt
+++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-d= rm.txt
@@ -43,6 +43,9 @@ Required properties:
=C2=A0 - reset-names: the reset names mentioned above
=C2=A0 - clock-output-names: Name of the pixel clock created
=C2=A0
+- mode: Defines which encoder will be enabled. Values are 'rgb'= ;, 'lvds'.
+ =C2=A0Defaults to 'rgb' if not set.
+
=C2=A0- ports: A ports node with endpoint definitions as defined in
=C2=A0 =C2=A0Documentation/devicetree/bindings/media/video-in= terfaces.txt. The
=C2=A0 =C2=A0first port should be the input endpoint, the second one th= e output
--=20
2.9.3

--
You received this message because you are subscribed to the Google Groups &= quot;linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-s= unxi+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_1208_1556929176.1486918227416-- ------=_Part_1207_2088436318.1486918227416--