The ILI9342C driven the way M5Stack drives it: lcd-async’s init sequence,
then the gamma and power registers that sequence never programs.
lcd-async sends MADCTL, inversion, COLMOD, NORON, SLPOUT and DISPON and
stops, so the controller keeps its power-on gamma curve. Measured on a
Fire27, that lifts the dark end by roughly 8x — a framebuffer (8, 8, 8)
reads as mid-grey instead of near-black, which makes the dark half of a
palette unusable as designed (#97).
This delegates to the stock model rather than reimplementing it, so
upstream stays authoritative for reset and the sleep-out timing that the
datasheet pins to specific delays; only the missing writes are ours.
One deviation from M5GFX worth knowing: it programs these registers
before sleep-out, whereas delegating necessarily programs them after the
panel is already awake and on.