Skip to content

Commit

Permalink
lk2nd: panel: generated: cmi_nt35532_5p5_1080pxa_video: Set brightness
Browse files Browse the repository at this point in the history
The display doesn't light up otherwise.
  • Loading branch information
wonderfulShrineMaidenOfParadise authored and TravMurav committed Sep 21, 2023
1 parent 268ccb2 commit 36375f1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,9 @@ static char cmi_nt35532_5p5_1080pxa_video_on_cmd_546[] = {
static char cmi_nt35532_5p5_1080pxa_video_on_cmd_547[] = {
0x29, 0x00, 0x05, 0x80
};
static char cmi_nt35532_5p5_1080pxa_video_on_cmd_548[] = {
0x51, 0xff, 0x15, 0x80 /* Set brightness to maximum 255 */
};

static struct mipi_dsi_cmd cmi_nt35532_5p5_1080pxa_video_on_command[] = {
{ sizeof(cmi_nt35532_5p5_1080pxa_video_on_cmd_0), cmi_nt35532_5p5_1080pxa_video_on_cmd_0, 0 },
Expand Down Expand Up @@ -2237,6 +2240,7 @@ static struct mipi_dsi_cmd cmi_nt35532_5p5_1080pxa_video_on_command[] = {
{ sizeof(cmi_nt35532_5p5_1080pxa_video_on_cmd_545), cmi_nt35532_5p5_1080pxa_video_on_cmd_545, 0 },
{ sizeof(cmi_nt35532_5p5_1080pxa_video_on_cmd_546), cmi_nt35532_5p5_1080pxa_video_on_cmd_546, 120 },
{ sizeof(cmi_nt35532_5p5_1080pxa_video_on_cmd_547), cmi_nt35532_5p5_1080pxa_video_on_cmd_547, 20 },
{ sizeof(cmi_nt35532_5p5_1080pxa_video_on_cmd_548), cmi_nt35532_5p5_1080pxa_video_on_cmd_548, 0 },
};

static char cmi_nt35532_5p5_1080pxa_video_off_cmd_0[] = {
Expand Down

0 comments on commit 36375f1

Please sign in to comment.