Public bug reported:

[Impact]
On MT8901 ACPI systems, firmware-owned EINT wake pins have no Linux consumer to 
enable them as wake sources. These pins cannot wake the system, and ACPI GPIO 
event handlers do not run because the controller's _AEI interrupts are not 
requested.

The MediaTek pinctrl driver also lacks bus-hold bias support required by
the MT8901 SoundWire data pads. Without this pad configuration, codec
enumeration fails unless the pad registers are programmed manually.

[Fix]
Add the MT8901 wake-event pin list, retain its wake masks across 
suspend/resume, and request ACPI GPIO interrupts after registering the GPIO 
chip.

Add bus-hold support to the PU/PD bias path and pinctrl-paris get/set
operations, reject it on unsupported bias paths, and export a helper to
program bias by GPIO number. The SoundWire consumer of this helper
follows in a separate PR.

[Where problems could occur]
Wake-mask and ACPI interrupt changes could affect suspend/resume and GPIO 
events. Changes to the shared MediaTek bias routines could affect pin 
configuration on supported controllers, including existing pull-up and 
pull-down behavior.

Pull requests:
https://github.com/NVIDIA/NV-Kernels/pull/564
https://github.com/NVIDIA/NV-Kernels/pull/565

** 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/2167299

Title:
  pinctrl: mediatek: support MT8901 ACPI wake events and bus-hold bias

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


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

Reply via email to