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

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
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 Sun, 20 Sep 2026 02:10:02 +0200
Message-ID <NFdi1-DKT-1@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Sep 20 00:09:09 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.7
Reply-To Dominique Belhachemi <domibel@debian.org>, 1148486@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-loongarch@lists.debian.org, debian-kernel@lists.debian.org
X-Debian-Pr-Message report 1148486
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Gm-Message-State AFuF++ne8ZfnAJynHOIbOnyXs+/FOzT5Q/i8MCHHMJqWyERuQLrwGtwx ilLsvb8Is3hnQg+CYOwzH4yXOT/uh0Uqzp1Wh+SzkmnYR+HCN6uoGN6euAoKeF3S5F2MRWJ1/N3 zYqpaOexykeHM3V+HiALa/e4DNp3+iao=
X-Received by 2002:a05:6a00:1828:b0:878:3773:81fd with SMTP id d2e1a72fcca58-8783773875cmr2974849b3a.57.1789862803657; Sat, 19 Sep 2026 17:06:43 -0700 (PDT)
MIME-Version 1.0
X-Gmail-Original-Message-ID <CAAvaLCzMgfHqDYQFm8UftUq+k-xSmM3Uvj34q5cFfKST+NBR2g@mail.gmail.com>
X-Gm-Features AcwNN1W0ofKire3o3g43KhW9VfdXjO4FS7nhFP0nlVg0onjFZc_8_J952GVvImQ
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Debian-User domibel
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1992302
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 53
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 19 Sep 2026 20:06:31 -0400
X-Original-Message-ID <CAAvaLCzMgfHqDYQFm8UftUq+k-xSmM3Uvj34q5cFfKST+NBR2g@mail.gmail.com>
Xref csiph.com linux.debian.bugs.dist:1310039 linux.debian.kernel:94148

Cross-posted to 2 groups.

Show key headers only | 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