From 2f01796505872ef491eda0fea8e0dff5d528e274 Mon Sep 17 00:00:00 2001 From: Sanskar Omar Date: Thu, 14 Dec 2023 17:05:29 +0530 Subject: [PATCH] ARM: dts: msm: introduce AI Scaler support The Sun platform introduces support for AI Scaler hardware. Update the device tree definition to provide AI Scaler hardware details and register access to the MSM DRM driver. Change-Id: I38944376bc4579759391ff1e70882bf812dc133e Signed-off-by: Sanskar Omar --- bindings/sde.txt | 8 ++++++++ display/sun-sde-common.dtsi | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/bindings/sde.txt b/bindings/sde.txt index 2abbe5a5..779a3da7 100644 --- a/bindings/sde.txt +++ b/bindings/sde.txt @@ -404,6 +404,12 @@ Optional properties: hardware. - qcom,sde-dspp-aiqe-wrapper-size: A u32 value indicating the shared memory size of each AIQE wrapper hardware block instance. +- qcom,sde-dspp-aiqe-aiscaler-off: Array of u32 values indicating the offset of each AIQE + AI Scaler block relative to its parent DSPP block. +- qcom,sde-dspp-aiqe-aiscaler-version: A u32 value indicating the version of the AIQE AI Scaler + hardware. +- qcom,sde-dspp-aiqe-aiscaler-size: A u32 value indicating the shared memory size of each AIQE + AI Scaler hardware block instance. - qcom,sde-aiqe-has-feature-mdnie: Boolean property indicating the presence of AIQE feature mDNIe hardware. - qcom,sde-aiqe-has-feature-abc: Boolean property indicating the presence of AIQE feature ABC @@ -412,6 +418,8 @@ Optional properties: hardware. - qcom,sde-aiqe-has-feature-copr: Boolean property indicating the presence of AIQE feature COPR hardware. +- qcom,sde-aiqe-has-feature-aiscaler: Boolean property indicating the presence of AIQE feature + AI Scaler hardware. - qcom,sde-lm-noise-off: A u32 value indicating noise layer offset from mixer base. - qcom,sde-lm-noise-version: A u32 value indicating the noise layer version. - qcom,sde-vbif-id: Array of vbif ids corresponding to the diff --git a/display/sun-sde-common.dtsi b/display/sun-sde-common.dtsi index c517fc02..eb41ed1e 100644 --- a/display/sun-sde-common.dtsi +++ b/display/sun-sde-common.dtsi @@ -205,10 +205,15 @@ qcom,sde-dspp-aiqe-wrapper-version = <0x00010000>; qcom,sde-dspp-aiqe-wrapper-size = <0x1c>; + qcom,sde-dspp-aiqe-aiscaler-off = <0x30000 0xffffffff>; + qcom,sde-dspp-aiqe-aiscaler-version = <0x00010000>; + qcom,sde-dspp-aiqe-aiscaler-size = <0x7d0>; + qcom,sde-aiqe-has-feature-mdnie; qcom,sde-aiqe-has-feature-abc; qcom,sde-aiqe-has-feature-ssrc; qcom,sde-aiqe-has-feature-copr; + qcom,sde-aiqe-has-feature-aiscaler; qcom,sde-lm-noise-off = <0x320>; qcom,sde-lm-noise-version = <0x00010000>;