<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/nctgpio, branch releng/14.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>nctgpio: Enable all the 9 groups for NCT6116D and remove FIXMEs</title>
<updated>2023-08-04T15:27:54+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-07-04T13:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8e4aa6317eb8145a8a9f6a61e235d13302cd13e3'/>
<id>8e4aa6317eb8145a8a9f6a61e235d13302cd13e3</id>
<content type='text'>
Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/810
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	emaste
Pull Request:	https://github.com/freebsd/freebsd-src/pull/810
</pre>
</div>
</content>
</entry>
<entry>
<title>nctgpio: Populate the cache earlier</title>
<updated>2023-07-01T17:19:54+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-07-01T17:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f03a7e52769e7d5cf706021d4b21953e5bd945a4'/>
<id>f03a7e52769e7d5cf706021d4b21953e5bd945a4</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</pre>
</div>
</content>
</entry>
<entry>
<title>superio+nctgpio: Add support for new (weird) chips</title>
<updated>2023-07-01T17:19:52+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-07-01T17:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8e6ea10c31220b5f56dbd966a0ee7163d46d30d1'/>
<id>8e6ea10c31220b5f56dbd966a0ee7163d46d30d1</id>
<content type='text'>
Add support for the following chips:
- Nuvoton NCT5585D
- Nuvoton NCT6796D-E
- Nuvoton NCT6779
- Nuvoton NCT6116D
- and Winbond 83627DHG

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the following chips:
- Nuvoton NCT5585D
- Nuvoton NCT6796D-E
- Nuvoton NCT6779
- Nuvoton NCT6116D
- and Winbond 83627DHG

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</pre>
</div>
</content>
</entry>
<entry>
<title>superio+nctgpio: Prepare to support some new (weird) chips</title>
<updated>2023-07-01T17:19:51+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-07-01T17:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f8d2ed03bc670393d7a8322b0681f46ead745e7'/>
<id>7f8d2ed03bc670393d7a8322b0681f46ead745e7</id>
<content type='text'>
- Increase verbosity to direct i/o code path (iores != 0)
- Fix pin inversion configuration
- Allow forcing the use of indirect access channel via hint.gpio.0.flags=2
- Document the PREFER_INDIRECT_CHANNEL tunable in nctgpio(4)

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Increase verbosity to direct i/o code path (iores != 0)
- Fix pin inversion configuration
- Allow forcing the use of indirect access channel via hint.gpio.0.flags=2
- Document the PREFER_INDIRECT_CHANNEL tunable in nctgpio(4)

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/719
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-09T19:22:01+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-09T19:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=84c5f982effaf49a91a2f3e5a8fd4f56bdf4f3b3'/>
<id>84c5f982effaf49a91a2f3e5a8fd4f56bdf4f3b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nctgpio: improve performance (latency) of operation</title>
<updated>2019-10-22T14:20:35+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2019-10-22T14:20:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=155514eacf0efd907f1ce2d1fd961964968868b4'/>
<id>155514eacf0efd907f1ce2d1fd961964968868b4</id>
<content type='text'>
This change consists of two parts.

First, nctgpio now supports hardware access via an I/O port window if
it's configured by firmware.  For instance, PC Engines firmware
v4.10.0.2 does that.  This is faster than going through the Super I/O
configuration registers.

Second, nctgpio now caches values of bits that it controls.  For
example, the driver does not need to access the hardware to determine if
a pin is an output or an input, or a state of an output.  Also, the
driver makes use of the fact that the hardware preserves an output state
of a pin accross a switch to the input mode and back.

With this change I am able to use the 1-Wire bus over nctgpio whereas
previously the driver introduced too much latency to be compliant with
the relatively strict protocol timings.

superio0: &lt;Nuvoton NCT5104D/NCT6102D/NCT6106D (rev. B+)&gt; at port 0x2e-0x2f on isa0
gpio1: &lt;Nuvoton GPIO controller&gt; at GPIO ldn 0x07 on superio0
pcib0: allocated type 4 (0x220-0x226) for rid 0 of gpio1
gpiobus1: &lt;GPIO bus&gt; on gpio1
owc0: &lt;GPIO attached one-wire bus&gt; at pin 4 on gpiobus1
ow0: &lt;1 Wire Bus&gt; on owc0
ow0: romid 28:b2:9e:45:92:10:02:34: no driver
ow_temp0: &lt;Advanced One Wire Temperature&gt; romid 28:b2:9e:45:92:10:02:34 on ow0

