Kyle Yan | ba820fe | 2017-08-30 14:42:22 -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-qrd.dtsi" |
| 25 | #include "sdm845-qrd-audio-overlay.dtsi" |
| 26 | |
| 27 | / { |
| 28 | model = "Qualcomm Technologies, Inc. sda845 v2 4K Display Panel QRD"; |
| 29 | compatible = "qcom,sda845-qrd", "qcom,sda845", "qcom,qrd"; |
| 30 | qcom,msm-id = <341 0x20000>; |
| 31 | qcom,board-id = <11 1>; |
| 32 | }; |
| 33 | |
| 34 | &dsi_nt35597_truly_dsc_cmd_display { |
| 35 | /delete-property/ qcom,dsi-display-active; |
| 36 | }; |
| 37 | |
| 38 | &dsi_sharp_4k_dsc_video { |
| 39 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 40 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 41 | qcom,mdss-dsi-bl-min-level = <1>; |
| 42 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 43 | qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; |
| 44 | qcom,panel-mode-gpio = <&tlmm 52 0>; |
| 45 | qcom,platform-te-gpio = <&tlmm 10 0>; |
| 46 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 47 | qcom,mdss-dsi-panel-orientation = "180"; |
| 48 | }; |
| 49 | |
| 50 | &dsi_sharp_4k_dsc_cmd { |
| 51 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 52 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 53 | qcom,mdss-dsi-bl-min-level = <1>; |
| 54 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 55 | qcom,mdss-dsi-mode-sel-gpio-state = "dual_port"; |
| 56 | qcom,panel-mode-gpio = <&tlmm 52 0>; |
| 57 | qcom,platform-te-gpio = <&tlmm 10 0>; |
| 58 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 59 | qcom,mdss-dsi-panel-orientation = "180"; |
| 60 | }; |
| 61 | |
| 62 | &dsi_sharp_4k_dsc_video_display { |
| 63 | qcom,dsi-display-active; |
| 64 | }; |