Kaushal Kumar | 3191ed7 | 2018-03-16 14:46:36 +0530 | [diff] [blame^] | 1 | /* Copyright (c) 2018, 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 | |
| 16 | #include "sdm710.dtsi" |
| 17 | #include "sdm670-cdp.dtsi" |
| 18 | #include "pm660a.dtsi" |
| 19 | #include "sdm670-audio-overlay.dtsi" |
| 20 | |
| 21 | / { |
| 22 | model = "Qualcomm Technologies, Inc. SDM710 PM660 + PM660A CDP"; |
| 23 | compatible = "qcom,sdm670-cdp", "qcom,sdm670", "qcom,cdp"; |
| 24 | qcom,board-id = <1 0>; |
| 25 | qcom,pmic-id = <0x0001001b 0x0001011a 0x0 0x0>, |
| 26 | <0x0001001b 0x0002001a 0x0 0x0>, |
| 27 | <0x0001001b 0x0202001a 0x0 0x0>; |
| 28 | }; |
| 29 | |
| 30 | &dsi_dual_nt35597_truly_video_display { |
| 31 | /delete-property/ qcom,dsi-display-active; |
| 32 | }; |
| 33 | |
| 34 | &dsi_panel_pwr_supply_labibb_amoled { |
| 35 | qcom,panel-supply-entry@2 { |
| 36 | reg = <2>; |
| 37 | qcom,supply-name = "lab"; |
| 38 | qcom,supply-min-voltage = <4600000>; |
| 39 | qcom,supply-max-voltage = <6100000>; |
| 40 | qcom,supply-enable-load = <100000>; |
| 41 | qcom,supply-disable-load = <100>; |
| 42 | }; |
| 43 | |
| 44 | qcom,panel-supply-entry@3 { |
| 45 | reg = <3>; |
| 46 | qcom,supply-name = "ibb"; |
| 47 | qcom,supply-min-voltage = <4000000>; |
| 48 | qcom,supply-max-voltage = <6300000>; |
| 49 | qcom,supply-enable-load = <100000>; |
| 50 | qcom,supply-disable-load = <100>; |
| 51 | }; |
| 52 | |
| 53 | qcom,panel-supply-entry@4 { |
| 54 | reg = <4>; |
| 55 | qcom,supply-name = "oledb"; |
| 56 | qcom,supply-min-voltage = <5000000>; |
| 57 | qcom,supply-max-voltage = <8100000>; |
| 58 | qcom,supply-enable-load = <100000>; |
| 59 | qcom,supply-disable-load = <100>; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | &dsi_rm67195_amoled_fhd_cmd_display { |
| 64 | qcom,dsi-display-active; |
| 65 | lab-supply = <&lab_regulator>; |
| 66 | ibb-supply = <&ibb_regulator>; |
| 67 | oledb-supply = <&pm660a_oledb>; |
| 68 | }; |