All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527
@ 2011-12-01  9:41 Wolfgang Grandegger
  2011-12-01  9:41 ` [PATCH net-next v6 1/4] can: cc770: add driver core " Wolfgang Grandegger
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Wolfgang Grandegger @ 2011-12-01  9:41 UTC (permalink / raw)
  To: netdev; +Cc: linux-can, socketcan-users, Wolfgang Grandegger

Already since a while we have support for the Bosch CC770 and Intel
AN82527 CAN controllers in our out-of-tree Socket-CAN repository.

In the meantime I found a TQM855L board with two AN82527 on it,
which allowed me to provide and test a generic platform driver
as well.

Changes since v1:

- remove version.h includes
- some minor corrections in the ISA bus driver
- add platform header file to the driver core
- add generic platform driver
- add and update device tree nodes for tqm8xx and tqm8548

Changes since v2:

- correct license text as suggest by Oliver Hartkopp
- use the new module_platform_driver function
- provide get_berr_counter callback for cc770
- improve CAN error state change handling
- more comprehensive cc770_isa driver description

Changes since v3:

- pre-define pr_fmt()
- use KBUILD_MODNAME instead of DRV_NAME
- use ARRAY_SIZE() whenever appropriate
- use variable name "o" for message objects consistantly
- use proper error code for cc770_probe_chip
- remove unneeded member priv->open_time
- remove unnecessary masking of u8 variables (with 0xff)
- use "!skb" instead of "skb == NULL"
- CC770_MSG_MAX now limits the number of messages read in the ISR
- use "|" instead of "+" to combine bit masks
- remove return code check of platform_get_resource() in remove function
- remove postal address from GPL copyright text
- fix WARNING: __packed is preferred over __attribute__((packed))
- some more minor fixes (casts, white space, etc.)

Changes since v4:

- cc770_isa: add missing cc770 platform include

Changes since v5:

- cc770_platform: fix build issues on ARM and x86 by replacing
  in_8/out8 with ioread8/iowrite8 amd including some missing
  header files
- cc770_platform: remove trailing lines

It would be nice if somebody else could test the driver, especially
the ISA driver (I don't have hardware at hand).

Wolfgang.

Wolfgang Grandegger (4):
  can: cc770: add driver core for the Bosch CC770 and Intel AN82527
  can: cc770: add legacy ISA bus driver for the CC770 and AN82527
  can: cc770: add platform bus driver for the CC770 and AN82527
  powerpc: tqm8548/tqm8xx: add and update CAN device nodes

 .../devicetree/bindings/net/can/cc770.txt          |   53 ++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts         |   19 +-
 arch/powerpc/boot/dts/tqm8548.dts                  |   19 +-
 arch/powerpc/boot/dts/tqm8xx.dts                   |   25 +
 drivers/net/can/Kconfig                            |    2 +
 drivers/net/can/Makefile                           |    1 +
 drivers/net/can/cc770/Kconfig                      |   21 +
 drivers/net/can/cc770/Makefile                     |    9 +
 drivers/net/can/cc770/cc770.c                      |  881 ++++++++++++++++++++
 drivers/net/can/cc770/cc770.h                      |  203 +++++
 drivers/net/can/cc770/cc770_isa.c                  |  367 ++++++++
 drivers/net/can/cc770/cc770_platform.c             |  272 ++++++
 include/linux/can/platform/cc770.h                 |   33 +
 13 files changed, 1895 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/cc770.txt
 create mode 100644 drivers/net/can/cc770/Kconfig
 create mode 100644 drivers/net/can/cc770/Makefile
 create mode 100644 drivers/net/can/cc770/cc770.c
 create mode 100644 drivers/net/can/cc770/cc770.h
 create mode 100644 drivers/net/can/cc770/cc770_isa.c
 create mode 100644 drivers/net/can/cc770/cc770_platform.c
 create mode 100644 include/linux/can/platform/cc770.h

-- 
1.7.4.1


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

end of thread, other threads:[~2011-12-07 22:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-01  9:41 [PATCH net-next v6 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527 Wolfgang Grandegger
2011-12-01  9:41 ` [PATCH net-next v6 1/4] can: cc770: add driver core " Wolfgang Grandegger
     [not found] ` <1322732481-2255-1-git-send-email-wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2011-12-01  9:41   ` [PATCH net-next v6 2/4] can: cc770: add legacy ISA bus driver for the CC770 and AN82527 Wolfgang Grandegger
2011-12-01  9:41   ` [PATCH net-next v6 3/4] can: cc770: add platform " Wolfgang Grandegger
2011-12-01  9:41     ` Wolfgang Grandegger
2011-12-01  9:41 ` [PATCH net-next v6 4/4] powerpc: tqm8548/tqm8xx: add and update CAN device nodes Wolfgang Grandegger
2011-12-01  9:41   ` Wolfgang Grandegger
2011-12-07  7:34   ` Benjamin Herrenschmidt
2011-12-07  7:34     ` Benjamin Herrenschmidt
2011-12-07  7:39     ` David Miller
2011-12-07  7:39       ` David Miller
2011-12-07  7:42       ` Benjamin Herrenschmidt
2011-12-07  7:42         ` Benjamin Herrenschmidt
2011-12-07  8:25     ` Wolfgang Grandegger
2011-12-07  8:25       ` Wolfgang Grandegger
2011-12-07 22:01       ` Benjamin Herrenschmidt
2011-12-07 22:01         ` Benjamin Herrenschmidt
2011-12-01 18:24 ` [PATCH net-next v6 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527 David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.