You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.5 KiB
50 lines
1.5 KiB
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
&mdss_spi_display {
|
|
spi_st7789v2_qvga_cmd: qcom,mdss_spi_st7789v2_qvga_cmd {
|
|
qcom,mdss-spi-panel-name =
|
|
"st7789v2 qvga command mode spi panel";
|
|
qcom,mdss-spi-panel-destination = "display_1";
|
|
qcom,mdss-spi-panel-controller = <&mdss_spi_panel>;
|
|
qcom,mdss-spi-panel-framerate = <30>;
|
|
qcom,mdss-spi-panel-te-per-vsync = <2>;
|
|
qcom,mdss-spi-panel-width = <240>;
|
|
qcom,mdss-spi-panel-height = <240>;
|
|
qcom,mdss-spi-bpp = <16>;
|
|
qcom,mdss-spi-on-command = [
|
|
96 01 11
|
|
00 02 36 00
|
|
00 02 3A 05
|
|
00 02 35 00
|
|
00 06 B2 0C 0C 00 33 33
|
|
00 02 B7 75
|
|
00 02 BB 3D
|
|
00 02 C2 01
|
|
00 02 C3 19
|
|
00 02 04 20
|
|
00 02 C6 0F
|
|
00 03 D0 A4 A1
|
|
00 0F E0 70 04 08 09 09 05 2A 33
|
|
41 07 13 13 29 2F
|
|
00 0F E1 70 03 09 0A 09 06 2B 34
|
|
41 07 12 14 28 2E
|
|
00 01 21
|
|
00 01 29
|
|
00 05 2A 00 00 00 EF
|
|
00 05 2B 00 00 00 EF
|
|
00 01 2C];
|
|
qcom,mdss-spi-off-command = [20 01 28
|
|
20 01 10];
|
|
qcom,mdss-spi-reset-sequence = <1 20>, <0 1>, <1 20>;
|
|
};
|
|
};
|
|
|