Kyle Yan | 4fbc4b7 | 2017-07-11 11:11:02 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | /dts-v1/; |
| 15 | /plugin/; |
| 16 | |
| 17 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 18 | #include <dt-bindings/clock/qcom,camcc-sdm845.h> |
| 19 | #include <dt-bindings/clock/qcom,dispcc-sdm845.h> |
| 20 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 21 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 22 | |
| 23 | #include "sdm845-sde-display.dtsi" |
| 24 | #include "sdm845-cdp.dtsi" |
| 25 | #include "sdm845-cdp-audio-overlay.dtsi" |
| 26 | |
| 27 | / { |
| 28 | model = "Qualcomm Technologies, Inc. sdm845 4K Display Panel CDP"; |
| 29 | compatible = "qcom,sdm845-cdp", "qcom,sdm845", "qcom,cdp"; |
Kyle Yan | fd7d142 | 2017-08-04 16:14:21 -0700 | [diff] [blame] | 30 | qcom,msm-id = <321 0x10000>; |
Kyle Yan | 4fbc4b7 | 2017-07-11 11:11:02 -0700 | [diff] [blame] | 31 | qcom,board-id = <1 1>; |
| 32 | }; |
| 33 | |
| 34 | &dsi_nt35597_truly_dsc_cmd_display { |
| 35 | /delete-property/ qcom,dsi-display-active; |
| 36 | }; |
| 37 | |
| 38 | &mdss_mdp { |
| 39 | connectors = <&sde_rscc &sde_wb>; |
| 40 | }; |
| 41 | |
| 42 | &dsi_sharp_4k_dsc_video { |
| 43 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 44 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 45 | qcom,mdss-dsi-bl-min-level = <1>; |
| 46 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 47 | qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; |
| 48 | qcom,panel-mode-gpio = <&tlmm 52 0>; |
| 49 | qcom,platform-te-gpio = <&tlmm 10 0>; |
| 50 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 51 | }; |
| 52 | |
| 53 | &dsi_sharp_4k_dsc_cmd { |
| 54 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 55 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 56 | qcom,mdss-dsi-bl-min-level = <1>; |
| 57 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 58 | qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; |
| 59 | qcom,panel-mode-gpio = <&tlmm 52 0>; |
| 60 | qcom,platform-te-gpio = <&tlmm 10 0>; |
| 61 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 62 | }; |
| 63 | |
| 64 | &dsi_sharp_4k_dsc_video_display { |
| 65 | qcom,dsi-display-active; |
| 66 | }; |