From: Grant Likely Subject: Re: [PATCH] [V4] Xilinx : Framebuffer Driver: Add PLB support and cleanup DCR Date: Thu, 16 Apr 2009 13:01:42 -0600 Message-ID: References: <20090416163021.023DC770050@mail77-va3.bigfish.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090416163021.023DC770050@mail77-va3.bigfish.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org To: John Linn Cc: linux-fbdev-devel@lists.sourceforge.net, adaplas@gmail.com, Suneel , linuxppc-dev@ozlabs.org, akonovalov@ru.mvista.com On Thu, Apr 16, 2009 at 10:26 AM, John Linn wrote: > Added support for the new xps tft controller. The new core > has PLB interface support in addition to existing DCR interface. > > Removed platform device support as both MicroBlaze and PowerPC > use device tree. > > Previously, the dcr interface was assumed to be used in mmio mode, > and the register space of the dcr interface was precomputed and stuffed > into the device tree. This driver now makes use of the new dcr > infrastructure to represent the dcr interface. This enables the dcr > interface to be connected directly to a native dcr interface in a clean > way. > > Added compatibility for ml507 dvi core. > > Signed-off-by: Suneel > Signed-off-by: Stephen Neuendorffer > Signed-off-by: John Linn > --- > > V2 - cleanup based on review > V3 - update to be based on top of tree rather than Xilinx tree, sorry for= the > =A0confusion with this, update the name of the patch slightly to be more = accurate > V4 - update based on Grant's comments to simplify it, the binding wasn't = changed > =A0as the conversation seemed to verify it's acceptable Actually Stephen and I agreed that the driver should *not* go looking for the xlnx,dcr-splb-slave-if property. reg and dcr-reg are sufficient. If a driver has both properties, then either method of access will work. > @@ -107,12 +112,21 @@ static struct fb_var_screeninfo xilinx_fb_var =3D { > =A0 =A0 =A0 =A0.activate =3D =A0 =A0 FB_ACTIVATE_NOW > =A0}; > > + > +#define PLB_ACCESS_FLAG =A0 =A0 =A0 =A00x1 =A0 =A0 =A0 =A0 =A0 =A0 /* 1 = =3D PLB, 0 =3D DCR */ > + Also, this define is no longer required. g. -- = Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.