Re: [PATCH 3/5] SPI S3C64XX: Header for passing platform data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 9, 2009 at 9:16 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux