bcm27xx: add support for linux v5.15
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.15 / 950-0416-dt-bindings-display-vc4-Add-phandle-to-the-firmware.patch
1 From 895b50c0855bf5c19525249c388a4b72bf7b0302 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Wed, 23 Jun 2021 11:48:35 +0200
4 Subject: [PATCH] dt-bindings: display: vc4: Add phandle to the
5 firmware
6
7 The vc4 driver will need to tell the firmware that it takes over the
8 display for the firmware to free its resources (lower the clock, free
9 some memory, etc.)
10
11 Let's add an optional phandle to our firmware node.
12
13 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
14 ---
15 .../devicetree/bindings/display/brcm,bcm2835-vc4.yaml | 5 +++++
16 1 file changed, 5 insertions(+)
17
18 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml
19 +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml
20 @@ -21,6 +21,11 @@ properties:
21 - brcm,bcm2835-vc4
22 - brcm,cygnus-vc4
23
24 + raspberrypi,firmware:
25 + $ref: /schemas/types.yaml#/definitions/phandle
26 + description: >
27 + Phandle to the mailbox node to communicate with the firmware.
28 +
29 required:
30 - compatible
31