From cb73c3f5b97b218d701cfe5e8bc88bc5b327d2ec Mon Sep 17 00:00:00 2001 From: Gopikrishnaiah Anandan Date: Tue, 31 Mar 2020 14:53:52 -0700 Subject: [PATCH 1/2] bindings: Documentation: add documentation for demura block entries Add documentation for demura hardware block device tree entries. Change-Id: Ieb3e8d11d80e8c5318df1a1443ca1e2a7017bc5e --- bindings/sde.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/sde.txt b/bindings/sde.txt index 71c521d2bff1..f61db98acd97 100644 --- a/bindings/sde.txt +++ b/bindings/sde.txt @@ -323,6 +323,10 @@ Optional properties: corresponding DSPP block offset as base. - qcom,sde-dspp-spr-size: A u32 value indicating the SPR block register address range - qcom,sde-dspp-spr-version: A u32 value indicating the version of SPR hardware. +- qcom,sde-dspp-demura-off: Array of u32 offsets indicate the demura block offsets from the + corresponding DSPP block offset as base. +- qcom,sde-dspp-demura-size: A u32 value indicating the demura block register address range +- qcom,sde-dspp-demura-version: A u32 value indicating the version of demura hardware. - qcom,sde-vbif-id: Array of vbif ids corresponding to the offsets defined in property: qcom,sde-vbif-off. - qcom,sde-vbif-default-ot-rd-limit: A u32 value indicates the default read OT limit @@ -605,6 +609,9 @@ Example: qcom,sde-dspp-spr-off = <0x15400 0x14400>; qcom,sde-dspp-spr-size = <0x200>; qcom,sde-dspp-spr-version = <0x00010000>: + qcom,sde-dspp-demura-off = <0x15600 0x14800>; + qcom,sde-dspp-demura-size = <0x200>; + qcom,sde-dspp-demura-version = <0x00010000>: qcom,sde-dspp-rc-mem-size = <2720>; qcom,sde-dest-scaler-top-off = <0x00061000>; qcom,sde-dest-scaler-off = <0x800 0x1000>; From 5e2f067715de630249c0c3b06588b3cbbeb0fe4c Mon Sep 17 00:00:00 2001 From: Gopikrishnaiah Anandan Date: Tue, 25 Feb 2020 19:25:45 -0800 Subject: [PATCH 2/2] ARM: dts: qcom: Add support for demura block on lahaina target DPU version supports demura block, change adds offsets of module. Change-Id: I97c79047b2b48a0b059c8a918d35aa09c1034766 --- display/lahaina-sde.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/display/lahaina-sde.dtsi b/display/lahaina-sde.dtsi index d4607746dc98..152ba738e3b6 100644 --- a/display/lahaina-sde.dtsi +++ b/display/lahaina-sde.dtsi @@ -194,6 +194,10 @@ qcom,sde-dspp-spr-size = <0x200>; qcom,sde-dspp-spr-version = <0x00010000>; + qcom,sde-dspp-demura-off = <0x15600 0x14800>; + qcom,sde-dspp-demura-size = <0x200>; + qcom,sde-dspp-demura-version = <0x00010000>; + qcom,sde-uidle-off = <0x80000>; qcom,sde-uidle-size = <0x70>;