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:
1 parent
2ae4ef34a2
commit
a23a9b4edb
9 files changed
+121
-23
No files matched your search
@@ -378,8 +378,8 @@ fi
|
||||
|
||||
echo "[check] Known-good flashable image set..."
|
||||
for pair in \
|
||||
"77a1201a2a93a076a8dd9a6f11c8ceb5f69b94b2ca7abb3dfeba5354b83c034c images/bananarchy-nokia-argon.img" \
|
||||
"c027c3151f3cf45e7a067beed77d77ff4a1954ababda6f1a2eba5a02b2414b24 images/bananarchy-nokia-beatles.img" \
|
||||
"0d25b08a23c0f736877731ba634cec942fd8580215f6067dc3c2f63d07c58264 images/bananarchy-nokia-argon.img" \
|
||||
"e7fe1e3dde98e1be28b1593a94925c2820e4bfe35016cb3e09759a7e017a3aba images/bananarchy-nokia-beatles.img" \
|
||||
"5a7a391aff3fc8fc95b07b532eedce1ee17991574fb45ca4359c0504aeb82324 images/boot-bananarchy-nokia-beatles.img" \
|
||||
"b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d images/boot-lk2nd-nokia-beatles-display.img"; do
|
||||
set -- $pair
|
||||
@@ -1710,6 +1710,7 @@ for token in 'backend = kernel' 'main_fb_device = /dev/fb0' \
|
||||
'kernel_backlight_level = 14' \
|
||||
'kernel_backlight_invert = 0' \
|
||||
'kernel_internal_sleep = 0' \
|
||||
'gpiochip_device = auto' \
|
||||
'spi_device = /dev/spidev0.1' \
|
||||
'spi_mux_gpio = 13' 'spi_dc_gpio = 21' 'spi_reset_gpio = 23' \
|
||||
'mux_closed_level = 1' 'mux_open_level = 0' \
|
||||
@@ -1731,7 +1732,8 @@ for token in 'cover_kernel_draw' 'cover_kernel_command' \
|
||||
'cover_kernel_marker' 'cover_kernel_power_sync' \
|
||||
'cover_kernel_restore_internal' \
|
||||
'cover_kernel_display_off' 'kernel_bl_invert' \
|
||||
'KERNEL_REDRAW_MS 1000' 'cover_main_panel_is_off'; do
|
||||
'KERNEL_REDRAW_MS 1000' 'cover_main_panel_is_off' \
|
||||
'BA_GPIO_GET_CHIPINFO' 'hw_ensure_gpiochip'; do
|
||||
if ! grep -qF "$token" "$COVER_SRC"; then
|
||||
fail "the kernel-owned cover backend lost $token"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user