Hi Thomas,<br><br>On Wed, May 9, 2012 at 3:34 AM, Thomas Abraham <<a href="mailto:thomas.abraham@linaro.org">thomas.abraham@linaro.org</a>> wrote:<br>> This patch series adds device tree based discovery support for Samsung's<br>
> s3c64xx compatible spi controller. This is mainly tested for Exynos4210<br>> and Exynos5250 with onboard spi nor flash device.<br>><br>> This patch series is based on Linux 3.4-rc5 with the following two<br>
> patch series applied.<br>><br>> [1] <a href="http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg10494.html">http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg10494.html</a><br>> [PATCH 00/20] ARM: Samsung: Add support for Exynos5250 Rev1.0<br>
><br>> [2] <a href="http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg09640.html">http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg09640.html</a><br>> [PATCH 0/6] S3C24XX: Add support for HSSPI on S3C2416/S3C2443<br>
><br>> Thomas Abraham (10):<br>> spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro<br>> spi: s3c64xx: move controller information into driver data<br>> ARM: Samsung: Remove spi hardware controller information from platform data<br>
> ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions<br>> ARM: Samsung: Update the device names for spi clock lookup<br>> ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function<br>
> spi: s3c64xx: Remove the 'set_level' callback from controller data<br>> ARM: Exynos4: Fix the incorrect hierarchy of spi controller bus clock<br>> ARM: Exynos5: Add spi clock support<br>> spi: s3c64xx: add device tree support<br>
><br>> .../devicetree/bindings/spi/spi-samsung.txt | 113 +++++<br>> arch/arm/mach-exynos/clock-exynos4.c | 66 ++-<br>> arch/arm/mach-exynos/clock-exynos5.c | 98 ++++<br>
> arch/arm/mach-exynos/include/mach/regs-clock.h | 4 +<br>> arch/arm/mach-exynos/setup-spi.c | 33 +--<br>> arch/arm/mach-s3c24xx/clock-s3c2416.c | 2 +-<br>> arch/arm/mach-s3c24xx/clock-s3c2443.c | 2 +-<br>
> arch/arm/mach-s3c24xx/common-s3c2443.c | 4 +-<br>> arch/arm/mach-s3c24xx/setup-spi.c | 10 +-<br>> arch/arm/mach-s3c64xx/clock.c | 20 +-<br>> arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +-<br>
> arch/arm/mach-s3c64xx/setup-spi.c | 19 +-<br>> arch/arm/mach-s5p64x0/clock-s5p6440.c | 12 +-<br>> arch/arm/mach-s5p64x0/clock-s5p6450.c | 12 +-<br>> arch/arm/mach-s5p64x0/setup-spi.c | 21 +-<br>
> arch/arm/mach-s5pc100/clock.c | 30 +-<br>> arch/arm/mach-s5pc100/setup-spi.c | 30 +--<br>> arch/arm/mach-s5pv210/clock.c | 14 +-<br>> arch/arm/mach-s5pv210/setup-spi.c | 21 +-<br>
> arch/arm/plat-samsung/devs.c | 50 +--<br>> arch/arm/plat-samsung/include/plat/s3c64xx-spi.h | 31 +-<br>> drivers/spi/spi-s3c64xx.c | 467 +++++++++++++++++---<br>
> 22 files changed, 753 insertions(+), 308 deletions(-)<br>> create mode 100644 Documentation/devicetree/bindings/spi/spi-samsung.txt<br>><br>><br>After applying this patchset, there is a build warning in the boot log.<br>
Below is the warning..<br><br>------------[ cut here ]------------<br>WARNING: at drivers/base/dd.c:257 driver_probe_device+0x1ac/0x218()<br>Modules linked in:<br>[<c00159fc>] (unwind_backtrace+0x0/0xfc) from [<c0023e5c>] (warn_slowpath_common+0x54/0x64)<br>
[<c0023e5c>] (warn_slowpath_common+0x54/0x64) from [<c0023e88>] (warn_slowpath_null+0x1c/0x24)<br>[<c0023e88>] (warn_slowpath_null+0x1c/0x24) from [<c02b6670>] (driver_probe_device+0x1ac/0x218)<br>
[<c02b6670>] (driver_probe_device+0x1ac/0x218) from [<c02b6768>] (__driver_attach+0x8c/0x90)<br>[<c02b6768>] (__driver_attach+0x8c/0x90) from [<c02b4ddc>] (bus_for_each_dev+0x54/0x80)<br>[<c02b4ddc>] (bus_for_each_dev+0x54/0x80) from [<c02b564c>] (bus_add_driver+0x1f4/0x2c0)<br>
[<c02b564c>] (bus_add_driver+0x1f4/0x2c0) from [<c02b6d5c>] (driver_register+0x78/0x180)<br>[<c02b6d5c>] (driver_register+0x78/0x180) from [<c00085f8>] (do_one_initcall+0x34/0x180)<br>[<c00085f8>] (do_one_initcall+0x34/0x180) from [<c069139c>] (kernel_init+0x114/0x1c0)<br>
[<c069139c>] (kernel_init+0x114/0x1c0) from [<c000ffec>] (kernel_thread_exit+0x0/0x8)<br>---[ end trace 6227d56b6a736442 ]---<br>m25p80 spi1.0: found w25q80, expected w25x80<br>m25p80 spi1.0: w25q80 (1024 Kbytes)<br>
2 ofpart partitions found on MTD device spi1.0<br>Creating 2 MTD partitions on "spi1.0":<br>0x000000000000-0x000000040000 : "U-Boot"<br>0x000000040000-0x000000100000 : "Kernel"<br><br>Thanks&Regards<br>
Padma<br>> --<br>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in<br>> the body of a message to <a href="mailto:majordomo@vger.kernel.org">majordomo@vger.kernel.org</a><br>
> More majordomo info at <a href="http://vger.kernel.org/majordomo-info.html">http://vger.kernel.org/majordomo-info.html</a><br><br>