From ded5b93e08eca565ade4b21ae20f3f8a8d0ce042 Mon Sep 17 00:00:00 2001 From: Yu Wu Date: Wed, 23 Dec 2020 10:52:59 +0800 Subject: [PATCH] ARM: dts: msm: Add dsi_pll_codes node for waipio Add dsi_pll_codes node. Kernel can get dsi pll codes data from this node. Change-Id: I05282d8b9729ed3db5c0300723aac6c20dd73e8c --- bindings/dsi.txt | 16 ++++++++++++++++ display/waipio-sde-common.dtsi | 12 ++++++++++++ display/waipio-sde.dtsi | 1 + 3 files changed, 29 insertions(+) diff --git a/bindings/dsi.txt b/bindings/dsi.txt index 1d421b23..0ad90d8d 100644 --- a/bindings/dsi.txt +++ b/bindings/dsi.txt @@ -142,6 +142,9 @@ Optional properties: threshold time, which has a default value in chipset based on the CPU processing power. +- dsi_pll_codes: Contain an u32 array data to store dsi pll codes which were passed + from UEFI. + [1] Documentation/devicetree/bindings/clock/clock-bindings.txt [2] Documentation/devicetree/bindings/graph.txt [3] Documentation/devicetree/bindings/media/video-interfaces.txt @@ -253,4 +256,17 @@ Example: qcom,panel-allow-phy-poweroff; qcom,dsi-phy-regulator-min-datarate-bps = <1200000000>; qcom,panel-force-clock-lane-hs; + pll_codes_region = <&dsi_pll_codes_data>; + }; + + 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"; }; diff --git a/display/waipio-sde-common.dtsi b/display/waipio-sde-common.dtsi index cf96d636..11703550 100644 --- a/display/waipio-sde-common.dtsi +++ b/display/waipio-sde-common.dtsi @@ -398,4 +398,16 @@ }; }; }; + + 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"; + }; }; diff --git a/display/waipio-sde.dtsi b/display/waipio-sde.dtsi index cd5820ba..e52efec3 100644 --- a/display/waipio-sde.dtsi +++ b/display/waipio-sde.dtsi @@ -256,6 +256,7 @@ vdda-0p9-supply = <&L5B>; qcom,dsi-pll-ssc-en; qcom,dsi-pll-ssc-mode = "down-spread"; + pll_codes_region = <&dsi_pll_codes_data>; };