linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] i2c: rcar: cleanup series
@ 2014-05-28  7:44 Wolfram Sang
  2014-05-28  7:44 ` [PATCH 01/11] i2c: rcar: not everything needs to be a function Wolfram Sang
                   ` (11 more replies)
  0 siblings, 12 replies; 19+ messages in thread
From: Wolfram Sang @ 2014-05-28  7:44 UTC (permalink / raw)
  To: linux-i2c
  Cc: linux-sh, Wolfram Sang, Magnus Damm, Simon Horman,
	Laurent Pinchart, Geert Uytterhoeven, Kuninori Morimoto

Here are some patches to let the rcar driver have a diet without losing
functionality. IMO the code becomes more readable, too, although mileages may
vary about this or that change. Bus-free handling is improved, too. Tested with
renesas-devel-v3.15-rc7-20140526 on a Lager and Koelsch board. The git tree can
be found here, including one proof-of-concept enablement patch:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/rcar-cleanup

Please test, review, comment.

Thanks,

   Wolfram


Wolfram Sang (11):
  i2c: rcar: not everything needs to be a function
  i2c: rcar: no need to store irq number
  i2c: rcar: refactor bus state machine
  i2c: rcar: refactor irq state machine
  i2c: rcar: check bus free before first message
  i2c: rcar: refactor setting up msg
  i2c: rcar: refactor status bit handling
  i2c: rcar: remove spinlock
  i2c: rcar: reuse status bits as enable bits
  i2c: rcar: janitorial cleanup after refactoring
  i2c: rcar: update copyright and license information

 drivers/i2c/busses/i2c-rcar.c | 252 ++++++++----------------------------------
 1 file changed, 48 insertions(+), 204 deletions(-)

-- 
2.0.0.rc2


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

end of thread, other threads:[~2014-09-02 22:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28  7:44 [PATCH 00/11] i2c: rcar: cleanup series Wolfram Sang
2014-05-28  7:44 ` [PATCH 01/11] i2c: rcar: not everything needs to be a function Wolfram Sang
2014-05-28  7:44 ` [PATCH 02/11] i2c: rcar: no need to store irq number Wolfram Sang
2014-05-28  7:44 ` [PATCH 04/11] i2c: rcar: refactor irq state machine Wolfram Sang
2014-05-28  7:44 ` [PATCH 05/11] i2c: rcar: check bus free before first message Wolfram Sang
     [not found] ` <1401263086-13720-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-05-28  7:44   ` [PATCH 03/11] i2c: rcar: refactor bus state machine Wolfram Sang
2014-05-28  7:44   ` [PATCH 06/11] i2c: rcar: refactor setting up msg Wolfram Sang
2014-05-28  8:26   ` [PATCH 00/11] i2c: rcar: cleanup series Geert Uytterhoeven
2014-05-28  7:44 ` [PATCH 07/11] i2c: rcar: refactor status bit handling Wolfram Sang
2014-05-28  7:44 ` [PATCH 08/11] i2c: rcar: remove spinlock Wolfram Sang
2014-08-22 23:54   ` Sergei Shtylyov
2014-08-23  3:08     ` Wolfram Sang
2014-09-02 22:10     ` Sergei Shtylyov
     [not found]       ` <5406404A.7090509-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-09-02 22:18         ` Wolfram Sang
2014-05-28  7:44 ` [PATCH 09/11] i2c: rcar: reuse status bits as enable bits Wolfram Sang
2014-05-28  7:44 ` [PATCH 10/11] i2c: rcar: janitorial cleanup after refactoring Wolfram Sang
2014-05-28  7:44 ` [PATCH 11/11] i2c: rcar: update copyright and license information Wolfram Sang
2014-05-28  8:11 ` [PATCH 00/11] i2c: rcar: cleanup series Kuninori Morimoto
2014-06-01 20:24 ` 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).