From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration Date: Thu, 22 Aug 2013 09:42:05 +0100 Message-ID: <20130822084205.GE6617@n2100.arm.linux.org.uk> References: <20130821202646.47af66a5@armhf> <20130821223605.GA6617@n2100.arm.linux.org.uk> <20130822085313.2e8b1ae6@armhf> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130822085313.2e8b1ae6@armhf> Sender: linux-kernel-owner@vger.kernel.org To: Jean-Francois Moine Cc: Sebastian Hesselbarth , dri-devel@lists.freedesktop.org, David Airlie , Darren Etheridge , Rob Clark , Daniel Vetter , linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org On Thu, Aug 22, 2013 at 08:53:13AM +0200, Jean-Francois Moine wrote: > On Wed, 21 Aug 2013 23:36:05 +0100 > Russell King - ARM Linux wrote: > > > > AFAIK, the TI boards have no "pin-swapped", nor has the Cubox (there is > > > no need to set the bit CFG_GRA_SWAPRB of the register LCD_SPU_DMA_CTRL0 > > > of the Dove lcd for RGB or YUV formats). > > > > > > Which board needs a special VIP configuration? > > > > If you run the NXP driver, and then run this driver, things get messed > > up - which has already been covered months ago when this patch was first > > brought up. > > > > It's there to ensure that the TDA998x is correctly configured no matter > > what it's previous state is, and prevent the thing being fragile as hell. > > The NXP driver will never go to the mainline, so, I don't see the > problem. If you want to use it to test some other drivers, you should > better patch it instead of adding useless code in the TDA998x driver. Sorry, you're wrong.