spi: kirkwood_spi.c: Add driver model support
authorStefan Roese <sr@denx.de>
Fri, 20 Nov 2015 12:39:43 +0000 (13:39 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
commit9985bdb1cea7ba0b238f299d5bec591a144d3132
tree1c3951e73c19678d009f0977307d50dacd725133
parent18dd3b2221d305d58fcc7b9fb3ab2db905582cc5
spi: kirkwood_spi.c: Add driver model support

This patch adds driver model support to the kirkwood SPI driver. Which
is also used on the MVEBU SoC's, now being converted to DM. Non-DM
support is still available for the "older" platforms using this
driver, like kirkwood.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Jagan Teki <jteki@openedev.com>
Cc: Simon Glass <sjg@chromium.org>
drivers/spi/kirkwood_spi.c