Public bug reported:

[Impact]

On MediaTek MT8901-based arm64 laptops, the MediaTek I2C controllers
(ACPI _HID NVDA0200) are enumerated from ACPI. In ACPI, the controller
node has no "clock-frequency" property. The bus speed is declared by the
peripherals in their I2cSerialBus resources. The i2c-mt65xx driver reads
only the controller property and otherwise falls back to standard mode.
Every bus therefore runs at 100 kHz, whatever the peripherals declare
(1 MHz for the touchscreen/pen digitizer, 400 kHz for keyboard and
touchpad).

At 100 kHz the host cannot keep up with a high-report-rate HID device
such as a pen digitizer. The device buffers its reports and the user
sees a constant input lag of about one second. Keyboard and touchpad
latency are affected the same way, to a smaller degree.

[Fix]

NVIDIA: SAUCE: i2c: mt65xx: use the ACPI declared bus speed when no
clock-frequency is given

When the controller has no "clock-frequency" property and has an ACPI
companion, the patch uses the slowest speed declared on the bus, read
through i2c_acpi_find_bus_speed() as i2c-designware does. The 100 kHz
fallback stays for buses that declare no speed. Device-tree systems and
controllers with an explicit "clock-frequency" are unchanged.

** Affects: linux-nvidia (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174977

Title:
  [linux-nvidia]: i2c-mt65xx: ACPI-enumerated I2C buses ignore the
  declared bus speed and run at 100 kHz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2174977/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to