arm64/dts: HBM gpio support on DVT2
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
This commit is contained in:
1 parent
1393ecaba1
commit
6e3aa16790
5 files changed
+121
No files matched your search
@@ -21,6 +21,36 @@
|
||||
};
|
||||
*/
|
||||
|
||||
&tlmm{
|
||||
pmx_sde: pmx_sde {
|
||||
sde_dsi_active: sde_dsi_active {
|
||||
mux {
|
||||
pins = "gpio82", "gpio96";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio82", "gpio96";
|
||||
drive-strength = <8>;
|
||||
bias-disable = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
sde_dsi_suspend: sde_dsi_suspend {
|
||||
mux {
|
||||
pins = "gpio82", "gpio96";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio82", "gpio96";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Capri panel#1
|
||||
&dsi_djn_nt36525b_652_video {
|
||||
qcom,mdss-dsi-t-clk-post = <0x0b>;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include "bengal-capri-common-overlay.dtsi"
|
||||
#include "bengal-capri-charge-5000-overlay.dtsi"
|
||||
#include "bengal-capri-hbm-display.dtsi"
|
||||
|
||||
/ {
|
||||
model = "capri";
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
#include "bengal-capri-common-overlay.dtsi"
|
||||
#include "bengal-capri-charge-6000-overlay.dtsi"
|
||||
#include "bengal-capri-hbm-display.dtsi"
|
||||
|
||||
/ {
|
||||
model = "capri";
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
/* 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;
|
||||
};
|
||||
@@ -14,6 +14,7 @@
|
||||
/plugin/;
|
||||
|
||||
#include "bengal-caprip-common-overlay.dtsi"
|
||||
#include "bengal-capri-hbm-display.dtsi"
|
||||
|
||||
/ {
|
||||
model = "caprip";
|
||||
|
||||
Reference in new issue
Block a user