Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #94148

Bug#1148486: linux: [loong64] please enable CONFIG_I2C_LS2X and CONFIG_PWM_LOONGSON as modules

From Dominique Belhachemi <domibel@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1148486: linux: [loong64] please enable CONFIG_I2C_LS2X and CONFIG_PWM_LOONGSON as modules
Date 2026-09-20 02:10 +0200
Message-ID <NFdi1-DKT-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Severity: wishlist
X-Debbugs-Cc: debian-loongarch@lists.debian.org
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear maintainer,

Please enable the Loongson I2C and PWM controller drivers on loong64.

  CONFIG_I2C_LS2X=m
  CONFIG_PWM_LOONGSON=m

Without them, the kernel shows no I2C buses and no PWM devices on
Loongson-3A6000 / 7A2000 systems.
With them I can read the board temperature and see the fan control signals.

$ sensors
nvme-pci-0500
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -0.1°C, high = +99.8°C)
                       (crit = +109.8°C)

lm75-virtual-0
Adapter: Virtual device
temp1:        +35.5°C  (high = +80.0°C, hyst = +75.0°C)



$ sudo cat /sys/kernel/debug/pwm
0: platform/LOON0006:00, npwm: 1
 pwm-0   ((null)              ):
  requested configuration: disabled, 0/0 ns, normal polarity
  actual configuration:     enabled, 24000/40000 ns, normal polarity

1: platform/LOON0006:01, npwm: 1
 pwm-0   ((null)              ):
  requested configuration: disabled, 0/0 ns, normal polarity
  actual configuration:    disabled, 5572300/11249220 ns, normal polarity

2: platform/LOON0006:02, npwm: 1
 pwm-0   ((null)              ):
  requested configuration: disabled, 0/0 ns, normal polarity
  actual configuration:     enabled, 24000/40000 ns, normal polarity

3: platform/LOON0006:03, npwm: 1
 pwm-0   ((null)              ):
  requested configuration: disabled, 0/0 ns, normal polarity
  actual configuration:    disabled, 3611460/0 ns, normal polarity


Best
-Dominique

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1148486: linux: [loong64] please enable CONFIG_I2C_LS2X and CONFIG_PWM_LOONGSON as modules Dominique Belhachemi <domibel@debian.org> - 2026-09-20 02:10 +0200
  Bug#1148486: marked as done (linux: [loong64] please enable  CONFIG_I2C_LS2X and CONFIG_PWM_LOONGSON as modules) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-10-09 12:20 +0200

csiph-web