<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ftgpio, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>gpio: remove gpiobus_attach_bus</title>
<updated>2025-08-13T11:14:00+00:00</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2025-08-13T11:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c063fb7accae4cbe5e0fb808a1382600dc1b4249'/>
<id>c063fb7accae4cbe5e0fb808a1382600dc1b4249</id>
<content type='text'>
Since gpiobus_attach_bus can attach the gpiobus child along with its
children in the same bus pass, the parent controller's reference to
gpiobus might not be set by the time the children need it. Instead,
drivers should use gpiobus_add_bus and explicitly call
bus_attach_children.

Reviewed by:	mmel, imp (older version)
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D51578
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since gpiobus_attach_bus can attach the gpiobus child along with its
children in the same bus pass, the parent controller's reference to
gpiobus might not be set by the time the children need it. Instead,
drivers should use gpiobus_add_bus and explicitly call
bus_attach_children.

Reviewed by:	mmel, imp (older version)
Approved by:	imp (mentor)
Differential Revision:	https://reviews.freebsd.org/D51578
</pre>
</div>
</content>
</entry>
<entry>
<title>ftgpio: Fix panic at attach and use better device description</title>
<updated>2023-03-02T15:17:04+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-03-02T15:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2c1b8eb29d92d0911e7493c6a16be04ff6064ad1'/>
<id>2c1b8eb29d92d0911e7493c6a16be04ff6064ad1</id>
<content type='text'>
Use ftgpio_group_get_status instead of inlining an imperfect
version of it to get correct register and avoid
panic: ftgpio_group_get_ioreg: invalid register 0 for group 0

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/677
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use ftgpio_group_get_status instead of inlining an imperfect
version of it to get correct register and avoid
panic: ftgpio_group_get_ioreg: invalid register 0 for group 0

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/677
</pre>
</div>
</content>
</entry>
<entry>
<title>superio,ftgpio: Add support for Fintek F81865 GPIO</title>
<updated>2023-02-28T17:17:53+00:00</updated>
<author>
<name>Stéphane Rochoy</name>
<email>stephane.rochoy@stormshield.eu</email>
</author>
<published>2023-02-28T17:16:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1b10e191f341111fad7be32ead11484dfd09b800'/>
<id>1b10e191f341111fad7be32ead11484dfd09b800</id>
<content type='text'>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/674
Differential Revision: https://reviews.freebsd.org/D37893
</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/674
Differential Revision: https://reviews.freebsd.org/D37893
</pre>
</div>
</content>
</entry>
</feed>
