[PATCH 10/10] spi: s3c64xx: add device tree support

2012-05-08 Thread Thomas Abraham
Add support for device based discovery. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277 +--- 2 files changed, 358 insertions(+), 32 deletions(-)

[PATCH 09/10] ARM: Exynos5: Add spi clock support

2012-05-08 Thread Thomas Abraham
Add support for clock instances for each spi controller. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos5.c | 98 arch/arm/mach-exynos/include/mach/regs-clock.h |4 + 2 files changed, 102 insertions(+), 0 deletions(-) diff --git a/arc

[PATCH 07/10] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-05-08 Thread Thomas Abraham
The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently use gpio as the slave select line, this callback can be removed from the controller data a

[PATCH 08/10] ARM: Exynos4: Fix the incorrect hierarchy of spi controller bus clock

2012-05-08 Thread Thomas Abraham
The sclk_spi clock is derived currently from the first level divider (MMCx_RATIO) which is incorrect. The output of the first level clock is divided by a second level divider (MMCx_PRE_RATIO), the output of which is used as the spi bus clock (sclk_spi). Fix the clock hierarchy issues for the sclk_s

[PATCH 04/10] ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions

2012-05-08 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this paremeter is removed from all the spi gpio setup functions. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm/mach-s3c

[PATCH 05/10] ARM: Samsung: Update the device names for spi clock lookup

2012-05-08 Thread Thomas Abraham
With the addition of platform specific driver data in the spi-s3c64xx driver, the device name of spi controllers are changed. Accordingly, update the device name of spi clocks instances. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos4.c | 18 +- arch/arm/

[PATCH 02/10] spi: s3c64xx: move controller information into driver data

2012-05-08 Thread Thomas Abraham
Platform data is used to specify controller hardware specific information such as the tx/rx fifo level mask and bit offset of rx fifo level. Such information is not suitable to be supplied from device tree. Instead, it can be moved into the driver data and removed from platform data. Cc: Jaswinder

[PATCH 06/10] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-08 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Cc: Jaswinder Singh Signed-off-by: Thomas

[PATCH 03/10] ARM: Samsung: Remove spi hardware controller information from platform data

2012-05-08 Thread Thomas Abraham
With the spi hardware controller information moved to spi driver data, this information can be removed from the spi platform data. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/setup-spi.c | 25 -- arch/arm/mach-s3c24xx/setup-sp

[PATCH 00/10] spi: s3c64xx: add support for device tree

2012-05-08 Thread Thomas Abraham
This patch series adds device tree based discovery support for Samsung's s3c64xx compatible spi controller. This is mainly tested for Exynos4210 and Exynos5250 with onboard spi nor flash device. This patch series is based on Linux 3.4-rc5 with the following two patch series applied. [1] http://ww

[PATCH 01/10] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-05-08 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 972a94c..

Offre spéciale, lit double à 349€ pendant 7 jours !

2012-05-08 Thread Virginie Rendez vous deco
Pour voir le message, veuillez utiliser un lecteur de mail compatible HTML Lien miroir : http://m10-fr.com/mc10_m/YT0yNyZiPTExMzE1JmM9MjM2NDM3JmQ9MjAxMi0wNS0wOCAxNTowMDowMSZlPTEmaD0xMTMxNCZmPTExMzE1Jmc9MTEzMTU= Lien de désinscription : http://m10-fr.com/mc10_unsub/YT0yNyZiPTExMzE1JmM9MjM2NDM3Jm