Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2024 22:25:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282738] Add support for Nuvoton NCT6122D/NCT6126D.
Message-ID:  <bug-282738-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282738

            Bug ID: 282738
           Summary: Add support for Nuvoton NCT6122D/NCT6126D.
           Product: Base System
           Version: 14.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: Matthew.Nygard.Dodd@gmail.com

Created attachment 255149
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255149&action=edit
Patch implementing described changes.

Add support for Nuvoton NCT6122D/NCT6126D - superio(9), nctgpio(9), ncthwm(9)
- GPIO for LDN 7 & 9.
- HWM for LDN 11
- Provide LDN based matching for GPIO devices.
- Provide gpio(9) hint flag (NCT_NO_ENABLE) for skipping GPIO enable, to avoid
altering BIOS setting.
- Allocate GPIO ioports as shareable.
- Constrain mask based matching for existing NCT6112D/NCT6114D/NCT6116D.

Tested on Asus N97T-IM-A:

(dmesg output)
superio0: <Nuvoton NCT6122D/NCT6126D> at port 0x2e-0x2f on isa0
gpio0: <GPIO on Nuvoton NCT6122D/NCT6126D> at GPIO ldn 0x07 on superio0
gpio0: skipping enable.
gpiobus0: <GPIO bus> on gpio0
gpioc0: <GPIO controller> on gpio0
gpio1: <GPIO on Nuvoton NCT6122D/NCT6126D> at GPIO ldn 0x09 on superio0
gpio1: skipping enable.
gpiobus1: <GPIO bus> on gpio1
gpioc1: <GPIO controller> on gpio1
ncthwm0: <HWM on Nuvoton NCT6122D/NCT6126D> at HWM ldn 0x0b on superio0

(sysctl)
dev.ncthwm.0.AUXFAN2: 0
dev.ncthwm.0.AUXFAN1: 0
dev.ncthwm.0.AUXFAN0: 0
dev.ncthwm.0.CPUFAN: 0
dev.ncthwm.0.SYSFAN: 796

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282738-227>