diff options
author | Franklin S Cooper Jr <fcooper@ti.com> | 2015-07-22 07:32:22 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-24 17:35:51 +0100 |
commit | fa466c91970a0207d9384016cc7884a7f61834b6 (patch) | |
tree | 70667d43747ee5a8191fb1852942740db1fba68c /include/linux | |
parent | bba732d86694f7217a41e83a2c1deb42ed9aa7fd (diff) | |
download | lwn-fa466c91970a0207d9384016cc7884a7f61834b6.tar.gz lwn-fa466c91970a0207d9384016cc7884a7f61834b6.zip |
spi: davinci: Choose correct pre-scaler limit based on SOC
Currently the pre-scaler limit is incorrect. The value differs slightly
for various devices so a single value can't be used. Using the compatible
field select the correct pre-scaler limit.
Add new compatible field value for Keystone devices to support their
unique pre-scaler limit value.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/platform_data/spi-davinci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-davinci.h b/include/linux/platform_data/spi-davinci.h index 8dc2fa47a2aa..f4edcb03c40c 100644 --- a/include/linux/platform_data/spi-davinci.h +++ b/include/linux/platform_data/spi-davinci.h @@ -49,6 +49,7 @@ struct davinci_spi_platform_data { u8 num_chipselect; u8 intr_line; u8 *chip_sel; + u8 prescaler_limit; bool cshold_bug; enum dma_event_q dma_event_q; }; |