openwrt/target/linux/bcm27xx/patches-5.10/950-0662-dt-bindings-display-vc4-Add-phandle-to-the-firmware.patch

32 lines
1015 B
Diff
Raw Normal View History

From 23db49ffa4fb3e0205433f22f56ce73cebe2cb03 Mon Sep 17 00:00:00 2001
From: Maxime Ripard <maxime@cerno.tech>
Date: Wed, 23 Jun 2021 11:48:35 +0200
Subject: [PATCH] dt-bindings: display: vc4: Add phandle to the
firmware
The vc4 driver will need to tell the firmware that it takes over the
display for the firmware to free its resources (lower the clock, free
some memory, etc.)
Let's add an optional phandle to our firmware node.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
.../devicetree/bindings/display/brcm,bcm2835-vc4.yaml | 5 +++++
1 file changed, 5 insertions(+)
--- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml
+++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml
@@ -21,6 +21,11 @@ properties:
- brcm,bcm2835-vc4
- brcm,cygnus-vc4
+ raspberrypi,firmware:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: >
+ Phandle to the mailbox node to communicate with the firmware.
+
required:
- compatible