Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1189868
| From | Franklin S Cooper Jr <fcooper@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value |
| Date | 2015-07-22 14:40 +0200 |
| Message-ID | <pP1tw-6UG-15@gated-at.bofh.it> (permalink) |
| References | <pP1tv-6UG-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
SPI Davinci driver has been updated to allow SOCs to specify their minimum
prescale value. Update the various SOCs board files that use this driver with
their proper prescaler limit.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
arch/arm/mach-davinci/devices-da8xx.c | 2 ++
arch/arm/mach-davinci/dm355.c | 1 +
arch/arm/mach-davinci/dm365.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index ddfdd82..29e08aa 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -1010,11 +1010,13 @@ static struct davinci_spi_platform_data da8xx_spi_pdata[] = {
.version = SPI_VERSION_2,
.intr_line = 1,
.dma_event_q = EVENTQ_0,
+ .prescaler_limit = 2,
},
[1] = {
.version = SPI_VERSION_2,
.intr_line = 1,
.dma_event_q = EVENTQ_0,
+ .prescaler_limit = 2,
},
};
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index 9cbeda7..567dc56 100644
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -411,6 +411,7 @@ static struct davinci_spi_platform_data dm355_spi0_pdata = {
.num_chipselect = 2,
.cshold_bug = true,
.dma_event_q = EVENTQ_1,
+ .prescaler_limit = 1,
};
static struct platform_device dm355_spi0_device = {
.name = "spi_davinci",
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index e3a3c54..6a890a8 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -646,6 +646,7 @@ static struct davinci_spi_platform_data dm365_spi0_pdata = {
.version = SPI_VERSION_1,
.num_chipselect = 2,
.dma_event_q = EVENTQ_3,
+ .prescaler_limit = 1,
};
static struct resource dm365_spi0_resources[] = {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RESEND][PATCH 0/4] spi: davinci: Improve prescaler limit support Franklin S Cooper Jr <fcooper@ti.com> - 2015-07-22 14:40 +0200
[RESEND][PATCH 1/4] spi: davinci: Set prescale value based on register value Franklin S Cooper Jr <fcooper@ti.com> - 2015-07-22 14:40 +0200
[RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI Franklin S Cooper Jr <fcooper@ti.com> - 2015-07-22 14:40 +0200
Re: [RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI santosh shilimkar <santosh.shilimkar@oracle.com> - 2015-07-22 18:20 +0200
[RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value Franklin S Cooper Jr <fcooper@ti.com> - 2015-07-22 14:40 +0200
Re: [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value Sekhar Nori <nsekhar@ti.com> - 2015-07-24 14:00 +0200
[RESEND][PATCH 2/4] spi: davinci: Choose correct pre-scaler limit based on SOC Franklin S Cooper Jr <fcooper@ti.com> - 2015-07-22 14:40 +0200
Re: [RESEND][PATCH 2/4] spi: davinci: Choose correct pre-scaler limit based on SOC Sekhar Nori <nsekhar@ti.com> - 2015-07-24 14:00 +0200
csiph-web