On Wed, Dec 9, 2009 at 9:16 PM, Mark Brown
<broo...@opensource.wolfsonmicro.com> wrote:
> On Wed, Dec 09, 2009 at 10:50:16AM +0900, jassi brar wrote:
>
>>   Second - SPI source clocks specific, which SoCs differ by name and number.
>>           Maybe this could go into plat-<soc>/include with the name
>>           <soc>-spi.h
>
> With device based lookup (which Ben mentioned he was working on) this
> mapping should get handled entirely within the CPU clock tree
> definition and be invisible to the driver.
I meant the following part as SoC specific include:-
  #define S3C64XX_SPI_SRCCLK_PCLK                0
  #define S3C64XX_SPI_SRCCLK_SPIBUS      1
  #define S3C64XX_SPI_SRCCLK_48M         2
  #define BUSNUM(b)              (b)

the rest can be shared across SoCs in common include
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to