linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] spi: lantiq-ssc: add support for Lantiq SSC SPI controller
@ 2017-01-03 17:20 Hauke Mehrtens
       [not found] ` <20170103172015.13052-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hauke Mehrtens @ 2017-01-03 17:20 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	daniel.schwierzeck-Re5JQEeQqe8AvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w, nbd-Vt+b4OUoWG0, Hauke Mehrtens

It took me longer than expected to get this to work with the
transfer_one() callback.

changes since v2:
 * take bits_per_word and speed_hz from the transfer
 * remove support for 24 bit transfer
 * only mark the transfer as complete if the tx fifo is empty
 * check if the error interrupt was really triggered
 * rename check_finished to transfer_status
 * improve some commit messages

changes since v1:
 * renamed from Intel to Lantiq
 * make use of transfer_one and related functions
 * make use of check_finished function
 * use generic GPIO CS handling
 * enable IRQs only after the device was initialized

Hauke Mehrtens (2):
  spi: add transfer_status() callback
  spi: lantiq-ssc: add support for Lantiq SSC SPI controller

 .../devicetree/bindings/spi/spi-lantiq-ssc.txt     |  29 +
 drivers/spi/Kconfig                                |   8 +
 drivers/spi/Makefile                               |   1 +
 drivers/spi/spi-lantiq-ssc.c                       | 952 +++++++++++++++++++++
 drivers/spi/spi.c                                  |  14 +
 include/linux/spi/spi.h                            |   3 +
 6 files changed, 1007 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-lantiq-ssc.txt
 create mode 100644 drivers/spi/spi-lantiq-ssc.c

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-17 19:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 17:20 [PATCH v3 0/2] spi: lantiq-ssc: add support for Lantiq SSC SPI controller Hauke Mehrtens
     [not found] ` <20170103172015.13052-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-01-03 17:20   ` [PATCH v3 1/2] spi: add transfer_status() callback Hauke Mehrtens
     [not found]     ` <20170103172015.13052-2-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-01-10 12:37       ` Mark Brown
2017-01-17 19:18       ` Mark Brown
2017-01-03 17:20   ` [PATCH v3 2/2] spi: lantiq-ssc: add support for Lantiq SSC SPI controller Hauke Mehrtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).