netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH v4 1/5] can: sja1000: cleanups and new OF property
@ 2014-02-06 11:09 Marc Kleine-Budde
  2014-02-06 11:09 ` [PATCH v4 1/5] can: sja1000: convert printk to use netdev API Marc Kleine-Budde
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marc Kleine-Budde @ 2014-02-06 11:09 UTC (permalink / raw)
  To: linux-can; +Cc: netdev

Picking up Florian's patches.

Changes since v3:
- Make use of switch statement in sp_populate_of()
  (patch 5/5), tnx Sergei.
- added Tested-by from Andreas Larsson

Changes since v2:
- Dropped patch 1 "can: sja1000: remove unused defines"
- Addressed Marc's comments on patch 4 and 6 (now 3 and 5)

Changes since v1:
- Merge sja1000_of_platform.c into sja1000_platform.c (patch 4)

The first part of this series performs serveral small cleanups
(patches 1 and 2).

Florian further writes:

===

Patch 3 merges sja1000_of_platform.c into sja1000_platform.c.
Changes are pretty conservatives (mostly copy/paste/move). IRQ
is treated differently in the OF and non-OF versions, thus this
is where the fused version differs the most.

The final part introduces the 'reg-io-width' binding (already used
by some other drivers) to perform a similar job as what was done
with IORESOURCE_MEM_XXBIT. This is needed on my system to correctly
take into account the aliasing of the address bus.

All patches were tested using OF boot on my OMAP3 system with a
memory-mapped SJA1000. Thus, the non-OF path is not tested, as
I do not have a platform data at hand.

Regards,
Florian

v1: http://thread.gmane.org/gmane.linux.kernel/1637835
v2: http://thread.gmane.org/gmane.linux.can/4831

===

Marc

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

end of thread, other threads:[~2014-02-06 11:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 11:09 PATCH v4 1/5] can: sja1000: cleanups and new OF property Marc Kleine-Budde
2014-02-06 11:09 ` [PATCH v4 1/5] can: sja1000: convert printk to use netdev API Marc Kleine-Budde
2014-02-06 11:09 ` [PATCH v4 2/5] can: sja1000: platform: use devm_* APIs Marc Kleine-Budde
2014-02-06 11:09 ` [PATCH v4 3/5] can: sja1000: fuse of_platform into platform Marc Kleine-Budde
2014-02-06 11:09 ` [PATCH v4 4/5] Documentation: devicetree: sja1000: add reg-io-width binding Marc Kleine-Budde
2014-02-06 11:09 ` [PATCH v4 5/5] can: sja1000: of: add reg-io-width property for 8, 16 and 32-bit register access Marc Kleine-Budde

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