<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/i2c-hid, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-09-18T11:43:31Z</updated>
<entry>
<title>HID: i2c-hid: Fix Elan touchpad regression</title>
<updated>2021-09-18T11:43:31Z</updated>
<author>
<name>Jim Broadus</name>
</author>
<published>2021-08-09T06:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e36c92fa9482ebf2c1bed3065cf8e1ae107a125e'/>
<id>urn:sha1:e36c92fa9482ebf2c1bed3065cf8e1ae107a125e</id>
<content type='text'>
[ Upstream commit 786537063bbfb3a7ebc6fc21b2baf37fb91df401 ]

A quirk was recently added for Elan devices that has same device match
as an entry earlier in the list. The i2c_hid_lookup_quirk function will
always return the last match in the list, so the new entry shadows the
old entry. The quirk in the previous entry, I2C_HID_QUIRK_BOGUS_IRQ,
silenced a flood of messages which have reappeared in the 5.13 kernel.

This change moves the two quirk flags into the same entry.

Fixes: ca66a6770bd9 (HID: i2c-hid: Skip ELAN power-on command after reset)
Signed-off-by: Jim Broadus &lt;jbroadus@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: fix format string mismatch</title>
<updated>2021-05-27T13:40:34Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2021-05-14T13:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc5f9f55502e13ba05731d5046a14620aa2ff456'/>
<id>urn:sha1:dc5f9f55502e13ba05731d5046a14620aa2ff456</id>
<content type='text'>
clang doesn't like printing a 32-bit integer using %hX format string:

drivers/hid/i2c-hid/i2c-hid-core.c:994:18: error: format specifies type 'unsigned short' but the argument has type '__u32' (aka 'unsigned int') [-Werror,-Wformat]
                 client-&gt;name, hid-&gt;vendor, hid-&gt;product);
                               ^~~~~~~~~~~
drivers/hid/i2c-hid/i2c-hid-core.c:994:31: error: format specifies type 'unsigned short' but the argument has type '__u32' (aka 'unsigned int') [-Werror,-Wformat]
                 client-&gt;name, hid-&gt;vendor, hid-&gt;product);
                                            ^~~~~~~~~~~~

Use an explicit cast to truncate it to the low 16 bits instead.

Fixes: 9ee3e06610fd ("HID: i2c-hid: override HID descriptors for certain devices")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: Skip ELAN power-on command after reset</title>
<updated>2021-05-07T12:32:28Z</updated>
<author>
<name>Johnny Chuang</name>
</author>
<published>2021-04-13T01:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca66a6770bd9d6d99e469debd1c7363ac455daf9'/>
<id>urn:sha1:ca66a6770bd9d6d99e469debd1c7363ac455daf9</id>
<content type='text'>
For ELAN touchscreen, we found our boot code of IC was not flexible enough
to receive and handle this command.
Once the FW main code of our controller is crashed for some reason,
the controller could not be enumerated successfully to be recognized
by the system host. therefore, it lost touch functionality.

Add quirk for skip send power-on command after reset.
It will impact to ELAN touchscreen and touchpad on HID over I2C projects.

Fixes: 43b7029f475e ("HID: i2c-hid: Send power-on command after reset").

Cc: stable@vger.kernel.org
Signed-off-by: Johnny Chuang &lt;johnny.chuang.emc@gmail.com&gt;
Reviewed-by: Harry Cutts &lt;hcutts@chromium.org&gt;
Reviewed-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Tested-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: acpi: Drop redundant ACPI_PTR()</title>
<updated>2021-03-08T09:43:34Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2021-02-26T19:32:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0960941043a19c0413b30dc5e88a55c593fda1cb'/>
<id>urn:sha1:0960941043a19c0413b30dc5e88a55c593fda1cb</id>
<content type='text'>
The driver depends on ACPI, ACPI_PTR() resolution is always the same.
Otherwise a compiler may produce a warning.

That said, the rule of thumb either ugly ifdeffery with ACPI_PTR or
none should be used in a driver.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: acpi: Move GUID out of function and described it</title>
<updated>2021-03-08T09:43:34Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2021-02-26T19:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3836a02c5f20c4cbc09e463e9f7a7555c77d70d'/>
<id>urn:sha1:a3836a02c5f20c4cbc09e463e9f7a7555c77d70d</id>
<content type='text'>
Move static GUID variable out of the function and add a comment
how it looks like in the human readable representation.

While at it, include uuid.h since the guid_t type is defined in it.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: acpi: Switch to new style i2c-driver probe function</title>
<updated>2021-03-08T09:43:34Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2021-02-26T19:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cecff8f1d0e52300e925ea6056acfd12cbc1bf2'/>
<id>urn:sha1:4cecff8f1d0e52300e925ea6056acfd12cbc1bf2</id>
<content type='text'>
Switch to the new style i2c-driver probe_new probe function.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: acpi: Get ACPI companion only once and reuse it</title>
<updated>2021-03-08T09:43:34Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2021-02-26T19:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d97010eb9ff2d00955c42595e4a1a7fff988992'/>
<id>urn:sha1:6d97010eb9ff2d00955c42595e4a1a7fff988992</id>
<content type='text'>
Currently the ACPI companion and handle are retrieved and checked
a few times in different functions. Instead get ACPI companion only
once and reuse it everywhere.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Acked-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-5.12/i2c-hid' into for-linus</title>
<updated>2021-02-23T10:33:54Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2021-02-23T10:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27b730e088ff41e43f543a3f8e2042b9ee8ce2f1'/>
<id>urn:sha1:27b730e088ff41e43f543a3f8e2042b9ee8ce2f1</id>
<content type='text'>
- ACPI and OF support made more generic / decoupled. From Douglas Anderson
- support for Goodix devices from Douglas Anderson
</content>
</entry>
<entry>
<title>HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15</title>
<updated>2021-02-05T09:19:34Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2021-01-30T20:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc6a31b00739356809dd566e16f2c4325a63285d'/>
<id>urn:sha1:fc6a31b00739356809dd566e16f2c4325a63285d</id>
<content type='text'>
The ITE8568 EC on the Voyo Winpad A15 presents itself as an I2C-HID
attached keyboard and mouse (which seems to never send any events).

This needs the I2C_HID_QUIRK_NO_IRQ_AFTER_RESET quirk, otherwise we get
the following errors:

[ 3688.770850] i2c_hid i2c-ITE8568:00: failed to reset device.
[ 3694.915865] i2c_hid i2c-ITE8568:00: failed to reset device.
[ 3701.059717] i2c_hid i2c-ITE8568:00: failed to reset device.
[ 3707.205944] i2c_hid i2c-ITE8568:00: failed to reset device.
[ 3708.227940] i2c_hid i2c-ITE8568:00: can't add hid device: -61
[ 3708.236518] i2c_hid: probe of i2c-ITE8568:00 failed with error -61

Which leads to a significant boot delay.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: Introduce goodix-i2c-hid using i2c-hid core</title>
<updated>2021-01-18T15:56:22Z</updated>
<author>
<name>Douglas Anderson</name>
</author>
<published>2021-01-15T17:06:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1ed18c11bdb80eced208a61d40b1988f36a014f'/>
<id>urn:sha1:c1ed18c11bdb80eced208a61d40b1988f36a014f</id>
<content type='text'>
Goodix i2c-hid touchscreens are mostly i2c-hid compliant but have some
special power sequencing requirements, including the need to drive a
reset line during the sequencing.

Let's use the new rejiggering of i2c-hid to support this with a thin
wrapper driver to support the first Goodix i2c-hid touchscreen:
GT7375P

Signed-off-by: Douglas Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
</content>
</entry>
</feed>
