Keep MT6351 VA18 enabled in MD1 deep flight / Airplane Mode

This commit is contained in:
Luxferre committed 2026-11-25 15:34:38 +02:00
1 parent 30348132fa
commit 21485612fb
7 files changed
+42 -4

No files matched your search

+7
View File
@@ -505,6 +505,9 @@ docker run --rm -i -v "$IMAGES_DIR:/images:ro" -v "$BASE_DIR/prebuilt/kernel/boo
/ldo-vusb33 \{/ { in_vusb=1; next }
in_vusb && /\};/ { in_vusb=0 }
in_vusb && /regulator-always-on;/ { found_vusb=1 }
/ldo-va18 \{/ { in_va18=1; next }
in_va18 && /\};/ { in_va18=0 }
in_va18 && /regulator-always-on;/ { found_va18=1 }
END {
if (!found_ok || found_dis) {
print "FAIL: DTB i2c@11007000 (&i2c0) must have status = \"okay\"" > "/dev/stderr"
@@ -514,6 +517,10 @@ docker run --rm -i -v "$IMAGES_DIR:/images:ro" -v "$BASE_DIR/prebuilt/kernel/boo
print "FAIL: DTB ldo-vusb33 must have regulator-always-on" > "/dev/stderr"
exit 1
}
if (!found_va18) {
print "FAIL: DTB ldo-va18 must have regulator-always-on" > "/dev/stderr"
exit 1
}
if (!pwm_ok || pwm_dis || pwm_pd) {
print "FAIL: DTB pwm@1100f000 (&disp_pwm) must be okay without power-domains" > "/dev/stderr"
exit 1