On Thu, 2010-04-01 at 14:11 +0200, ext Hiremath, Vaibhav wrote: > > -----Original Message----- > > From: Tomi Valkeinen [mailto:[email protected]] > > Sent: Thursday, April 01, 2010 5:25 PM > > To: Hiremath, Vaibhav > > Cc: [email protected]; [email protected] > > Subject: Re: [PATCH 1/2] OMAP3EVM: Made backlight GPIO default state to off > > > > Hi, > > > > On Mon, 2010-03-22 at 14:11 +0100, ext [email protected] wrote: > > > From: Vaibhav Hiremath <[email protected]> > > > > > > If you choose default output to DVI, the LCD backlight still > > > gets powered, since panel->disable function never gets called for LCD. > > > > > > So, during init put backlight GPIO to off state and the driverr > > > code will decide which output to enable explicitly. > > > > I'm not sure I understand this patch. You talk about choosing default > > output (via kernel boot args, I presume), > [Hiremath, Vaibhav] yes you are correct. I am talking about default output > selection using bootargs. > > > but the code checks for EVM > > revision. What is the connection between EVM revision and selecting > > display output? > [Hiremath, Vaibhav] Ohh ok, I think you are not aware that we do have 2 > version of EVM's. EVM-1 with positive (backlight gpio) polarity and EVM-2 > with negative (backlight gpio) polarity. > > The code is doing exactly same.
Ok. But I still don't understand the relation with the patch comment, and the code. Shouldn't you anyway initialize the backlight gpio properly depending on the EVM revision, no matter if DVI is the default output or not? Perhaps the comment could be clarified. But the code looks fine: Acked-by: Tomi Valkeinen <[email protected]> Tomi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
