From nobody Wed Nov 13 22:25:50 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XpdCg4vytz5cg3h for ; Wed, 13 Nov 2024 22:25:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XpdCg0VQ3z4XhF for ; Wed, 13 Nov 2024 22:25:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731536751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vEreWdhT9Y8pCEvwjPcFCOArm0WKflkA9piYYR1QBTw=; b=QWHNTzWhM3g62cV1QGbhK4ARHZFbVxckwv35hCZ72eKdcadAo3gvTV39YT9aztn0dFsJs+ CYv4kepsxRTscgMIesEKzP/CS++ZfC5cEZC6nUSaFSn8cYpVoRhc5XhPq1jVK/L8E/Ud3y sObd/kDueS+3vrCfd/8gNMxdd982eZsLEsjx1gmFlXxdYfJ7bRei5yFX335Sg3hWyOQV3l zSc1jQw6OuANjA3A7G7VqjbB5Kao8zLXEDvQIlo0Vg3GyTDBSju2vsgN4m0d48zyEhxB01 jTA8CMaG7St4StmrUhm6zqzn8L59qSlvtyc/VbT3T20HWrIZ0i10S2fT3bD9/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731536751; a=rsa-sha256; cv=none; b=GRBv8vvWTjkTSiWVCkz57Mxoe7+aTt6pGSwlaMtOuNwrZWJgx1bC278IoylgIyOeQnsSTh riX+DL6BvVb/WgCB/0fqfaKAmoiCfvZ0OkWUq8kiquYlBsmyu6Buakwlz5kJX0pcNpEuKm BUJvU2B6PC9BD75/h/3CuHSDfq6sw1zixNrQL+Nrmr8BmiSaAcP8TVvytlctq9fH5Vshfh En+T2OL+eMMpF705QmXFr+gy11TwU5LfHZt3Reqr7S6NtfXTdDcxgeFbOBrdNLsg0n9//n Wk6B1hJCoqCYFZwp997YOx4aGPSu8lvn+oMzFnfR0Xo1MDJUrZZRqql5UxiqsA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XpdCf711zz1Bkh for ; Wed, 13 Nov 2024 22:25:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4ADMPoVM052989 for ; Wed, 13 Nov 2024 22:25:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ADMPoUl052988 for bugs@FreeBSD.org; Wed, 13 Nov 2024 22:25:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282738] Add support for Nuvoton NCT6122D/NCT6126D. Date: Wed, 13 Nov 2024 22:25:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Matthew.Nygard.Dodd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282738 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=3D255149&action= =3Dedit 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 av= oid 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: at port 0x2e-0x2f on isa0 gpio0: at GPIO ldn 0x07 on superio0 gpio0: skipping enable. gpiobus0: on gpio0 gpioc0: on gpio0 gpio1: at GPIO ldn 0x09 on superio0 gpio1: skipping enable. gpiobus1: on gpio1 gpioc1: on gpio1 ncthwm0: 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 --=20 You are receiving this mail because: You are the assignee for the bug.=