From nobody Fri Aug 04 15:28:18 2023 X-Original-To: dev-commits-src-main@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 4RHV3Q2mQPz4TlnG; Fri, 4 Aug 2023 15:28:18 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RHV3Q1c8wz3SwP; Fri, 4 Aug 2023 15:28:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691162898; 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=Ad8VoCxACzbDLz+dlGUNymwefAuGGybYs8MPp5xhhOI=; b=pGX93VDZ9QVYQnEOl8zRFnZmEachhYAjjHoYrDKmTnD1terUryWm9+VMLsVdPzvrLLKZJL cXGhkETT+7uvPVkAPTWXOFaGBlfe5/GmL7/jqO/meFZEY8Uban0FgUiTTzsADTKPtYrHF/ 7+cygRplZEk/4wi04V3reoEId4D92OYLyGMi3btYIVrk94u6YT8L0z7X0BrxLjcuIrRXUX CQgUp4gkU8t11T9SZQpB/79n54yx6bhHGULBG2dfeaLbL+nN1nixDDj/VUHI3C+9/0Baq1 NQNU1rfsexemWx1vk9cnGh8ZpvIH6txX17gfzJy93+ZGZdhDTxc/jjJigIB6PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691162898; 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=Ad8VoCxACzbDLz+dlGUNymwefAuGGybYs8MPp5xhhOI=; b=am5WsDY2cyoO02/RzFJIOs+ncMYKShi+517cUhCK02EIkkVP7pgr7wprEqc5k+CGpNVCKJ 927sREfsPjFC0YKKYXksxN6eEJOn9wpSGsvZe/QvBHBO1WsD+CkpaGWLMVCXf12RaQ3h31 7ppO8zug7pacmbamZKJFzQyWtQoanSRfEQ3YFMhbm4ix2K3jy1uTM4b/RQ6U8hQ2YQ1wMR Djoo7Kpt6rLhpJU71dqlWJF7UovjmR8Qlzpa7is5PCntLryNtpr+aPZM33c0xn0QIdA5LW glIlh8zi5Cg1OOQXOluotJ0GX8n2RpddC1wG5rraFmPVHQ0aA/Ts5UR/FduLwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691162898; a=rsa-sha256; cv=none; b=KRQGNimWo9P6acSVhaB5TKqoLo9Z1Y0zP1ryxqtW7FCPRCR0FT+QWyc8fhdjg2g38H1U+/ LDjXGgopPcW2qdvbUiZNlSaw8qW2RrCTbaGqJqZlnoXQKpv41O4q71Y+XhDdQKJSV0H6Ss IpgSEZaO42FmJgTTrtntAjNHiE2+h7GYCrYL+p2Ys/wibV6PMablD8GEv+GZnYxyj0CUX9 gvZaC6evPNlh28mEnG3pjsoKaOpx9r3cIoEQXwYY3ZE2aDH8dZDvlHJ/Ed/1mVxD+NXO24 AKcdMF1axX+lqteXnhxBSWAhLjqOBtZ81BYq0OB39vNQbyDR17nKOw8FXbZ0Hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4RHV3Q0fxKz16yl; Fri, 4 Aug 2023 15:28:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 374FSI9K026270; Fri, 4 Aug 2023 15:28:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 374FSI0S026269; Fri, 4 Aug 2023 15:28:18 GMT (envelope-from git) Date: Fri, 4 Aug 2023 15:28:18 GMT Message-Id: <202308041528.374FSI0S026269@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 8e4aa6317eb8 - main - nctgpio: Enable all the 9 groups for NCT6116D and remove FIXMEs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e4aa6317eb8145a8a9f6a61e235d13302cd13e3 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=8e4aa6317eb8145a8a9f6a61e235d13302cd13e3 commit 8e4aa6317eb8145a8a9f6a61e235d13302cd13e3 Author: Stéphane Rochoy AuthorDate: 2023-07-04 13:57:08 +0000 Commit: Ed Maste CommitDate: 2023-08-04 15:27:54 +0000 nctgpio: Enable all the 9 groups for NCT6116D and remove FIXMEs Reviewed by: emaste Pull Request: https://github.com/freebsd/freebsd-src/pull/810 --- sys/dev/nctgpio/nctgpio.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sys/dev/nctgpio/nctgpio.c b/sys/dev/nctgpio/nctgpio.c index 07208e0fbd90..393553aae227 100644 --- a/sys/dev/nctgpio/nctgpio.c +++ b/sys/dev/nctgpio/nctgpio.c @@ -637,7 +637,7 @@ struct nct_device { { .devid = 0xd282, .descr = "GPIO on Nuvoton NCT6112D/NCT6114D/NCT6116D", - .ngroups = 2, + .ngroups = 9, .groups = { { .grpnum = 0, @@ -646,7 +646,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x01, .data_ldn = 0x07, - .ppod_reg = 0xe0, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe0, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xe0, @@ -658,7 +658,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x02, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xe4, @@ -670,7 +670,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x04, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xe8, @@ -682,7 +682,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x08, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xec, @@ -694,7 +694,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x10, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xf0, @@ -706,7 +706,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x20, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xf4, @@ -718,7 +718,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x40, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xf8, @@ -730,7 +730,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x80, .data_ldn = 0x07, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xfc, @@ -742,7 +742,7 @@ struct nct_device { .enable_reg = 0x30, .enable_mask = 0x01, .data_ldn = 0x09, - .ppod_reg = 0xe1, /* FIXME Need to check for this group. */ + .ppod_reg = 0xe1, .caps = NCT_GPIO_CAPS, .npins = 8, .iobase = 0xf0,