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

Message ID 20230713165238.2814849-1-amit.pundir@linaro.org
State New
Headers
Series [v5,1/2] dt-bindings: display/msm: mdss-common: add memory-region property |

Commit Message

Amit Pundir July 13, 2023, 4:52 p.m. UTC
  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.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
---
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@linaro.org/

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

Comments

Rob Herring July 19, 2023, 8:09 p.m. UTC | #1
On Thu, 13 Jul 2023 22:22:37 +0530, Amit Pundir wrote:
> 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.
> 
> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
> ---
> 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@linaro.org/
> 
>  .../devicetree/bindings/display/msm/mdss-common.yaml         | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
  
Krzysztof Kozlowski July 26, 2023, 11:29 a.m. UTC | #2
On 13/07/2023 18:52, Amit Pundir wrote:
> 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.
> 
> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
  

Patch

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