bcm27xx: add kernel 5.10 support
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0461-dt-binding-display-bcm2711-hdmi-Add-CEC-and-hotplug-.patch
diff --git a/target/linux/bcm27xx/patches-5.10/950-0461-dt-binding-display-bcm2711-hdmi-Add-CEC-and-hotplug-.patch b/target/linux/bcm27xx/patches-5.10/950-0461-dt-binding-display-bcm2711-hdmi-Add-CEC-and-hotplug-.patch
new file mode 100644 (file)
index 0000000..dd989df
--- /dev/null
@@ -0,0 +1,51 @@
+From d08cc5b251941721372910b4f7d0fdafced25d45 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <maxime@cerno.tech>
+Date: Mon, 11 Jan 2021 15:23:07 +0100
+Subject: [PATCH] dt-binding: display: bcm2711-hdmi: Add CEC and
+ hotplug interrupts
+
+The CEC and hotplug interrupts were missing when that binding was
+introduced, let's add them in now that we've figured out how it works.
+
+Signed-off-by: Maxime Ripard <maxime@cerno.tech>
+Acked-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
+---
+ .../bindings/display/brcm,bcm2711-hdmi.yaml   | 20 ++++++++++++++++++-
+ 1 file changed, 19 insertions(+), 1 deletion(-)
+
+--- a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml
++++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml
+@@ -53,6 +53,24 @@ properties:
+       - const: audio
+       - const: cec
++  interrupts:
++    items:
++      - description: CEC TX interrupt
++      - description: CEC RX interrupt
++      - description: CEC stuck at low interrupt
++      - description: Wake-up interrupt
++      - description: Hotplug connected interrupt
++      - description: Hotplug removed interrupt
++
++  interrupt-names:
++    items:
++      - const: cec-tx
++      - const: cec-rx
++      - const: cec-low
++      - const: wakeup
++      - const: hpd-connected
++      - const: hpd-removed
++
+   ddc:
+     allOf:
+       - $ref: /schemas/types.yaml#/definitions/phandle
+@@ -90,7 +108,7 @@ required:
+   - resets
+   - ddc
+-additionalProperties: false
++unevaluatedProperties: false
+ examples:
+   - |