We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d064e95 commit 73eeb11Copy full SHA for 73eeb11
lk.py
@@ -202,7 +202,9 @@ def generate_lk_driver(p: Panel) -> None:
202
panel->panelresetseq = {f'&{p.id}_reset_seq' if p.reset_seq else 'NULL'};
203
panel->backlightinfo = {f'&{p.id}_backlight' if p.backlight else 'NULL'};
204
pinfo->mipi.panel_on_cmds = {p.id}_on_command;
205
+ pinfo->mipi.panel_off_cmds = {p.id}_off_command;
206
pinfo->mipi.num_of_panel_on_cmds = ARRAY_SIZE({p.id}_on_command);
207
+ pinfo->mipi.num_of_panel_off_cmds = ARRAY_SIZE({p.id}_off_command);
208
memcpy(phy_db->timing, {p.id}_timings, TIMING_SIZE);
209
phy_db->regulator_mode = {'DSI_PHY_REGULATOR_LDO_MODE' if p.ldo_mode else 'DSI_PHY_REGULATOR_DCDC_MODE'};
210
}}
0 commit comments