spi: davinci: Choose correct pre-scaler limit based on SOC
authorFranklin S Cooper Jr <fcooper@ti.com>
Wed, 22 Jul 2015 12:32:22 +0000 (07:32 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2015 16:35:51 +0000 (17:35 +0100)
commitfa466c91970a0207d9384016cc7884a7f61834b6
tree70667d43747ee5a8191fb1852942740db1fba68c
parentbba732d86694f7217a41e83a2c1deb42ed9aa7fd
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>
Documentation/devicetree/bindings/spi/spi-davinci.txt
drivers/spi/spi-davinci.c
include/linux/platform_data/spi-davinci.h