devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] add support for Allwinner R40 CAN controller
@ 2021-11-22 10:46 Evgeny Boger
  2021-11-22 10:46 ` [PATCH 1/3] dt-bindings: net: can: " Evgeny Boger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Evgeny Boger @ 2021-11-22 10:46 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel
  Cc: Evgeny Boger, devicetree, linux-sunxi, linux-can,
	Wolfgang Grandegger, Marc Kleine-Budde, David S . Miller,
	Jeroen Hofstee, Gerhard Bertelsmann

Allwinner R40 (also known as A40i, T3, V40) has a CAN controller. The
controller is the same as in earlier A10 and A20 SoCs, but needs reset
line to be deasserted before use.

This patch series introduce new compatible for R40 CAN controller,
add support for reset line in driver and add the corresponding nodes
to the SoC .dtsi file.

The CAN IP was documented in early V40 datasheet [1]. It also fully
supported in vendor BSP. However, CAN description was removed from
more recent A40i, T3 and R40 user manuals and datasheets.
Anyway, we verified that the CAN controller is indeed there and tested
it extensively on A40i-based custom hardware [2].

[1] https://linux-sunxi.org/File:Allwinner_V40_Datasheet_V1.0.pdf
[2] https://wirenboard.com/en/product/wiren-board-7/

Evgeny Boger (3):
  dt-bindings: net: can: add support for Allwinner R40 CAN controller
  can: sun4i_can: add support for R40 CAN controller
  ARM: dts: sun8i: r40: add node for CAN controller

 .../net/can/allwinner,sun4i-a10-can.yaml      | 24 ++++++++
 arch/arm/boot/dts/sun8i-r40.dtsi              | 19 ++++++
 drivers/net/can/sun4i_can.c                   | 61 ++++++++++++++++++-
 3 files changed, 103 insertions(+), 1 deletion(-)

-- 
2.25.1

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

end of thread, other threads:[~2021-11-30  2:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 10:46 [PATCH 0/3] add support for Allwinner R40 CAN controller Evgeny Boger
2021-11-22 10:46 ` [PATCH 1/3] dt-bindings: net: can: " Evgeny Boger
2021-11-30  2:25   ` Rob Herring
2021-11-22 10:46 ` [PATCH 2/3] can: sun4i_can: add support for " Evgeny Boger
2021-11-22 10:46 ` [PATCH 3/3] ARM: dts: sun8i: r40: add node for " Evgeny Boger
2021-11-22 10:56   ` Maxime Ripard

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