<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cyapa, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-10-02T04:25:52Z</updated>
<entry>
<title>cyapa_raw_input: elimmminate write only k variable</title>
<updated>2022-10-02T04:25:52Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2022-07-08T17:53:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a0860f9781eb532f0a3897eb0dedb17e4d63875d'/>
<id>urn:sha1:a0860f9781eb532f0a3897eb0dedb17e4d63875d</id>
<content type='text'>
Sponsored by:		Netflix

(cherry picked from commit 3ca3bb576b48667a694b1eab229870697586bb5d)
</content>
</entry>
<entry>
<title>cyapa(4): Adapt to recent evdev KPI changes</title>
<updated>2021-09-21T23:36:40Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-09-02T19:28:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5ed374c401ad6b7b35f2621f7ab7565b5583e2d'/>
<id>urn:sha1:d5ed374c401ad6b7b35f2621f7ab7565b5583e2d</id>
<content type='text'>
(cherry picked from commit 4836af0d42cf9d299ba9203a835bdcfa797a74c2)
</content>
</entry>
<entry>
<title>evdev: Remove useless "initial value" parameter from evdev_support_abs()</title>
<updated>2021-01-07T23:18:41Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-11-30T15:10:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5af73ad51b8c2e640608af0b7a1982be5c204b96'/>
<id>urn:sha1:5af73ad51b8c2e640608af0b7a1982be5c204b96</id>
<content type='text'>
It can not be used for setting of state of multitouch events.
If necessary, use evdev_push_event() instead of it.
</content>
</entry>
<entry>
<title>cyapa(4): Add support for evdev protocol</title>
<updated>2020-12-23T08:10:49Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-12-21T15:44:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54d2dfc4b24db110c8a4b75e2f02a2360fd9fc8c'/>
<id>urn:sha1:54d2dfc4b24db110c8a4b75e2f02a2360fd9fc8c</id>
<content type='text'>
Tested-by:	Matthias Apitz &lt;guru@unixarea.de&gt;
MFC-after:	2 weeks
</content>
</entry>
<entry>
<title>cyapa(4): Make button detection matching ChromeOS driver</title>
<updated>2020-12-23T08:09:25Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-12-21T15:24:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a223aa8abd6d1bf9547262c9a52333bcf4d0d13a'/>
<id>urn:sha1:a223aa8abd6d1bf9547262c9a52333bcf4d0d13a</id>
<content type='text'>
Tested-by:	Matthias Apitz &lt;guru@unixarea.de&gt;
MFC-after:	2 weeks
</content>
</entry>
<entry>
<title>[cyapa] Postpone start of the polling thread until sleep is available</title>
<updated>2019-11-03T20:55:28Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2019-11-03T20:55:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6825cefb23214aac309a963eb307b249205781ba'/>
<id>urn:sha1:6825cefb23214aac309a963eb307b249205781ba</id>
<content type='text'>
After recent ig4 changes cyapa driver can be attached before timers
initialization is completed. Start polling thread from config_intrhook
to avoid busy loops in that case.
</content>
</entry>
<entry>
<title>Fix typo in cyapa out of bounds check.</title>
<updated>2017-08-08T13:27:32Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2017-08-08T13:27:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9c520358147992a1f7e837ed8d5287c5082a0868'/>
<id>urn:sha1:9c520358147992a1f7e837ed8d5287c5082a0868</id>
<content type='text'>
PR:		217783
Submitted by:	razmyslov@viva64.com
MFC after:	1 week
</content>
</entry>
<entry>
<title>add iic interface to ig4 driver, move isl and cyapa to iicbus</title>
<updated>2016-10-30T12:15:33Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2016-10-30T12:15:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=448897d366c218f9fd6208427eef1e6dd51f78d0'/>
<id>urn:sha1:448897d366c218f9fd6208427eef1e6dd51f78d0</id>
<content type='text'>
Summary:
The hardware does not expose a classic SMBus interface.
Instead it has a lower level interface that can express a far richer
I2C protocol than what smbus offers.  However, the interface does not
provide a way to explicitly generate the I2C stop and start conditions.
It's only possible to request that the stop condition is generated
after transferring the next byte in either direction.  So, at least
one data byte must always be transferred.
Thus, some I2C sequences are impossible to generate, e.g., an equivalent
of smbus quick command (&lt;start&gt;-&lt;slave addr&gt;-&lt;r/w bit&gt;-&lt;stop&gt;).

At the same time isl(4) and cyapa(4) are moved to iicbus and now they use
iicbus_transfer for communication.  Previously they used smbus_trans()
interface that is not defined by the SMBus protocol and was implemented
only by ig4(4).  In fact, that interface was impossible to implement
for the typical SMBus controllers like intpm(4) or ichsmb(4) where
a type of the SMBus command must be programmed.

The plan is to remove smbus_trans() and all its uses.
As an aside, the smbus_trans() method deviates from the standard,
but perhaps backwards, FreeBSD convention of using 8-bit slave
addresses (shifted by 1 bit to the left).  The method expects
7-bit addresses.

There is a user facing consequence of this change.
A user must now provide device hints for isl and cyapa that specify an iicbus to use
and a slave address on it.
On Chromebook hardware where isl and cyapa devices are commonly found
it is also possible to use a new chromebook_platform(4) driver that
automatically configures isl and cyapa devices.  There is no need to
provide the device hints in that case,

Right now smbus(4) driver tries to discover all slaves on the bus.
That is very dangerous.  Fortunately, the probing code uses smbus_trans()
to do its job, so it is really enabled for ig4 only.
The plan is to remove that auto-probing code and smbus_trans().

Tested by:	grembo, Matthias Apitz &lt;guru@unixarea.de&gt; (w/o
		chromebook_platform)
Discussed with:	grembo, imp
Reviewed by:	wblock (docs)
MFC after:	1 month
Relnotes:	yes
Differential Revision: https://reviews.freebsd.org/D8172
</content>
</entry>
<entry>
<title>Allow building a kernel with baked in ig4, isl and cyapa drivers.</title>
<updated>2015-08-19T09:49:29Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2015-08-19T09:49:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12e413be27c2432fe10eb600162490513ece9888'/>
<id>urn:sha1:12e413be27c2432fe10eb600162490513ece9888</id>
<content type='text'>
Also addresses jhb's remarks on D2811 and D3068.

PR:		202059
Differential Revision:	https://reviews.freebsd.org/D3351
Reviewed by:	jhb
Approved by:	jhb
</content>
</entry>
<entry>
<title>cyapa(4), driver for the Cypress APA I2C trackpad</title>
<updated>2015-07-25T18:14:35Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2015-07-25T18:14:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46f07718f74c407576f5061013cd7e56f3c7901e'/>
<id>urn:sha1:46f07718f74c407576f5061013cd7e56f3c7901e</id>
<content type='text'>
Differential Revision:	https://reviews.freebsd.org/D3068
Reviewed by:	kib, wblock
Approved by:	kib
Relnotes:	yes
</content>
</entry>
</feed>
