Loading qcom/lito-atp.dtsi +104 −0 Original line number Diff line number Diff line #include "lito-audio-overlay.dtsi" #include "lito-pmic-overlay.dtsi" #include "lito-sde-display.dtsi" &soc { Loading Loading @@ -46,3 +47,106 @@ qcom,linearize-soc; qcom,cl-feedback-on; }; &qupv3_se7_i2c { #address-cells = <1>; #size-cells = <0>; status = "ok"; st_fts@49 { compatible = "st,fts"; reg = <0x49>; interrupt-parent = <&tlmm>; interrupts = <9 0x2008>; vdd-supply = <&pm8150_s4>; avdd-supply = <&pm8150_l13>; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 9 0x2008>; st,reset-gpio = <&tlmm 8 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; }; }; &dsi_sw43404_amoled_video { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sw43404_amoled_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sw43404_amoled_fhd_plus_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_vid { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_dsc_375_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_vid { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_dsc_375_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_sec_hd_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,panel-sec-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-sec-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; qcom,platform-sec-reset-gpio = <&tlmm 128 0>; }; &sde_dsi { qcom,dsi-default-panel = <&dsi_sw43404_amoled_video>; }; qcom/lito-sde-display.dtsi +170 −0 Original line number Diff line number Diff line #include "dsi-panel-sw43404-amoled-dsc-wqhd-cmd.dtsi" #include "dsi-panel-sw43404-amoled-dsc-wqhd-video.dtsi" #include "dsi-panel-sw43404-amoled-dsc-fhd-plus-cmd.dtsi" #include "dsi-panel-sim-cmd.dtsi" #include "dsi-panel-sim-video.dtsi" #include "dsi-panel-sim-dsc375-cmd.dtsi" #include "dsi-panel-sim-dualmipi-cmd.dtsi" #include "dsi-panel-sim-dualmipi-video.dtsi" #include "dsi-panel-sim-dualmipi-dsc375-cmd.dtsi" #include "dsi-panel-sim-sec-hd-cmd.dtsi" #include <dt-bindings/clock/mdss-7nm-pll-clk.h> &pm8150l_gpios { Loading Loading @@ -174,3 +181,166 @@ }; }; }; &dsi_sim_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; }; timing@1 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; }; timing@2 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <720 40 720 40 720 40>; qcom,partial-update-enabled = "single_roi"; }; timing@3 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <540 40 540 40 540 40>; qcom,partial-update-enabled = "single_roi"; }; timing@4 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <360 40 360 40 360 40>; qcom,partial-update-enabled = "single_roi"; }; }; }; &dsi_sim_vid { qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 0 1>, <2 0 1>; qcom,default-topology-index = <0>; }; }; }; &dsi_sim_dsc_375_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { /* 1080p */ qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>; qcom,default-topology-index = <0>; }; timing@1 { /* qhd */ qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <1 1 1>, <2 2 1>, /* dsc merge */ <2 1 1>; /* 3d mux */ qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 24 09 09 26 24 09 09 06 02 04 00 18 17]; qcom,display-topology = <2 0 2>; qcom,default-topology-index = <0>; }; timing@1 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 0 2>, <1 0 2>; qcom,default-topology-index = <0>; }; timing@2 { qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <2 0 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_vid { qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 0 2>, <1 0 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_dsc_375_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { /* qhd */ qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; timing@1 { /* 4k */ qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; timing@2 { /* 5k */ qcom,mdss-dsi-panel-phy-timings = [00 46 13 14 33 30 12 14 0e 02 04 00 37 22]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_sim_sec_hd_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 17]; qcom,display-topology = <1 0 1>; qcom,default-topology-index = <0>; qcom,panel-roi-alignment = <720 40 720 40 720 40>; qcom,partial-update-enabled = "single_roi"; }; }; }; Loading
qcom/lito-atp.dtsi +104 −0 Original line number Diff line number Diff line #include "lito-audio-overlay.dtsi" #include "lito-pmic-overlay.dtsi" #include "lito-sde-display.dtsi" &soc { Loading Loading @@ -46,3 +47,106 @@ qcom,linearize-soc; qcom,cl-feedback-on; }; &qupv3_se7_i2c { #address-cells = <1>; #size-cells = <0>; status = "ok"; st_fts@49 { compatible = "st,fts"; reg = <0x49>; interrupt-parent = <&tlmm>; interrupts = <9 0x2008>; vdd-supply = <&pm8150_s4>; avdd-supply = <&pm8150_l13>; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 9 0x2008>; st,reset-gpio = <&tlmm 8 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; }; }; &dsi_sw43404_amoled_video { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sw43404_amoled_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sw43404_amoled_fhd_plus_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,mdss-brightness-max-level = <255>; qcom,platform-te-gpio = <&tlmm 10 0>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_vid { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_dsc_375_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_vid { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_dual_sim_dsc_375_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; }; &dsi_sim_sec_hd_cmd { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,panel-sec-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-sec-bl-pmic-control-type = "bl_ctrl_dcs"; qcom,mdss-dsi-bl-min-level = <1>; qcom,mdss-dsi-bl-max-level = <1023>; qcom,platform-reset-gpio = <&pm8150l_gpios 3 0>; qcom,platform-sec-reset-gpio = <&tlmm 128 0>; }; &sde_dsi { qcom,dsi-default-panel = <&dsi_sw43404_amoled_video>; };
qcom/lito-sde-display.dtsi +170 −0 Original line number Diff line number Diff line #include "dsi-panel-sw43404-amoled-dsc-wqhd-cmd.dtsi" #include "dsi-panel-sw43404-amoled-dsc-wqhd-video.dtsi" #include "dsi-panel-sw43404-amoled-dsc-fhd-plus-cmd.dtsi" #include "dsi-panel-sim-cmd.dtsi" #include "dsi-panel-sim-video.dtsi" #include "dsi-panel-sim-dsc375-cmd.dtsi" #include "dsi-panel-sim-dualmipi-cmd.dtsi" #include "dsi-panel-sim-dualmipi-video.dtsi" #include "dsi-panel-sim-dualmipi-dsc375-cmd.dtsi" #include "dsi-panel-sim-sec-hd-cmd.dtsi" #include <dt-bindings/clock/mdss-7nm-pll-clk.h> &pm8150l_gpios { Loading Loading @@ -174,3 +181,166 @@ }; }; }; &dsi_sim_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; }; timing@1 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; }; timing@2 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <720 40 720 40 720 40>; qcom,partial-update-enabled = "single_roi"; }; timing@3 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <540 40 540 40 540 40>; qcom,partial-update-enabled = "single_roi"; }; timing@4 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>, <2 2 1>; qcom,default-topology-index = <1>; qcom,panel-roi-alignment = <360 40 360 40 360 40>; qcom,partial-update-enabled = "single_roi"; }; }; }; &dsi_sim_vid { qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 0 1>, <2 0 1>; qcom,default-topology-index = <0>; }; }; }; &dsi_sim_dsc_375_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { /* 1080p */ qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <1 1 1>; qcom,default-topology-index = <0>; }; timing@1 { /* qhd */ qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <1 1 1>, <2 2 1>, /* dsc merge */ <2 1 1>; /* 3d mux */ qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 24 09 09 26 24 09 09 06 02 04 00 18 17]; qcom,display-topology = <2 0 2>; qcom,default-topology-index = <0>; }; timing@1 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 0 2>, <1 0 2>; qcom,default-topology-index = <0>; }; timing@2 { qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <2 0 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_vid { qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 0 2>, <1 0 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_dual_sim_dsc_375_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { /* qhd */ qcom,mdss-dsi-panel-phy-timings = [00 1c 08 07 23 22 07 07 05 02 04 00 18 17]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; timing@1 { /* 4k */ qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 18]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; timing@2 { /* 5k */ qcom,mdss-dsi-panel-phy-timings = [00 46 13 14 33 30 12 14 0e 02 04 00 37 22]; qcom,display-topology = <2 2 2>; qcom,default-topology-index = <0>; }; }; }; &dsi_sim_sec_hd_cmd { qcom,ulps-enabled; qcom,mdss-dsi-display-timings { timing@0 { qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08 08 05 02 04 00 19 17]; qcom,display-topology = <1 0 1>; qcom,default-topology-index = <0>; qcom,panel-roi-alignment = <720 40 720 40 720 40>; qcom,partial-update-enabled = "single_roi"; }; }; };