You need to sign in or sign up before continuing.
提交 7a960827 编写于 作者: M Maxime Ripard 提交者: Zheng Zengkai

ARM: dts: bcm2711: Add the BSC interrupt controller

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

The BSC controllers used for the HDMI DDC have an interrupt controller
shared between both instances. Let's add it to avoid polling.
Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NMaxime Ripard <maxime@cerno.tech>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 d1bcdf2a
...@@ -308,6 +308,14 @@ ...@@ -308,6 +308,14 @@
#reset-cells = <1>; #reset-cells = <1>;
}; };
bsc_intr: interrupt-controller@7ef00040 {
compatible = "brcm,bcm2711-l2-intc", "brcm,l2-intc";
reg = <0x7ef00040 0x30>;
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <1>;
};
hdmi0: hdmi@7ef00700 { hdmi0: hdmi@7ef00700 {
compatible = "brcm,bcm2711-hdmi0"; compatible = "brcm,bcm2711-hdmi0";
reg = <0x7ef00700 0x300>, reg = <0x7ef00700 0x300>,
...@@ -348,6 +356,8 @@ ...@@ -348,6 +356,8 @@
reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>; reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
reg-names = "bsc", "auto-i2c"; reg-names = "bsc", "auto-i2c";
clock-frequency = <97500>; clock-frequency = <97500>;
interrupt-parent = <&bsc_intr>;
interrupts = <0>;
status = "disabled"; status = "disabled";
}; };
...@@ -391,6 +401,8 @@ ...@@ -391,6 +401,8 @@
reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>; reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>;
reg-names = "bsc", "auto-i2c"; reg-names = "bsc", "auto-i2c";
clock-frequency = <97500>; clock-frequency = <97500>;
interrupt-parent = <&bsc_intr>;
interrupts = <1>;
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册