linux/Documentation/ABI/testing
Andreas Gröger 844e0edf42 can: janz-ican3: add support for CAL/CANopen firmware
In our department we are using some older Janz ICAN3-modules in our dekstop
pcs. There we have slightly different carrier boards than the janz-cmodio
supported in the kernel sources, called CAN-PCI2 with two submodules. But the
pci configuration regions are identical. So extending the supported pci devices
to the corresponding device ids is sufficient to get the drivers working.

* The old ICAN3-modules with firmware 1.28 need more then 250ms for the restart
  after reset. I've increased the timeout to 500ms.
* The janz_ican3 module uses the raw can services of the Janz-firmware, this
  means firmware must be ICANOS/2. Our ICAN3-modules are equipped with
  CAL/CANopen-firmware, so I must use the appropriate commands for the layer
  management services.

Te driver detects the firmware after module reset and selects the commands
matching the firmware. This affects the bus on/off-command
(ican3_set_bus_state) and the configuration of the bittiming
(ican3_set_bittiming). For better diagnostics the detected firmware string is
presented as sysfs attribute (fwinfo).

Signed-off-by: Andreas Gröger <andreas24groeger@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-05-06 08:03:20 +02:00
..
configfs-spear-pcie-gadget
configfs-usb-gadget
configfs-usb-gadget-acm
configfs-usb-gadget-ecm
configfs-usb-gadget-eem
configfs-usb-gadget-ffs
configfs-usb-gadget-hid
configfs-usb-gadget-loopback
configfs-usb-gadget-mass-storage
configfs-usb-gadget-midi
configfs-usb-gadget-ncm
configfs-usb-gadget-obex
configfs-usb-gadget-phonet
configfs-usb-gadget-printer
configfs-usb-gadget-rndis
configfs-usb-gadget-serial
configfs-usb-gadget-sourcesink
configfs-usb-gadget-subset
configfs-usb-gadget-uac1
configfs-usb-gadget-uac2
configfs-usb-gadget-uvc
debugfs-driver-genwqe
debugfs-ec
debugfs-ideapad
debugfs-olpc
debugfs-pfo-nx-crypto
debugfs-pktcdvd
dev-kmsg
evm
ima_policy
procfs-diskstats
pstore
sysfs-ata
sysfs-block
sysfs-block-bcache
sysfs-block-dm dm: add 'use_blk_mq' module param and expose in per-device ro sysfs attr 2015-04-15 12:10:17 -04:00
sysfs-block-rssd
sysfs-block-zram zram: export new 'mm_stat' sysfs attrs 2015-04-15 16:35:21 -07:00
sysfs-bus-acpi
sysfs-bus-amba
sysfs-bus-bcma
sysfs-bus-coresight-devices-etb10
sysfs-bus-coresight-devices-etm3x
sysfs-bus-coresight-devices-funnel
sysfs-bus-coresight-devices-tmc
sysfs-bus-css
sysfs-bus-event_source-devices-events
sysfs-bus-event_source-devices-format
sysfs-bus-event_source-devices-hv_24x7
sysfs-bus-event_source-devices-hv_gpci
sysfs-bus-fcoe
sysfs-bus-hsi
sysfs-bus-i2c-devices-fsa9480
sysfs-bus-i2c-devices-hm6352
sysfs-bus-i2c-devices-lm3533
sysfs-bus-iio
sysfs-bus-iio-accel-bmc150
sysfs-bus-iio-frequency-ad9523
sysfs-bus-iio-frequency-adf4350
sysfs-bus-iio-gyro-bmg160
sysfs-bus-iio-light-lm3533-als
sysfs-bus-iio-mpu6050
sysfs-bus-iio-proximity-as3935
sysfs-bus-iio-trigger-sysfs
sysfs-bus-mdio
sysfs-bus-media
sysfs-bus-mei
sysfs-bus-pci
sysfs-bus-pci-devices-cciss
sysfs-bus-pci-drivers-ehci_hcd
sysfs-bus-pci-drivers-janz-cmodio can: janz-ican3: add documentation for existing sysfs entries 2015-05-06 08:03:19 +02:00
sysfs-bus-platform
sysfs-bus-rbd
sysfs-bus-rpmsg
sysfs-bus-umc
sysfs-bus-usb
sysfs-bus-usb-devices-usbsevseg
sysfs-bus-usb-lvstest
sysfs-c2port
sysfs-cfq-target-latency
sysfs-class
sysfs-class-backlight-driver-adp8870
sysfs-class-backlight-driver-lm3533
sysfs-class-bdi
sysfs-class-cxl
sysfs-class-devfreq
sysfs-class-extcon
sysfs-class-iommu
sysfs-class-iommu-amd-iommu
sysfs-class-iommu-intel-iommu
sysfs-class-lcd
sysfs-class-led
sysfs-class-led-driver-lm3533
sysfs-class-led-flash
sysfs-class-leds-gt683r
sysfs-class-mei
sysfs-class-mic.txt
sysfs-class-mtd
sysfs-class-net bridge: change BR_GROUPFWD_RESTRICTED to allow forwarding of LLDP frames 2015-05-05 19:20:28 -04:00
sysfs-class-net-batman-adv
sysfs-class-net-cdc_ncm
sysfs-class-net-grcan
sysfs-class-net-janz-ican3 can: janz-ican3: add support for CAL/CANopen firmware 2015-05-06 08:03:20 +02:00
sysfs-class-net-mesh
sysfs-class-net-queues
sysfs-class-net-statistics
sysfs-class-pktcdvd
sysfs-class-power
sysfs-class-powercap
sysfs-class-pwm
sysfs-class-rc
sysfs-class-regulator
sysfs-class-rtc-rtc0-device-rtc_calibration
sysfs-class-scsi_host
sysfs-class-uwb_rc
sysfs-class-uwb_rc-wusbhc
sysfs-dev
sysfs-devices
sysfs-devices-edac
sysfs-devices-firmware_node
sysfs-devices-lpss_ltr
sysfs-devices-memory
sysfs-devices-mmc
sysfs-devices-online
sysfs-devices-platform-_UDC_-gadget
sysfs-devices-platform-docg3
sysfs-devices-platform-sh_mobile_lcdc_fb
sysfs-devices-power
sysfs-devices-power_resources_D0
sysfs-devices-power_resources_D1
sysfs-devices-power_resources_D2
sysfs-devices-power_resources_D3hot
sysfs-devices-power_resources_wakeup
sysfs-devices-power_state
sysfs-devices-real_power_state
sysfs-devices-resource_in_use
sysfs-devices-soc
sysfs-devices-sun
sysfs-devices-system-cpu
sysfs-devices-system-ibm-rtl
sysfs-devices-system-xen_cpu
sysfs-driver-genwqe
sysfs-driver-hid
sysfs-driver-hid-lenovo
sysfs-driver-hid-logitech-lg4ff
sysfs-driver-hid-multitouch
sysfs-driver-hid-picolcd
sysfs-driver-hid-prodikeys
sysfs-driver-hid-roccat-arvo
sysfs-driver-hid-roccat-isku
sysfs-driver-hid-roccat-kone
sysfs-driver-hid-roccat-koneplus
sysfs-driver-hid-roccat-konepure
sysfs-driver-hid-roccat-kovaplus
sysfs-driver-hid-roccat-lua
sysfs-driver-hid-roccat-pyra
sysfs-driver-hid-roccat-ryos
sysfs-driver-hid-roccat-savu
sysfs-driver-hid-srws1
sysfs-driver-hid-wiimote
sysfs-driver-input-axp-pek
sysfs-driver-intel-rapid-start
sysfs-driver-pciback
sysfs-driver-ppi
sysfs-driver-samsung-laptop
sysfs-driver-sunxi-sid
sysfs-driver-tegra-fuse
sysfs-driver-toshiba_acpi
sysfs-driver-wacom
sysfs-driver-xen-blkback
sysfs-driver-xen-blkfront
sysfs-firmware-acpi
sysfs-firmware-dmi
sysfs-firmware-efi
sysfs-firmware-efi-runtime-map
sysfs-firmware-gsmi
sysfs-firmware-log
sysfs-firmware-memmap
sysfs-firmware-ofw
sysfs-firmware-sfi
sysfs-firmware-sgi_uv
sysfs-fs-ext4
sysfs-fs-f2fs
sysfs-fs-nilfs2
sysfs-fs-xfs
sysfs-gpio
sysfs-i2c-bmp085
sysfs-ibft
sysfs-kernel-boot_params
sysfs-kernel-fscaps
sysfs-kernel-iommu_groups
sysfs-kernel-livepatch
sysfs-kernel-mm
sysfs-kernel-mm-hugepages
sysfs-kernel-mm-ksm
sysfs-kernel-slab
sysfs-kernel-uids
sysfs-kernel-vmcoreinfo
sysfs-memory-page-offline
sysfs-module
sysfs-ocfs2
sysfs-platform-asus-laptop
sysfs-platform-asus-wmi
sysfs-platform-at91
sysfs-platform-brcmstb-gisb-arb
sysfs-platform-chipidea-usb-otg
sysfs-platform-dell-laptop
sysfs-platform-eeepc-laptop
sysfs-platform-ideapad-laptop
sysfs-platform-kim
sysfs-platform-msi-laptop
sysfs-platform-tahvo-usb
sysfs-platform-ts5500
sysfs-power
sysfs-pps
sysfs-profiling
sysfs-ptp
sysfs-tty
sysfs-wusb_cbaf