Capri/Caprip: DVT2 support HBM gpio Add HBM gpio for dvt2 Change-Id: Ia444efbb0e93de15b07114fc50aac0ee61b70b10 Signed-off-by: hujing3 <hujing3@lenovo.com> Reviewed-on: https://gerrit.mot.com/1786706 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
89 lines
3.2 KiB
Devicetree
89 lines
3.2 KiB
Devicetree
/* Copyright (c) 2020, 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.
|
|
*/
|
|
|
|
&dsi_djn_nt36525b_652_vid_v0 {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_djn_nt36525b_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_txd_ili9882h_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_tm_ili9882n_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_djn_nt36525c_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_txd_ili9882n_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|
|
|
|
&dsi_tianma_ili9882n_652_video {
|
|
qcom,mdss-dsi-bl-max-level = <2047>;
|
|
qcom,mdss-brightness-max-level = <2047>;
|
|
qcom,mdss-dsi-hbm-type = "lcd-dcs-gpio";
|
|
qcom,platform-hbm-en-gpio = <&tlmm 96 0>;
|
|
qcom,mdss-dsi-hbm-on-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
qcom,mdss-dsi-hbm-off-command = [39 01 00 00 00 00 03 51 07 FF];
|
|
|
|
/delete-property/ qcom,mdss-dsi-panel-hbm-is-51cmd;
|
|
};
|