Public bug reported:

  [Impact]

  On MediaTek MT8901 arm64 systems that enumerate the mt65xx SPI and I2C
  controllers through ACPI, the drivers do not fully manage firmware-owned
  clocks and power resources across runtime and system sleep.

  SPI lacks the required ACPI clock setup and runtime autosuspend
  integration, while the existing I2C ACPI path lacks Power Wrap lifecycle
  and noirq suspend/resume handling.

  [Fix]

  Add ACPI support for NVDA0210 SPI controllers, skip device-tree-only
  setup on ACPI systems, and integrate the MediaTek Power Wrap client into
  both drivers.

  Add runtime autosuspend and system-sleep handling for SPI, plus Power
  Wrap lifecycle and noirq suspend/resume handling for I2C.

  The required SSPM and Power Wrap support is tracked by Launchpad bug
  2167298 and has been applied to the corresponding Canonical next
  branches.

  [Test Case]

  Build the linux-nvidia and linux-nvidia-bos arm64 kernels with the SSPM
  and Power Wrap prerequisite.

  Verify that the ACPI-enumerated SPI and I2C controllers probe and
  successfully perform transfers before and after runtime autosuspend.
  Verify S3 and s2idle suspend/resume, followed by successful transfers.

  [Where problems could occur]

  The changes affect ACPI-specific probe, remove, error-unwind, and power
  transition paths in the shared mt65xx SPI and I2C drivers. Regressions
  could affect controller enumeration, transfers, or suspend/resume on
  supported MediaTek ACPI systems. Device-tree paths are intended to
  remain unchanged.

** Affects: linux-nvidia-bos (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/2167886

Title:
  [linux-nvidia]: MediaTek MT8901: add SPI/I2C ACPI power-management
  support

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


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

Reply via email to