| /* |
| * Copyright (c) 2019, 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/; |
| |
| #include "sdm450.dtsi" |
| #include "msm8953-mtp.dtsi" |
| / { |
| model = "Qualcomm Technologies, Inc. SDM450 + NO PMI MTP S3"; |
| compatible = "qcom,sdm450-mtp", "qcom,sdm450", "qcom,mtp"; |
| qcom,board-id = <8 3>; |
| qcom,pmic-id = <0x010016 0x0 0x0 0x0>; |
| }; |
| |
| &eeprom0 { |
| cam_vdig-supply = <&pm8953_l23>; |
| }; |
| |
| &camera0 { |
| cam_vdig-supply = <&pm8953_l23>; |
| }; |
| |
| &pm8953_gpios { |
| bklt_en { |
| bklt_en_default: bklt_en_default { |
| pins = "gpio4"; |
| function = "normal"; |
| power-source = <0>; |
| output-high; |
| }; |
| }; |
| }; |
| |
| &pm8953_pwm { |
| status = "ok"; |
| }; |
| |
| &mdss_dsi0 { |
| qcom,dsi-pref-prim-pan = <&dsi_hx8399c_truly_vid>; |
| pinctrl-names = "mdss_default", "mdss_sleep"; |
| pinctrl-0 = <&mdss_dsi_active &mdss_te_active &bklt_en_default>; |
| pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>; |
| qcom,platform-bklight-en-gpio = <&pm8953_gpios 4 0>; |
| |
| }; |
| |
| &dsi_truly_1080_vid { |
| qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm"; |
| qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>; |
| qcom,mdss-dsi-bl-pmic-bank-select = <0>; |
| qcom,mdss-dsi-pwm-gpio = <&pm8953_gpios 8 0>; |
| }; |
| |
| &dsi_hx8399c_truly_vid { |
| qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm"; |
| qcom,mdss-dsi-bl-pmic-pwm-frequency = <100>; |
| qcom,mdss-dsi-bl-pmic-bank-select = <0>; |
| qcom,mdss-dsi-pwm-gpio = <&pm8953_gpios 8 0>; |
| }; |