Re: [PATCH] ppc44x:PHY fixup for USB on canyonlands board

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josh Boyer
Date: Wednesday, November 10, 2010 - 7:19 am

On Wed, Nov 10, 2010 at 05:07:15PM +0530, Rupjyoti Sarmah wrote:

Is this just for canyonlands?  If so, it's probably better off in a
caynonlands specific file, or a function that gets called in the common
platform file if the model matches canyonlands.  It seems a bit overkill
to introduce an entire new file and Kconfig option for this.


Normally we don't leave a space in compatible properties.


We already have "ibm,ppc4xx-gpio" as an established compatible field for
4xx GPIO.  As far as I know, this is not a different kind of GPIO
controller than what is found on the other boards, so we should stick
with the existing property.


Nit: the indentation on that brace is off.


If this fails, but the bcsr search works, what happens?  Possibly
nothing, but I wonder if the search for both nodes should be done before
actually touching the hardware.


With this being an arch_initcall, it will get called for every kind of
platform in a multi-board kernel.  Another reason to only call it from a
board specific probe function if it really is canyonlands specific.

josh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ppc44x:PHY fixup for USB on canyonlands board, Rupjyoti Sarmah, (Wed Nov 10, 4:37 am)
Re: [PATCH] ppc44x:PHY fixup for USB on canyonlands board, Josh Boyer, (Wed Nov 10, 7:19 am)
Re: [PATCH] ppc44x:PHY fixup for USB on canyonlands board, Benjamin Herrenschmidt, (Wed Nov 10, 7:38 am)
RE: [PATCH] ppc44x:PHY fixup for USB on canyonlands board, Rupjyoti Sarmah, (Wed Nov 10, 7:43 am)
RE: [PATCH] ppc44x:PHY fixup for USB on canyonlands board, Benjamin Herrenschmidt, (Wed Nov 10, 8:22 am)