Re: [PATCH v4] pinctrl: qcom: Restore the pin configuration after hibernation

From: Bartosz Golaszewski

Date: Wed Oct 28 2026 - 05:29:00 EST



On Wed, 21 Oct 2026 21:04:35 +0000, Birk Skyum wrote:
> A hibernation image is restored after a power cycle. The TLMM registers
> then hold what the boot firmware and the kernel that loaded the image
> made of them. The restored kernel has the configuration it applied in
> memory only, and nothing writes it to the hardware again, so every pin
> that the loading kernel did not set up the same way stays wrong.
>
> On a Lenovo Yoga Slim 7x (X1E80100) the Bluetooth and Wi-Fi enable lines
> are two of them. Their drivers are loaded from the root file system, so
> the kernel that loads the image never touches the pins. This is
> /sys/kernel/debug/gpio before the hibernation and after the resume:
>
> [...]

Applied, thanks!

[1/1] pinctrl: qcom: Restore the pin configuration after hibernation
https://git.kernel.org/brgl/c/30d9a180c86e3cbd53efb7152e05cb059112f6eb

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>