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

2022-06-02 Thread Diederik de Haas
Control: tag -1 pending

On Tue, 16 Apr 2019 22:04:08 + Gregor Riepl  wrote:
> 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 RPi.
> 
> Here's a patch for .config:
> +CONFIG_CAN_HI311X=m

This was recently merged with the following commit:
https://salsa.debian.org/kernel-team/linux/-/commit/1d780395c507ff23b7c691da7b7b5aa9329e2b37


> +CONFIG_CAN_MCP251X=m

This was merged with the following commit (also backported to Bullseye):
https://salsa.debian.org/kernel-team/linux/-/commit/0dbef59526d3fb03f0a390b6803f2edac57c042c

signature.asc
Description: This is a digitally signed message part.


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

2019-04-16 Thread Gregor Riepl
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.0 +
+++ b/.config 2019-04-16 21:46:33.124431597 +
@@ -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-ker...@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=4800 bcm2709.disk_led_gpio=29 
bcm2709.disk_led_active_low=0 smsc95xx.macaddr=B8:27:EB:BC:AC:2C 
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000  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  kmod26-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  
pn  linux-doc-4.19  

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

-- no debconf information