xref: /openbmc/linux/drivers/net/can/softing/Kconfig (revision f61e7bfa)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
203fd3cf5SKurt Van Dijckconfig CAN_SOFTING
303fd3cf5SKurt Van Dijck	tristate "Softing Gmbh CAN generic support"
46586c5d7SMarc Kleine-Budde	depends on HAS_IOMEM
5a7f7f624SMasahiro Yamada	help
603fd3cf5SKurt Van Dijck	  Support for CAN cards from Softing Gmbh & some cards
703fd3cf5SKurt Van Dijck	  from Vector Gmbh.
888bfb9a7SMarc Kleine-Budde	  Softing Gmbh CAN cards come with 1 or 2 physical buses.
903fd3cf5SKurt Van Dijck	  Those cards typically use Dual Port RAM to communicate
1003fd3cf5SKurt Van Dijck	  with the host CPU. The interface is then identical for PCI
1103fd3cf5SKurt Van Dijck	  and PCMCIA cards. This driver operates on a platform device,
1203fd3cf5SKurt Van Dijck	  which has been created by softing_cs or softing_pci driver.
1303fd3cf5SKurt Van Dijck	  Warning:
1403fd3cf5SKurt Van Dijck	  The API of the card does not allow fine control per bus, but
1588bfb9a7SMarc Kleine-Budde	  controls the 2 buses on the card together.
1603fd3cf5SKurt Van Dijck	  As such, some actions (start/stop/busoff recovery) on 1 bus
1703fd3cf5SKurt Van Dijck	  must bring down the other bus too temporarily.
180a0b7a5fSKurt Van Dijck
190a0b7a5fSKurt Van Dijckconfig CAN_SOFTING_CS
200a0b7a5fSKurt Van Dijck	tristate "Softing Gmbh CAN pcmcia cards"
210a0b7a5fSKurt Van Dijck	depends on PCMCIA
22ddfdb508SKurt Van Dijck	depends on CAN_SOFTING
23a7f7f624SMasahiro Yamada	help
240a0b7a5fSKurt Van Dijck	  Support for PCMCIA cards from Softing Gmbh & some cards
250a0b7a5fSKurt Van Dijck	  from Vector Gmbh.
260a0b7a5fSKurt Van Dijck	  You need firmware for these, which you can get at
27f61e7bfaSDiego Elio Pettenò	  https://github.com/linux-can/can-firmware
280a0b7a5fSKurt Van Dijck	  This version of the driver is written against
290a0b7a5fSKurt Van Dijck	  firmware version 4.6 (softing-fw-4.6-binaries.tar.gz)
300a0b7a5fSKurt Van Dijck	  In order to use the card as CAN device, you need the Softing generic
310a0b7a5fSKurt Van Dijck	  support too.
32