[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130118180548.GR14149@atomide.com>
Date: Fri, 18 Jan 2013 10:05:49 -0800
From: Tony Lindgren <tony@...mide.com>
To: Felipe Balbi <balbi@...com>
Cc: Luciano Coelho <coelho@...com>,
"Cousson, Benoit" <b-cousson@...com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
linux-omap@...r.kernel.org, linux@....linux.org.uk,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport
power functions
* Felipe Balbi <balbi@...com> [130118 09:57]:
> Hi,
>
> On Fri, Jan 18, 2013 at 09:36:35AM -0800, Tony Lindgren wrote:
> > * Luciano Coelho <coelho@...com> [130118 01:03]:
> > > On Thu, 2013-01-17 at 15:16 -0800, Tony Lindgren wrote:
> > > > * Luciano Coelho <coelho@...com> [130117 10:04]:
> > > > > But this patch is pretty small and simple, so why not include it to at
> > > > > least fix the breakage in 3.7 and 3.8? Whether you take it or not now
> > > > > won't make any difference in the 5k LOC in these kernel versions.
> > > >
> > > > Well we are planning to drop the non-DT support for omap4 as soon as it's
> > > > usable with DT. For omap4 we are only carrying SDP and panda support to
> > > > make this transition easier. The only bindings missing AFAIK are wl12xx and
> > > > USB.
> > >
> > > In my view this is a regression and it should be fixed with as simple a
> > > patch as possible. The alternative to my solution is to revert the
> > > patch that removed the enable/disable from the ti-st driver *and* fix
> > > u-boot, because if it doesn't mux the UART2 pins properly (and it
> > > doesn't) the shared transport still won't work.
> >
> > Fixing the muxing here makes sense naturally as we cannot do that in the driver
> > until we've flipped things over to use DT.
> >
> > But I don't think we should fix the driver regression by adding more platform
> > callbacks as we are getting rid of them anyways.
>
> it's not adding more callbacks, solely implementing them as it should
> have been done on Pavan's original patch.
It certainly is adding new callback functions to board-*.c files looking
at the diffstat :)
IMHO the right fix is to revert eccf2979 that caused the regression and then
adding the muxing to the board-*.c file(s).
It's OK for the driver to call the standard GPIO functions, and those will
be needed in the driver for the DT case anyways.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists