netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Wolfgang Grandegger <wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	socketcan-users-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org,
	Wolfgang Zarre <info-PyqsHJVlJN8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH net-next v4 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527
Date: Tue, 29 Nov 2011 11:47:20 +0100	[thread overview]
Message-ID: <4ED4B838.2060307@pengutronix.de> (raw)
In-Reply-To: <1322557890-6363-1-git-send-email-wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 3821 bytes --]

On 11/29/2011 10:11 AM, Wolfgang Grandegger wrote:
> 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.)

Feel free to add by Acked-by to patches 1 and 2.

Marc
> 
> 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          |   56 ++
>  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                  |  366 ++++++++
>  drivers/net/can/cc770/cc770_platform.c             |  273 ++++++
>  include/linux/can/platform/cc770.h                 |   33 +
>  13 files changed, 1898 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
> 


-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 191 bytes --]

_______________________________________________
Socketcan-users mailing list
Socketcan-users-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/socketcan-users

  parent reply	other threads:[~2011-11-29 10:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  9:11 [PATCH net-next v4 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527 Wolfgang Grandegger
2011-11-29  9:11 ` [PATCH net-next v4 1/4] can: cc770: add driver core " Wolfgang Grandegger
2011-11-29  9:11 ` [PATCH net-next v4 3/4] can: cc770: add platform bus driver for the CC770 and AN82527 Wolfgang Grandegger
2011-11-29  9:11 ` [PATCH net-next v4 4/4] powerpc: tqm8548/tqm8xx: add and update CAN device nodes Wolfgang Grandegger
     [not found] ` <1322557890-6363-1-git-send-email-wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2011-11-29  9:11   ` [PATCH net-next v4 2/4] can: cc770: add legacy ISA bus driver for the CC770 and AN82527 Wolfgang Grandegger
2011-11-29 10:47   ` Marc Kleine-Budde [this message]
     [not found]     ` <4ED4B838.2060307-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-11-29 10:51       ` [PATCH net-next v4 0/4] can: cc770: add support for the Bosch CC770 and Intel AN82527 Marc Kleine-Budde
     [not found]         ` <4ED4B93B.10709-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-11-29 11:03           ` Wolfgang Grandegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED4B838.2060307@pengutronix.de \
    --to=mkl-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=info-PyqsHJVlJN8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=socketcan-users-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org \
    --cc=wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).