mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
f6a8eaca0e
For mdp5, the irqs of hdmi/eDP/dsi0/dsi1 blocks get routed through the mdp block. In order to decouple hdmi/eDP/etc, register an irq domain in mdp5. When hdmi/dsi/etc are used with mdp4, they can directly setup their irqs in their DT nodes as normal. When used with mdp5, instead set the mdp device as the interrupt-parent, as in: mdp: qcom,mdss_mdp@fd900000 { compatible = "qcom,mdss_mdp"; interrupt-controller; #interrupt-cells = <1>; ... }; hdmi: qcom,hdmi_tx@fd922100 { compatible = "qcom,hdmi-tx-8074"; interrupt-parent = <&mdp>; interrupts = <8 0>; /* MDP5_HW_INTR_STATUS.INTR_HDMI */ ... }; There is a slight awkwardness, in that we cannot disable child irqs at the mdp level, they can only be cleared in the child block. So you must not use threaded irq handlers in the child. I'm not sure if there is a better way to deal with that. Signed-off-by: Rob Clark <robdclark@gmail.com> |
||
---|---|---|
.. | ||
hdmi_audio.c | ||
hdmi_bridge.c | ||
hdmi_connector.c | ||
hdmi_i2c.c | ||
hdmi_phy_8x60.c | ||
hdmi_phy_8x74.c | ||
hdmi_phy_8960.c | ||
hdmi.c | ||
hdmi.h | ||
hdmi.xml.h | ||
qfprom.xml.h |