Skip to content

Commit

Permalink
lk2nd: display: panel: generated: hx8394d_720p_video: Set brightness
Browse files Browse the repository at this point in the history
Otherwise the screen does not turn on.
  • Loading branch information
wonderfulShrineMaidenOfParadise authored and TravMurav committed Jun 24, 2024
1 parent 4f6af78 commit efc18ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lk2nd/display/panel/generated/lk_panel_hx8394d_720p_video.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ static char hx8394d_720p_video_on_cmd_22[] = {
static char hx8394d_720p_video_on_cmd_23[] = {
0x55, 0x01, 0x15, 0x80
};
static char hx8394d_720p_video_on_cmd_24[] = {
0x51, 0xe1, 0x15, 0x80 /* Set brightness to maximum 225 */
};

static struct mipi_dsi_cmd hx8394d_720p_video_on_command[] = {
{ sizeof(hx8394d_720p_video_on_cmd_0), hx8394d_720p_video_on_cmd_0, 0 },
Expand All @@ -170,6 +173,7 @@ static struct mipi_dsi_cmd hx8394d_720p_video_on_command[] = {
{ sizeof(hx8394d_720p_video_on_cmd_21), hx8394d_720p_video_on_cmd_21, 10 },
{ sizeof(hx8394d_720p_video_on_cmd_22), hx8394d_720p_video_on_cmd_22, 0 },
{ sizeof(hx8394d_720p_video_on_cmd_23), hx8394d_720p_video_on_cmd_23, 5 },
{ sizeof(hx8394d_720p_video_on_cmd_24), hx8394d_720p_video_on_cmd_24, 0 },
};

static char hx8394d_720p_video_off_cmd_0[] = {
Expand Down

0 comments on commit efc18ee

Please sign in to comment.