opnsense-src/sys/dev/iicbus
Poul-Henning Kamp 36027361f9 iichid: Stop using split I²C bus transactions
Read IIC-HID reports as a single I²C transaction, instead of reading
first the two byte length field, holding the bus, and then the rest
of the report in a separate transaction.

While technically legal, I²C bus split transactions are not universally
supported, and in particular the "Snapdragon Elite" ARM CPU does
not seem to support them.

It is also not obvious that they are beneficial in this case, given
the overhead of controller setup, interrupts and tear-down.

Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D51302
2025-07-29 06:17:43 +00:00
..
adc ads111x: initialize the lock earlier, before it's used 2025-05-19 12:15:03 +03:00
controller newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
gpio gpio: attach gpiobus when the controller is ready 2025-07-04 16:56:00 +03:00
mux Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pmic Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
pwm sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
rtc DS3231: converstion -> conversion 2024-10-22 19:23:45 +01:00
sensor sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
acpi_iicbus.c acpi_iicbus: install the address space handler by default 2025-02-07 18:20:00 +00:00
icee.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_ic.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
iic.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
iic.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iic_recover_bus.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
iic_recover_bus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbb.c Use the new bus_generic_detach directly in place of home-grown versions 2025-01-02 13:22:20 -05:00
iicbb_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iicbus.c Use bus_generic_detach instead of device_delete_children in detach 2025-01-02 13:24:28 -05:00
iicbus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iicbus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
iichid.c iichid: Stop using split I²C bus transactions 2025-07-29 06:17:43 +00:00
iiconf.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
iiconf.h Internal scheduling priorities: Always use symbolic ones 2025-06-17 22:08:02 -04:00
iicsmb.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
ofw_iicbus.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ofw_iicbus_if.m spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00