linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] i2c: img-scb: fixes to support i2c on pistachio
@ 2015-08-14 15:50 Sifan Naeem
       [not found] ` <1439567424-8094-1-git-send-email-sifan.naeem-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Sifan Naeem @ 2015-08-14 15:50 UTC (permalink / raw)
  To: Wolfram Sang, James Hogan, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	Ezequiel Garcia
  Cc: Ionela Voinescu, Sifan Naeem

The following patches are required to fix the existing driver to
support i2c on pistachio.

Tested on Pistachio bub using an Adafruit I2C Non-Volatile FRAM Breakout
(256Kbit / 32KByte) eeprom.

Used i2c buildroot tools to test the eeprom and the other i2c blocks.
Also used dd commands to copy data to and then to dump data from the
eeprom. i2ctransfer was used to test repeated starts and verified
using a scope.

Changes from v1:
	removed v1 5/8: i2c-img-scb-reset-interrupts-in-img_i2c_soft_reset
	removed v1 7/8: i2c-img-scb-improve-transaction-complete-handle
	4/7: extra space removed
	5/7: line_status used instead of i2c->line_status
	6/7: reworked v1 7/8 and added as new patch
	7/7: reworked, limit bitrate to maximum supported
	12 digit hash id used.

Sifan Naeem (7):
  i2c: img-scb: enable fencing for all versions of the ip
  i2c: img-scb: do dummy writes before fifo access
  i2c: img-scb: use DIV_ROUND_UP to round divisor values
  i2c: img-scb: fix LOW and HIGH period values for the SCL clock
  i2c: img-scb: remove start bit detected status after handling
  i2c: img-scb: Clear line and interrupt status before starting a
    transfer
  i2c: img-scb: verify support for requested bit rate

 drivers/i2c/busses/i2c-img-scb.c |   87 +++++++++++++++++++++++---------------
 1 file changed, 54 insertions(+), 33 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2015-08-20 20:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-14 15:50 [PATCH v2 0/7] i2c: img-scb: fixes to support i2c on pistachio Sifan Naeem
     [not found] ` <1439567424-8094-1-git-send-email-sifan.naeem-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2015-08-14 15:50   ` [PATCH v2 1/7] i2c: img-scb: enable fencing for all versions of the ip Sifan Naeem
2015-08-14 15:50   ` [PATCH v2 2/7] i2c: img-scb: do dummy writes before fifo access Sifan Naeem
2015-08-14 15:50   ` [PATCH v2 3/7] i2c: img-scb: use DIV_ROUND_UP to round divisor values Sifan Naeem
2015-08-14 15:50   ` [PATCH v2 4/7] i2c: img-scb: fix LOW and HIGH period values for the SCL clock Sifan Naeem
2015-08-14 15:50   ` [PATCH v2 5/7] i2c: img-scb: remove start bit detected status after handling Sifan Naeem
     [not found]     ` <1439567424-8094-6-git-send-email-sifan.naeem-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2015-08-19 21:46       ` James Hogan
2015-08-14 15:50   ` [PATCH v2 6/7] i2c: img-scb: Clear line and interrupt status before starting a transfer Sifan Naeem
     [not found]     ` <1439567424-8094-7-git-send-email-sifan.naeem-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2015-08-19 21:58       ` James Hogan
2015-08-14 15:50   ` [PATCH v2 7/7] i2c: img-scb: verify support for requested bit rate Sifan Naeem
     [not found]     ` <1439567424-8094-8-git-send-email-sifan.naeem-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2015-08-19 21:17       ` James Hogan
     [not found]         ` <20150819211750.GD8443-4bYivNCBEGTR3KXKvIWQxtm+Uo4AYnCiHZ5vskTnxNA@public.gmane.org>
2015-08-20 20:28           ` Wolfram Sang

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).