This is a cache of https://discuss.96boards.org/t/whether-can-driver-is-supported-in-hikey970/7352. It is a snapshot of the page at 2024-10-31T10:35:47.380+0000.
Whether CAN driver is supported in hikey<strong>970</strong>? - HiKey<strong>970</strong> - 96Boards Forum

Whether CAN driver is supported in hikey970?

Board based on the Kirin 970 - HI3670 Application Processor
More info: http://www.96boards.org/product/hikey970/ (Website coming soon…)
Buy now: https://www.seeedstudio.com/HiKey-970-Development-Board-p-3046.html

Whether CAN driver is supported in hikey970? If so, can you point me to the doc or code in hikey970?

Hikey970 implements CAN V.0B with the help of MCP2515 which is a standalone CAN controller with SPI interface. Hence the driver depends on SPI and CAN subsystem offers appropriate abstraction.

Source Files for CAN driver are :

  1. mcp251x.c

  2. Kconfig

  3. Makefile

Source Files for DTS are :

  1. kirin970.dtsi

  2. kirin970-hikey970.dts

Let me know if you have problem locating these source files.

Hope this helps,
Yang