ARM: dts: msm: add initial dsi display nodes for Tuna
Add initial dsi display nodes for Tuna. Change-Id: Iadcf785e9ecdaa8baabe94ce0921190d141170d2 Signed-off-by: Abhinav Saurabh <quic_abhisaur@quicinc.com>
This commit is contained in:
149
display/tuna-sde-common.dtsi
Normal file
149
display/tuna-sde-common.dtsi
Normal file
@@ -0,0 +1,149 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
mdss_mdp: qcom,mdss_mdp@ae00000 {
|
||||||
|
};
|
||||||
|
|
||||||
|
mdss_dsi0: qcom,mdss_dsi_ctrl0@ae94000 {
|
||||||
|
compatible = "qcom,dsi-ctrl-hw-v2.9";
|
||||||
|
label = "dsi-ctrl-0";
|
||||||
|
cell-index = <0>;
|
||||||
|
frame-threshold-time-us = <800>;
|
||||||
|
reg = <0xae94000 0x1000>,
|
||||||
|
<0xaf0f000 0x4>,
|
||||||
|
<0x0ae36000 0x300>;
|
||||||
|
reg-names = "dsi_ctrl", "disp_cc_base", "mdp_intf_base";
|
||||||
|
interrupt-parent = <&mdss_mdp>;
|
||||||
|
interrupts = <4 0>;
|
||||||
|
|
||||||
|
qcom,ctrl-supply-entries {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
qcom,ctrl-supply-entry@0 {
|
||||||
|
reg = <0>;
|
||||||
|
qcom,supply-name = "vdda-1p2";
|
||||||
|
qcom,supply-min-voltage = <1200000>;
|
||||||
|
qcom,supply-max-voltage = <1300000>;
|
||||||
|
qcom,supply-enable-load = <16600>;
|
||||||
|
qcom,supply-disable-load = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mdss_dsi1: qcom,mdss_dsi_ctrl1@ae96000 {
|
||||||
|
compatible = "qcom,dsi-ctrl-hw-v2.9";
|
||||||
|
label = "dsi-ctrl-1";
|
||||||
|
cell-index = <1>;
|
||||||
|
frame-threshold-time-us = <800>;
|
||||||
|
reg = <0xae96000 0x1000>,
|
||||||
|
<0xaf0f000 0x4>,
|
||||||
|
<0x0ae37000 0x300>;
|
||||||
|
reg-names = "dsi_ctrl", "disp_cc_base", "mdp_intf_base";
|
||||||
|
interrupt-parent = <&mdss_mdp>;
|
||||||
|
interrupts = <5 0>;
|
||||||
|
|
||||||
|
qcom,ctrl-supply-entries {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
qcom,ctrl-supply-entry@0 {
|
||||||
|
reg = <0>;
|
||||||
|
qcom,supply-name = "vdda-1p2";
|
||||||
|
qcom,supply-min-voltage = <1200000>;
|
||||||
|
qcom,supply-max-voltage = <1300000>;
|
||||||
|
qcom,supply-enable-load = <16600>;
|
||||||
|
qcom,supply-disable-load = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mdss_dsi_phy0: qcom,mdss_dsi_phy0@ae95500 {
|
||||||
|
compatible = "qcom,dsi-phy-v5.2";
|
||||||
|
label = "dsi-phy-0";
|
||||||
|
cell-index = <0>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
reg = <0xae95000 0xa00>,
|
||||||
|
<0xae95500 0x400>,
|
||||||
|
<0xae94200 0xa0>;
|
||||||
|
reg-names = "dsi_phy", "pll_base", "dyn_refresh_base";
|
||||||
|
pll-label = "dsi_pll_4nm";
|
||||||
|
|
||||||
|
qcom,platform-strength-ctrl = [55 03
|
||||||
|
55 03
|
||||||
|
55 03
|
||||||
|
55 03
|
||||||
|
55 00];
|
||||||
|
qcom,platform-lane-config = [00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 8a 8a];
|
||||||
|
qcom,platform-regulator-settings = [1d 1d 1d 1d 1d];
|
||||||
|
|
||||||
|
qcom,phy-supply-entries {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
qcom,phy-supply-entry@0 {
|
||||||
|
reg = <0>;
|
||||||
|
qcom,supply-name = "vdda-0p9";
|
||||||
|
qcom,supply-min-voltage = <880000>;
|
||||||
|
qcom,supply-max-voltage = <925000>;
|
||||||
|
qcom,supply-enable-load = <98000>;
|
||||||
|
qcom,supply-disable-load = <96>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mdss_dsi_phy1: qcom,mdss_dsi_phy1@ae97500 {
|
||||||
|
compatible = "qcom,dsi-phy-v5.2";
|
||||||
|
label = "dsi-phy-1";
|
||||||
|
cell-index = <1>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
reg = <0xae97000 0xa00>,
|
||||||
|
<0xae97500 0x400>,
|
||||||
|
<0xae96200 0xa0>;
|
||||||
|
reg-names = "dsi_phy", "pll_base", "dyn_refresh_base";
|
||||||
|
pll-label = "dsi_pll_4nm";
|
||||||
|
|
||||||
|
qcom,platform-strength-ctrl = [55 03
|
||||||
|
55 03
|
||||||
|
55 03
|
||||||
|
55 03
|
||||||
|
55 00];
|
||||||
|
qcom,platform-regulator-settings = [1d 1d 1d 1d 1d];
|
||||||
|
qcom,platform-lane-config = [00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 0a 0a
|
||||||
|
00 00 8a 8a];
|
||||||
|
qcom,phy-supply-entries {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
qcom,phy-supply-entry@0 {
|
||||||
|
reg = <0>;
|
||||||
|
qcom,supply-name = "vdda-0p9";
|
||||||
|
qcom,supply-min-voltage = <880000>;
|
||||||
|
qcom,supply-max-voltage = <925000>;
|
||||||
|
qcom,supply-enable-load = <98000>;
|
||||||
|
qcom,supply-disable-load = <96>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dsi_pll_codes_data:dsi_pll_codes {
|
||||||
|
reg = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
|
||||||
|
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0>;
|
||||||
|
label = "dsi_pll_codes";
|
||||||
|
};
|
||||||
|
};
|
14
display/tuna-sde.dts
Normal file
14
display/tuna-sde.dts
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "tuna-sde.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
qcom,msm-id = <681 0x10000>, <655 0x10000>;
|
||||||
|
qcom,board-id = <0 0>;
|
||||||
|
};
|
57
display/tuna-sde.dtsi
Normal file
57
display/tuna-sde.dtsi
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
#include <dt-bindings/clock/qcom,dispcc-tuna.h>
|
||||||
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||||
|
#include "tuna-sde-common.dtsi"
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_mdp {
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dsi0 {
|
||||||
|
vdda-1p2-supply = <&L4B>;
|
||||||
|
qcom,split-link-supported;
|
||||||
|
clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
|
||||||
|
<&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_PCLK0_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>,
|
||||||
|
<&dispcc DISP_CC_MDSS_ESC0_CLK>,
|
||||||
|
<&rpmhcc RPMH_CXO_CLK>;
|
||||||
|
clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk",
|
||||||
|
"pixel_clk", "pixel_clk_rcg", "esc_clk", "xo";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dsi1 {
|
||||||
|
vdda-1p2-supply = <&L4B>;
|
||||||
|
qcom,split-link-supported;
|
||||||
|
clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
|
||||||
|
<&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_PCLK1_CLK>,
|
||||||
|
<&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>,
|
||||||
|
<&dispcc DISP_CC_MDSS_ESC1_CLK>,
|
||||||
|
<&rpmhcc RPMH_CXO_CLK>;
|
||||||
|
clock-names = "byte_clk", "byte_clk_rcg", "byte_intf_clk",
|
||||||
|
"pixel_clk", "pixel_clk_rcg", "esc_clk", "xo";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dsi_phy0 {
|
||||||
|
vdda-0p9-supply = <&L2B>;
|
||||||
|
qcom,panel-allow-phy-poweroff;
|
||||||
|
qcom,dsi-pll-ssc-en;
|
||||||
|
qcom,dsi-pll-ssc-mode = "down-spread";
|
||||||
|
pll_codes_region = <&dsi_pll_codes_data>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dsi_phy1 {
|
||||||
|
vdda-0p9-supply = <&L2B>;
|
||||||
|
qcom,panel-allow-phy-poweroff;
|
||||||
|
qcom,dsi-pll-ssc-en;
|
||||||
|
qcom,dsi-pll-ssc-mode = "down-spread";
|
||||||
|
pll_codes_region = <&dsi_pll_codes_data>;
|
||||||
|
};
|
Reference in New Issue
Block a user