Fix nokia-beatles closed-flip cover wake via dynamic TLMM gpiochip resolution

- Resolve MSM8909 TLMM (1000000.pinctrl) dynamically across /dev/gpiochip* in bananarchy-cover-idle (BA_GPIO_GET_CHIPINFO / hw_ensure_gpiochip) and bananarchy-cover-diagnose.sh, and default cover-display.conf to gpiochip_device = auto so strict fw_devlink/MPM probe order shifts never leave closed-flip button wakes in backend=none.

- Guard gpiochip_device = auto and BA_GPIO_GET_CHIPINFO in test-cover-kernel.py and check-rebuild.sh, and update a1114 (carbonara) image and release archive SHA-256 pins in check-rebuild.sh and CHANGELOG.md.
This commit is contained in:
Luxferre committed 2026-11-13 19:06:40 +02:00
1 parent 2ae4ef34a2
commit a23a9b4edb
9 files changed
+121 -23

No files matched your search

@@ -31,7 +31,9 @@ kernel_backlight_invert = 0
kernel_internal_sleep = 0
fb_device = /dev/fb1
spidev_device = /dev/spidev0.1
gpiochip_device = /dev/gpiochip0
# "auto" locates MSM8909 TLMM (1000000.pinctrl) across /dev/gpiochip* so probe
# order changes between SPMI PMIC GPIOs/MPPs and TLMM never break cover muxing.
gpiochip_device = auto
panel_firmware = /lib/firmware/nokia,beatles-gc9305-ext-panel.bin
socket_path = /run/bananarchy/cover.sock
theme_file = /home/user/.Xresources
@@ -41,7 +43,7 @@ input_dir = /dev/input
mux_gpio = 13
reset_gpio = 23
# gpio110 is the shared D/C line owned by panel-mipi-dbi-spi; the daemon
# cannot request it through gpiochip0. -1 lets the legacy spidev backend open
# cannot request it through gpiochip. -1 lets the legacy spidev backend open
# without fighting the kernel driver. Set it back to 110 only with a DT where
# spi-mux owns both panels.
dc_gpio = -1