
Hi Jagan, Simon,
Please find an updated series based on Jagan Teki work.
I have updated this series after validation on a Beagleboard xM and a TPM ST33ZP24 spi slave.
Overall, priv->wordlen was not set and i got several code style issue when using patman.
Best Regards Christophe
Changes in v5: - Few code style fixes reported by patman - Remove omap3_spi_txrx, omap3_spi_write, omap3_spi_read header in C file to avoid "externs should be avoided in .c files" patman warnings. - Adding Christophe Ricard credit on omap3_spi driver dm conversion - Set priv->wordlen in omap3_spi_probe - Add OMAP3_SPI in drivers/spi/Kconfig
Changes in v4: - rebase to master
Changes in v3: - Add DECLARE_GLOBAL_DATA_PTR
Changes in v2: - Added dm pindir-d0-out-d1-in logic - Updated comment about 4-wire master mode as per Linux.
Christophe Ricard (3): spi: omap3: Move headers code inside the driver spi: omap3: Make local functions as static spi: omap3: Convert to driver model
drivers/spi/Kconfig | 7 + drivers/spi/omap3_spi.c | 755 +++++++++++++++++++++++++++++++----------------- drivers/spi/omap3_spi.h | 109 ------- 3 files changed, 495 insertions(+), 376 deletions(-) delete mode 100644 drivers/spi/omap3_spi.h