From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751583AbcKFSvI (ORCPT ); Sun, 6 Nov 2016 13:51:08 -0500 Received: from up.free-electrons.com ([163.172.77.33]:60851 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751015AbcKFSvH (ORCPT ); Sun, 6 Nov 2016 13:51:07 -0500 Date: Sun, 6 Nov 2016 19:50:59 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: Daniel Vetter , David Airlie , Thierry Reding , Rob Herring , dri-devel , linux-arm-kernel , linux-kernel , linux-sunxi , Thomas Petazzoni Subject: Re: [PATCH v2 2/9] drm/sun4i: support A33 tcon Message-ID: <20161106185059.uo2cb67wmquwtnuc@lukather> References: <20160906144620.6322-1-maxime.ripard@free-electrons.com> <20160906144620.6322-3-maxime.ripard@free-electrons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sepn643nfxjbazal" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sepn643nfxjbazal Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 05, 2016 at 11:54:28PM +0800, Chen-Yu Tsai wrote: > Hi, >=20 > On Tue, Sep 6, 2016 at 10:46 PM, Maxime Ripard > wrote: > > The A33 has a significantly different pipeline, with components that di= ffer > > too. > > > > Make sure we had compatible for them. > > > > Signed-off-by: Maxime Ripard > > --- > > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 7 ++++= ++- > > drivers/gpu/drm/sun4i/sun4i_backend.c | 1 + > > drivers/gpu/drm/sun4i/sun4i_drv.c | 8 ++++= +--- > > drivers/gpu/drm/sun4i/sun4i_tcon.c | 8 ++++= +++- > > 4 files changed, 19 insertions(+), 5 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.= txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > > index df8f4aeefe4c..bd3136a5cba5 100644 > > --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > > +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > > @@ -26,7 +26,9 @@ TCON > > The TCON acts as a timing controller for RGB, LVDS and TV interfaces. > > > > Required properties: > > - - compatible: value should be "allwinner,sun5i-a13-tcon". > > + - compatible: value must be either: > > + * allwinner,sun5i-a13-tcon > > + * allwinner,sun8i-a33-tcon > > - reg: base address and size of memory-mapped region > > - interrupts: interrupt associated to this IP > > - clocks: phandles to the clocks feeding the TCON. Three are needed: > > @@ -59,6 +61,7 @@ system. > > Required properties: > > - compatible: value must be one of: > > * allwinner,sun5i-a13-display-backend > > + * allwinner,sun8i-a33-display-backend > > - reg: base address and size of the memory-mapped region. > > - clocks: phandles to the clocks feeding the frontend and backend > > * ahb: the backend interface clock > > @@ -80,6 +83,7 @@ deinterlacing and color space conversion. > > Required properties: > > - compatible: value must be one of: > > * allwinner,sun5i-a13-display-frontend > > + * allwinner,sun8i-a33-display-frontend >=20 > I just looked at the A23. It seems it's the same display frontend as the = A33. > Should we change the compatible string to a23 while it's still in RC? >=20 > The backend is probably different. The A33 only claims to support 2048x20= 48 > layers, while the A23 claims to support 8192x8192 layers. I think we can still keep it. Especially if we're not sure, we might need to make use of it in the future. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --sepn643nfxjbazal Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYH3uPAAoJEBx+YmzsjxAgoawP/jTenBJrNd8Hql9eSRUR3NZs +Ptc+XC+MMess8ME3n4qNwm+PgTO7FHc1bcVy1Lnzzed5l5kAEH/TjcXZjfqrqbZ q7aXqKTBHqxopoEN8PiC2JCOGTU7SYkTprJMza7wIpyV50rYLHw70MkRuVZ2zJBS woIKyFp2XpbA6VUeAGX7SSUvUA0WgaMzTi3cyXHLXvLyr32QBjGYCls9MZ1ZuFCK cs0ko/8aIp29zzqKuuI04JS81iwVlzbpofrHKsimUYnjB4Ll92+CbjcdRXU/pIQg u4XsWFEIr7WNwDbLBN+0nxqco/rgNbh2BtCWWKiizkInbkcPO5U11MsRPm/4AJjN ePRXuZuEGhXW16kjaorVMTpWE5AsZ6Vno3jIfI3yFiHiIVk5llcpWmGgPiC0Uk06 Q0F4kiMu+fQwj3FjlrQ67qny8ycEOolg+gqcz1OOwPU1LTw4jZPMjNQXFUNRQ2eF 0raLkbWraKLBDouAcvuo0aqS9dfDrPs1+qGRHdbaEGWyL4AU94e0djqyMQcB++FS 4qu0rv0qblFzLMMGyH6wLrfsEWBH5l9vqgrz33WDTFlopPeKW4XUluXXRiWgBHsi CxDY2HWkE5q2obyGnmJOqz2y9YEZ+kaPlRhDCxmkczG2KV3W6cbhzX2eYiqapv3A oS21IJt+mLDHLFRu+hz4 =c/49 -----END PGP SIGNATURE----- --sepn643nfxjbazal--