<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/intel/spi.c, branch releng/14.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-03T16:10:50Z</updated>
<entry>
<title>intelspi: Add support for ddb/kdb -compatible polled mode</title>
<updated>2023-08-03T16:10:50Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-08-03T16:10:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5adcec04b5abd4971f1678d6ee1369cc9ecaa90d'/>
<id>urn:sha1:5adcec04b5abd4971f1678d6ee1369cc9ecaa90d</id>
<content type='text'>
Required for Apple and Microsoft -compatible HID-over-SPI drivers.

Most logic was already implemented in commit 3c0867343819
"spibus: extend API: add cs_delay ivar, KEEP_CS and NO_SLEEP flags".
It dissallowed driver sleeps in the interrupt context. This commit
extends this feature to handle ddb/kdb context with following:
- Skip driver locking if SPI functions were called from kdb/ddb.
- Reinitialize controller if kdb/ddb initiated SPI transfer has
  interrupted another already running one. Does not work very
  reliable yet.

Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41247
</content>
</entry>
<entry>
<title>intelspi: Release LPSS reset on Sunrise Point controllers.</title>
<updated>2023-08-03T16:10:50Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-08-03T16:10:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b109946d7564afde6f3d3b3a78f428c8da14e17c'/>
<id>urn:sha1:b109946d7564afde6f3d3b3a78f428c8da14e17c</id>
<content type='text'>
MacBookPro 14.1 SPI controller requires that to start functioning.

MFC after:	1 week
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41245
</content>
</entry>
<entry>
<title>intelspi: Move ACPI/PCI ids table out of header file.</title>
<updated>2023-08-03T16:10:50Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-08-03T16:10:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f56dbe7ad92f97394690dca21f105d3a44fb7701'/>
<id>urn:sha1:f56dbe7ad92f97394690dca21f105d3a44fb7701</id>
<content type='text'>
There is no reason to store it multiple times.

MFC after:	1 week
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41244
</content>
</entry>
<entry>
<title>intelspi: don't leak spibus on detach.</title>
<updated>2023-08-03T16:10:49Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-08-03T16:10:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=16ab2c318d93e7730c4cdaaca9c47e2f58c601c7'/>
<id>urn:sha1:16ab2c318d93e7730c4cdaaca9c47e2f58c601c7</id>
<content type='text'>
MFC after:      1 week
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D41241
</content>
</entry>
<entry>
<title>intelspi(4): Add missing driver mutex unlock in NO_SLEEP mode</title>
<updated>2023-07-31T14:30:24Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2023-07-31T14:30:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d101156ec69d4c51d626034419a48634d3827f23'/>
<id>urn:sha1:d101156ec69d4c51d626034419a48634d3827f23</id>
<content type='text'>
Fixes: 1f40866feb21 ("intelspi: add PCI attachment (Lynx/Wildcat/Sunrise Point)")

MFC after:	1 week
</content>
</entry>
<entry>
<title>intelspi: add PCI attachment (Lynx/Wildcat/Sunrise Point)</title>
<updated>2023-04-24T09:41:52Z</updated>
<author>
<name>Val Packett</name>
<email>val@packett.cool</email>
</author>
<published>2023-04-24T09:41:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f40866feb2135a4cf764a07b1b90a8a3398ff0a'/>
<id>urn:sha1:1f40866feb2135a4cf764a07b1b90a8a3398ff0a</id>
<content type='text'>
Also adds fixups and cleanups:

- apply the child's mode/speed
- implement suspend/resume support
- use RF_SHAREABLE interrupts
- use bus_delayed_attach_children since the transfer can use interrupts
- add support for newly added spibus features (cs_delay and flags)

Operation tested on Broadwell (Wildcat Point) MacBookPro12,1.
Attachment also tested on Kaby Lake (Sunrise Point) Pixelbook.

Reviewed by:	wulf
MFC after:	1 month
Differential revision:	https://reviews.freebsd.org/D29249
</content>
</entry>
<entry>
<title>pchtherm/intelspi: Remove unused devclass arguments to DRIVER_MODULE.</title>
<updated>2022-05-09T19:22:02Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-05-09T19:22:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=289b5607da2eace36026fc68a470040743fca9eb'/>
<id>urn:sha1:289b5607da2eace36026fc68a470040743fca9eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Distinguish _CID match and _HID match and make lower priority probe</title>
<updated>2018-10-26T00:05:46Z</updated>
<author>
<name>Takanori Watanabe</name>
<email>takawata@FreeBSD.org</email>
</author>
<published>2018-10-26T00:05:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5efca36fbda65afe7726d685dcc43a707ef76447'/>
<id>urn:sha1:5efca36fbda65afe7726d685dcc43a707ef76447</id>
<content type='text'>
when _CID match.

Reviewed by: jhb, imp
Differential Revision:https://reviews.freebsd.org/D16468
</content>
</entry>
<entry>
<title>intelspi: don't leak spibus children on detach.</title>
<updated>2018-09-08T18:57:29Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-09-08T18:57:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc71a66be0585082b12268a5427c748344ac02f2'/>
<id>urn:sha1:fc71a66be0585082b12268a5427c748344ac02f2</id>
<content type='text'>
Submitted by:	Yuri Pankov
MFC after:	1 week
Approved by:	re (gjb)
Differential revision:	https://reviews.freebsd.org/D17076
</content>
</entry>
<entry>
<title>Specify the correct resource type in teardown paths.</title>
<updated>2018-09-07T21:12:37Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2018-09-07T21:12:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ef958c70211b66188b675ab56ccffed96bbe7b8'/>
<id>urn:sha1:9ef958c70211b66188b675ab56ccffed96bbe7b8</id>
<content type='text'>
Submitted by:	Yuri Pankov &lt;yuripv@yuripv.net&gt;
Approved by:	re (kib)
MFC after:	1 week
</content>
</entry>
</feed>
