-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Hi,
I used this tool to generate panel driver for XiaoMi Redmi Note 9 pro tianma panel and is running fine most of the time.
There is a issue that the panel touch is some times not working when booting into los recovery. and after i apply [1] and the issue won't happened during test any more. So my gut feeling is that when the panel probe without MIPI_DSI_MODE_LPM the panel caused to draw more power than ever and the regulator and the circuit is not stable to touch IC. According to the _on/_off function [2], this flag is set and unset accordingly. but in probe this flag is not set, the patch add it to probe().
according to a leaked circuitry, the panel is attached to 3.3v aka, vreg_l18a_3p0 and this output series the panel with a shunt resister 220ohm. and the touch and panel IC share the same voltage.
[1]99degree/linux@8768a9e
[2]https://github.com/99degree/linux/blob/8768a9e5fb221e55505f08ed2daeb54c289cf07a/drivers/gpu/drm/panel/panel-nt36675-tianma.c#L43