/* 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. */ /dts-v1/; /plugin/; #include #include #include #include #include "sm8150-mtp.dtsi" #include "sdx5xm-external-soc.dtsi" #include "sm8150-sdx50m.dtsi" #include "sm8150-mtp-audio-overlay.dtsi" / { model = "SDX50M 2.5k panel MTP"; compatible = "qcom,sm8150-mtp", "qcom,sm8150", "qcom,mtp"; qcom,board-id = <0x01010108 0x1>; }; &dsi_sharp_4k_dsc_cmd_display { /delete-property/ qcom,dsi-display-active; }; &dsi_dual_nt35597_truly_video { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <4095>; qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; qcom,panel-mode-gpio = <&tlmm 7 0>; qcom,platform-te-gpio = <&tlmm 8 0>; qcom,platform-reset-gpio = <&tlmm 6 0>; }; &dsi_dual_nt35597_truly_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <4095>; qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; qcom,panel-mode-gpio = <&tlmm 7 0>; qcom,platform-te-gpio = <&tlmm 8 0>; qcom,platform-reset-gpio = <&tlmm 6 0>; }; &dsi_dual_nt35597_truly_cmd_display { qcom,dsi-display-active; }; &pm8150l_wled { qcom,string-cfg = <6>; qcom,leds-per-string = <8>; };