All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] can: Allwinner A10/A20 CAN Controller support - summary
@ 2015-09-13 11:43 Gerhard Bertelsmann
  2015-09-13 11:43 ` [PATCH v5 1/2] can: Allwinner A10/A20 CAN Controller support - Devicetree bindings Gerhard Bertelsmann
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Gerhard Bertelsmann @ 2015-09-13 11:43 UTC (permalink / raw)
  To: linux-can; +Cc: linux-sunxi, mkl, Gerhard Bertelsmann

Hi,

please find attached the next try. Thanks to Marc. I've worked on all mentioned
issues except one: I don't add clk_disable_unprepare in sunxi_can_start. Makes no
sense to me (driver fails).

For testers:
the patch will only apply wihtout modification to kernels 3.19+.
I've tested the driver (receipt, sending and basic errors). IMHO
everything is fine. The performance seems to be good - high rates
(>5000 packets/second) working fine.

Please test and report bugs if exists.


[PATCH v5 1/2] Device Tree Binding Documentation
[PATCH v5 2/2] Kernel Module

History:
    V5: fix license
        modify prefix to mode select defines
        enable and disable clock in sunxican_get_berr_counter
	delete set_normal_mode at the end of sunxi_can_start
	removed sunxican_id_table
	use devm_clk_get instead of clk_get
	use devm_ioremap_resource to simplify probe and remove
	make set-normal-mode and set-reset-mode more readable
        
    v4: defines prefixed with SUNXI_
        sunxi_can_write_cmdreg tweaked
	loops in set_xxx_mode reworked
	add return value to set_xxx_mode
	sunxican_start_xmit reworked
	struct platform_driver stripped
	moved set_bittiming into open
	moved clock start into open
	add clock stop to close
        suspend reworked
        resume reworked
        fixed double counting bug

    v3: changed error state change handling (thx Andri for the hint)
        use bittiming function correct (no need to call it)
        strip down priv (suggested by Marc)
        scripts/checkpatch.pl-> no matches anymore
        sparse -> no errors or warnings anymore
    v2: cleaning
    v1: initial

Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
---
 .../devicetree/bindings/net/can/sunxi_can.txt      |  40 +
 drivers/net/can/Kconfig                            |  10 +
 drivers/net/can/Makefile                           |   1 +
 drivers/net/can/sunxi_can.c                        | 879 +++++++++++++++++++++
 4 files changed, 930 insertions(+)

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

end of thread, other threads:[~2015-09-14 12:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 11:43 [PATCH v5 0/2] can: Allwinner A10/A20 CAN Controller support - summary Gerhard Bertelsmann
2015-09-13 11:43 ` [PATCH v5 1/2] can: Allwinner A10/A20 CAN Controller support - Devicetree bindings Gerhard Bertelsmann
     [not found]   ` <1442144632-4541-2-git-send-email-info-La43T0Mi4bH5xCKuJOYmCvaTkwRoYoCU@public.gmane.org>
2015-09-13 12:25     ` Maxime Ripard
2015-09-13 11:43 ` [PATCH v5 2/2] can: Allwinner A10/A20 CAN Controller support - controller code Gerhard Bertelsmann
     [not found]   ` <1442144632-4541-3-git-send-email-info-La43T0Mi4bH5xCKuJOYmCvaTkwRoYoCU@public.gmane.org>
2015-09-13 12:45     ` Maxime Ripard
2015-09-13 12:50       ` [linux-sunxi] " Marc Kleine-Budde
2015-09-13 13:42       ` Gerhard Bertelsmann
2015-09-13 13:49         ` [linux-sunxi] " Marc Kleine-Budde
     [not found]         ` <f8eea0f544eb6367142bbc1c2ab35964-6XUBc1GShDsOIzVOb1FTxg@public.gmane.org>
2015-09-13 23:51           ` Julian Calaby
2015-09-14  8:17           ` Maxime Ripard
2015-09-14 12:41             ` Gerhard Bertelsmann
2015-09-14 12:45               ` [linux-sunxi] " Marc Kleine-Budde
     [not found] ` <1442144632-4541-1-git-send-email-info-La43T0Mi4bH5xCKuJOYmCvaTkwRoYoCU@public.gmane.org>
2015-09-13 12:22   ` [PATCH v5 0/2] can: Allwinner A10/A20 CAN Controller support - summary Maxime Ripard
2015-09-13 12:57     ` [linux-sunxi] " Marc Kleine-Budde
2015-09-13 13:42       ` Maxime Ripard

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.