On 04/01/2023 12:22, Ben Dooks wrote:
From: Ben Dooks <ben.do...@sifive.com>
Add support for Microchip MCP25625 SPI based CAN controller which is
very similar to the MCP2515 (and covered by the same Linux driver).
This can be added to any machine with SPI support in the machine
model file.
Example for using this when configured into a machine:
-object can-bus,id=canbus0 \
-object can-host-socketcan,id=canhost0,if=vcan0,canbus=canbus0 \
-global driver=mcp25625,property=canbus,value=canbus0
There is tracing support with --trace "*mcp25*"
Signed-off-by: Ben Dooks <ben.do...@sifive.com>
Co-developed-by: Nazar Kazakov <nazar.kaza...@codethink.co.uk>
Signed-off-by: Nazar Kazakov <nazar.kaza...@codethink.co.uk>
Co-developed-by: Lawrence Hunter <lawrence.hun...@codethink.co.uk>
Signed-off-by: Lawrence Hunter <lawrence.hun...@codethink.co.uk>
Reviewed-by: Frank Chang <frank.ch...@sifive.com>
[snip]
OOPS, just noticed I forgot to send user.name and user.email in this
copy of the git repo and sent from @codethink instead of @sifive.
Will fix this if needed.
--
Ben