MFC after:	4 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change consists of two parts.

First, nctgpio now supports hardware access via an I/O port window if
it's configured by firmware.  For instance, PC Engines firmware
v4.10.0.2 does that.  This is faster than going through the Super I/O
configuration registers.

Second, nctgpio now caches values of bits that it controls.  For
example, the driver does not need to access the hardware to determine if
a pin is an output or an input, or a state of an output.  Also, the
driver makes use of the fact that the hardware preserves an output state
of a pin accross a switch to the input mode and back.

With this change I am able to use the 1-Wire bus over nctgpio whereas
previously the driver introduced too much latency to be compliant with
the relatively strict protocol timings.

superio0: &lt;Nuvoton NCT5104D/NCT6102D/NCT6106D (rev. B+)&gt; at port 0x2e-0x2f on isa0
gpio1: &lt;Nuvoton GPIO controller&gt; at GPIO ldn 0x07 on superio0
pcib0: allocated type 4 (0x220-0x226) for rid 0 of gpio1
gpiobus1: &lt;GPIO bus&gt; on gpio1
owc0: &lt;GPIO attached one-wire bus&gt; at pin 4 on gpiobus1
ow0: &lt;1 Wire Bus&gt; on owc0
ow0: romid 28:b2:9e:45:92:10:02:34: no driver
ow_temp0: &lt;Advanced One Wire Temperature&gt; romid 28:b2:9e:45:92:10:02:34 on ow0

MFC after:	4 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>move nctgpio to superio(4) bus</title>
<updated>2019-10-16T14:42:49+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2019-10-16T14:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e3df342a32debf2cc8bdc20582afd8adeec35775'/>
<id>e3df342a32debf2cc8bdc20582afd8adeec35775</id>
<content type='text'>
This is where it logically belongs.
The change allows to drop a bunch of low lewel code.

Reviewed by:	gonzo
MFC after:	19 days
Differential Revision: https://reviews.freebsd.org/D21980
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is where it logically belongs.
The change allows to drop a bunch of low lewel code.

Reviewed by:	gonzo
MFC after:	19 days
Differential Revision: https://reviews.freebsd.org/D21980
</pre>
</div>
</content>
</entry>
<entry>
<title>nctgpio: change default pin names to those used by the datasheet(s)</title>
<updated>2019-07-01T15:43:48+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2019-07-01T15:43:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=02226256082badea2d76ff0b467c9cce3da47531'/>
<id>02226256082badea2d76ff0b467c9cce3da47531</id>
<content type='text'>
That is, instead of the current GPIO00 - GPIO15 the names will be GPIO00
- GPIO07, GPIO10 - GPIO17.  The first digit is a GPIO "bank" / group
number and the second one is a pin number within the bank.  Alternative
view is that the pin names are changed from decimal numbering scheme to
octal one (as there are 8 pins per bank).

Discussed with:	cem, gonzo
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That is, instead of the current GPIO00 - GPIO15 the names will be GPIO00
- GPIO07, GPIO10 - GPIO17.  The first digit is a GPIO "bank" / group
number and the second one is a pin number within the bank.  Alternative
view is that the pin names are changed from decimal numbering scheme to
octal one (as there are 8 pins per bank).

Discussed with:	cem, gonzo
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>nctgpio: add new device id for the GPIO chip in PCEngines APU3</title>
<updated>2018-01-02T20:58:05+00:00</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-01-02T20:58:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9d1208bbd27ed9c7b3fd10247e48e5df70d9cbda'/>
<id>9d1208bbd27ed9c7b3fd10247e48e5df70d9cbda</id>
<content type='text'>
PR:		224512
Submitted by:	mike@sentex.net
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		224512
Submitted by:	mike@sentex.net
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
</feed>
