From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH v7 0/8] drm: sun8i: Add DE2 HDMI video support Date: Wed, 30 Nov 2016 00:56:44 +0200 Message-ID: <2256264.6LWGGhFAiO@avalon> References: <20161129213650.uqcgekodq77wlmxs@lukather> <8398357e-5c5e-4d76-9022-1c668aff5076@googlegroups.com> Reply-To: laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <8398357e-5c5e-4d76-9022-1c668aff5076-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Jernej Skrabec Cc: linux-sunxi , moinejf-GANU6spQydw@public.gmane.org, airlied-cv59FeDIM0c@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, kieran.bingham-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org List-Id: devicetree@vger.kernel.org Hi Jernej, (CC'ing Kieran Bingham) On Tuesday 29 Nov 2016 14:47:20 Jernej Skrabec wrote: > Dne torek, 29. november 2016 22.37.03 UTC+1 je oseba Maxime Ripard napisala: > > On Tue, Nov 29, 2016 at 11:18:35AM +0100, Jean-Francois Moine wrote: > >> This patchset series adds HDMI video support to the Allwinner > >> sun8i SoCs which include the display engine 2 (DE2). > >> The driver contains the code for the A83T and H3 SoCs, and > >> some H3 boards, but it could be used/extended for other SoCs > >> (A64, H2, H5) and boards (Banana PIs, Orange PIs). > > > > Honestly, I'm getting a bit worried by the fact that you ignore > > reviews. > > > > On the important reviews that you got that are to be seen as major > > > > issues that block the inclusion, we have: > > - The fact that the HDMI driver is actually just a designware IP, > > and while you should use the driver that already exists, you just > > duplicated all that code. > > That might be hard thing to do. A83T fits perfectly, but H3 and newer SoCs > do not. They are using completely different HDMI phy. Decoupling controller > and phy code means rewritting a good portion of the code, unless some tricks > are applied, like calling phy function pointers, if they are defined. Same HDMI TX but different HDMI TX PHY ? Kieran is working on decoupling the PHY configuration code for a Renesas SoC, that might be of interest to you. > Register addresses also differ, but that can be easily solved by using > undocumented magic value to restore them. I love that :-) > > - The fact that you ignored Rob (v6) and I (v5) comment on using OF > > graph to model the connection between the display engine and the > > TCON. Something that Laurent also pointed out in this version. > > > > - The fact that you ignored that you needed an HDMI connector node > > as a child of the HDMI controller. This has been reported by Rob > > (v6) and yet again in this version by Laurent. > > > > - And finally the fact that we can't have several display engine in > > parallel, if needs be. This has happened in the past already on > > Allwinner SoCs, so it's definitely something we should consider in > > the DT bindings, since we can't break them. > > > > Until those are fixed, I cannot see how this driver can be merged, > > unfortunately. -- Regards, Laurent Pinchart