Re: [PATCH 15/15] ARM: dts: bcm2711: Add the CEC interrupt controller

2020-12-11 Thread Florian Fainelli



On 12/10/2020 5:46 AM, Maxime Ripard wrote:
> The CEC and hotplug interrupts go through an interrupt controller shared
> between the two HDMI controllers.
> 
> Let's add that interrupt controller and the interrupts for both HDMI
> controllers
> 
> Signed-off-by: Maxime Ripard 

Reviewed-by: Florian Fainelli 
-- 
Florian
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH 15/15] ARM: dts: bcm2711: Add the CEC interrupt controller

2020-12-10 Thread Maxime Ripard
The CEC and hotplug interrupts go through an interrupt controller shared
between the two HDMI controllers.

Let's add that interrupt controller and the interrupts for both HDMI
controllers

Signed-off-by: Maxime Ripard 
---
 arch/arm/boot/dts/bcm2711.dtsi | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi
index 8bb46ae76a92..154cf6d35333 100644
--- a/arch/arm/boot/dts/bcm2711.dtsi
+++ b/arch/arm/boot/dts/bcm2711.dtsi
@@ -316,6 +316,14 @@ bsc_intr: interrupt-controller@7ef00040 {
#interrupt-cells = <1>;
};
 
+   aon_intr: interrupt-controller@7ef00100 {
+   compatible = "brcm,bcm2711-l2-intc", "brcm,l2-intc";
+   reg = <0x7ef00100 0x30>;
+   interrupts = ;
+   interrupt-controller;
+   #interrupt-cells = <1>;
+   };
+
hdmi0: hdmi@7ef00700 {
compatible = "brcm,bcm2711-hdmi0";
reg = <0x7ef00700 0x300>,
@@ -338,6 +346,11 @@ hdmi0: hdmi@7ef00700 {
"hd";
clock-names = "hdmi", "bvb", "audio", "cec";
resets = < 0>;
+   interrupt-parent = <_intr>;
+   interrupts = <0>, <1>, <2>,
+<3>, <4>, <5>;
+   interrupt-names = "cec-tx", "cec-rx", "cec-low",
+ "wakeup", "hpd-connected", 
"hpd-removed";
ddc = <>;
dmas = < 10>;
dma-names = "audio-rx";
@@ -377,6 +390,11 @@ hdmi1: hdmi@7ef05700 {
ddc = <>;
clock-names = "hdmi", "bvb", "audio", "cec";
resets = < 1>;
+   interrupt-parent = <_intr>;
+   interrupts = <6>, <7>, <8>,
+<9>, <10>, <11>;
+   interrupt-names = "cec-tx", "cec-rx", "cec-low",
+ "wakeup", "hpd-connected", 
"hpd-removed";
dmas = < 17>;
dma-names = "audio-rx";
status = "disabled";
-- 
2.28.0

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel