[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927252: linux-4.19.0-4-arm64: Enable SPI CAN drivers for ARM/AARCH64



Package: src:linux
Version: 4.19.28-2
Severity: wishlist
Tags: patch

Dear Maintainer,

Please consider enabling the SPI-attached CAN bus drivers in the Debian kernel.
They are useful on ARM SoCs with an SPI bus, such as the Raspberry Pi.

The Raspbian kernel package already includes these drivers, and they do no
harm on platforms that don't use them. To load these drivers, a suitable
DeviceTree config is required.

Thank you!

Here's a patch for .config:

--- a/.config 2019-03-15 02:16:04.000000000 +0000
+++ b/.config 2019-04-16 21:46:33.124431597 +0000
@@ -1696,8 +1699,8 @@
 #
 # CAN SPI interfaces
 #
-# CONFIG_CAN_HI311X is not set
-# CONFIG_CAN_MCP251X is not set
+CONFIG_CAN_HI311X=m
+CONFIG_CAN_MCP251X=m
 
 #
 # CAN USB interfaces


-- Package-specific info:
** Version:
Linux version 4.19.0-4-arm64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Debian 4.19.28-2 (2019-03-15)

** Command line:
bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa020d3 bcm2709.serial=0xffbcac2c bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=29 bcm2709.disk_led_active_low=0 smsc95xx.macaddr=B8:27:EB:BC:AC:2C vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty0  root=/dev/mmcblk0p2 rw elevator=deadline fsck.repair=yes net.ifnames=0 cma=256M rootwait

** Tainted: C (1024)
 * Module from drivers/staging has been loaded.

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
Device Tree model: Raspberry Pi 3 Model B Plus Rev 1.3

** Loaded modules:
at24
i2c_dev
ip6t_REJECT
nf_reject_ipv6
nft_counter
ipt_REJECT
nf_reject_ipv4
xt_tcpudp
xt_comment
nft_compat
nf_tables
nfnetlink
nls_ascii
nls_cp437
vfat
fat
btsdio
bluetooth
vc4
drbg
snd_soc_core
ansi_cprng
ecdh_generic
snd_pcm_dmaengine
snd_pcm
microchip
brcmfmac
snd_timer
snd
soundcore
brcmutil
lan78xx
cec
cfg80211
drm_kms_helper
of_mdio
fixed_phy
drm
libphy
rfkill
vchiq(C)
pwm_bcm2835
bcm2835_thermal
bcm2835_rng
rng_core
bcm2835_wdt
leds_gpio
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
fscrypto
ecb
aes_arm64
dwc2
udc_core
usbcore
sdhci_iproc
sdhci_pltfm
sdhci
usb_common
bcm2835
i2c_bcm2835
phy_generic

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 4.19.0-4-arm64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-4.19.0-4-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.133
ii  kmod                                    26-1
ii  linux-base                              4.6

Versions of packages linux-image-4.19.0-4-arm64 recommends:
ii  apparmor             2.13.2-10
ii  firmware-linux-free  3.4
ii  irqbalance           1.5.0-3

Versions of packages linux-image-4.19.0-4-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-4.19          <none>

Versions of packages linux-image-4.19.0-4-arm64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
ii  firmware-brcm80211        20190114-1
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information


Reply to: