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(-)
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
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
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
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
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/
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
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
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
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
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..
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
12 matches
Mail list logo