Migrate devices, create drivers, other improvements & fixes (#574)

Migrated devices to kernel drivers:

- guition-jc3248w535c
- m5stack-core2
- m5stack-cores3
- m5stack-papers3

New drivers:

- axp192-module
- axp2101-module

Fixes:

- Fix SD card LDO for P4 devices
- Updated PowerOff app to work with kernel displays
- Fix for `lvgl_try_lock()` timing
- Fix for touch events with slow updating displays

Improvements:

- `GuiService` now keeps trying to lock to prevent silent failures caused by drivers.
- `GuiService` now uses lvgl-module calls for locking/unlocking
- display driver now has capability `DISPLAY_CAPABILITY_SLOW_REFRESH`
This commit is contained in:
Ken Van Hoeylandt
2026-07-19 00:39:26 +02:00
committed by GitHub
parent 5f54f7ca3d
commit f9453d8956
119 changed files with 3327 additions and 3994 deletions
@@ -0,0 +1,20 @@
description: >
M5Stack PaperS3 E-Ink display (EPDiy library, ED047TC1 panel over the board's dedicated
parallel bus - epd_board_m5papers3 hardcodes all of its pins internally, so this node takes
no pin properties of its own).
compatible: "m5stack,papers3-display"
properties:
temperature-celsius:
type: int
default: 20
description: Ambient temperature in °C, used for waveform timing compensation
draw-mode:
type: int
default: MODE_DU
description: Default EpdDrawMode waveform used for screen updates (e.g. MODE_DU, MODE_GC16)
rotation:
type: int
default: EPD_ROT_PORTRAIT
description: Fixed EpdRotation applied at start - not changeable at runtime (see driver README/comments)
@@ -0,0 +1,23 @@
description: >
M5Stack PaperS3 charge/power control: charge IC status readback and shutdown-pulse power off.
Battery voltage/capacity are handled separately by a generic battery-sense node.
compatible: "m5stack,papers3-power"
properties:
pin-charge-status:
type: phandles
required: true
description: Charge IC status pin (active-low - 0 = charging, 1 = full/no USB)
pin-usb-detect:
type: phandles
required: true
description: USB VBUS detect pin (1 = USB connected)
pin-power-off:
type: phandles
required: true
description: Shutdown control pin - pulled high to trigger power-off
pwm:
type: phandles
required: true
description: Tone generator (PWM_TYPE device) used for the power-off confirmation beep