[PATCH v6 1/2] dt-bindings: display/msm: mdss-common: add memory-region property

From: Amit Pundir
Date: Wed Jul 26 2023 - 09:27:35 EST


Add and document the reserved memory region property in the
mdss-common schema.

For now (sdm845-db845c), it points to a framebuffer memory
region reserved by the bootloader for splash screen.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Signed-off-by: Amit Pundir <amit.pundir@xxxxxxxxxx>
---
v6: Re-sending with review and ack tags. Ideally this
dt-binding patch should be marked for stable as well,
like the follow-up sdm845-db845c.dts patch in the series
but it can't be cherry picked cleanly on older LTS
versions. I can do it separately if it is required.

v5: Moving the dt-binding to mdss-common schema with
updated commit message and property description.

v4: Adding this new dt-binding patch, in qcom,sdm845-mdss
schema, in the v4 of the follow-up patch for
sdm845-db845c.
https://lore.kernel.org/lkml/20230712130215.666924-2-amit.pundir@xxxxxxxxxx/

.../devicetree/bindings/display/msm/mdss-common.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml
index ccd7d6417523..84ed2757ded5 100644
--- a/Documentation/devicetree/bindings/display/msm/mdss-common.yaml
+++ b/Documentation/devicetree/bindings/display/msm/mdss-common.yaml
@@ -77,6 +77,12 @@ properties:
items:
- description: MDSS_CORE reset

+ memory-region:
+ maxItems: 1
+ description:
+ Phandle to a node describing a reserved framebuffer memory region.
+ For example, the splash memory region set up by the bootloader.
+
required:
- reg
- reg-names
--
2.25.1