aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorFranklin S Cooper Jr <[email protected]>2015-07-22 07:32:22 -0500
committerMark Brown <[email protected]>2015-07-24 17:35:51 +0100
commitfa466c91970a0207d9384016cc7884a7f61834b6 (patch)
tree70667d43747ee5a8191fb1852942740db1fba68c /include/linux/platform_data
parentbba732d86694f7217a41e83a2c1deb42ed9aa7fd (diff)
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 <[email protected]> Reviewed-by: Sekhar Nori <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/spi-davinci.h1
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;
};