Commit-ID: d240fe0a4066e592f8e3a698d8648bdd47bc51b7 Gitweb: http://git.kernel.org/tip/d240fe0a4066e592f8e3a698d8648bdd47bc51b7 Author: Mars Cheng <mars.cheng@xxxxxxxxxxxx> AuthorDate: Sun, 19 Mar 2017 23:26:22 +0800 Committer: Marc Zyngier <marc.zyngier@xxxxxxx> CommitDate: Fri, 7 Apr 2017 10:51:48 +0100 dt-bindings: mtk-sysirq: Add multiple bases support for Mediatek sysirq This describes how to specify multiple base addresses for sysirq in mediatek platforms. Acked-by: Rob Herring <robh@xxxxxxxxxx> Signed-off-by: Mars Cheng <mars.cheng@xxxxxxxxxxxx> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx> --- .../bindings/interrupt-controller/mediatek,sysirq.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt index 9d1d72c..a89c03b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt @@ -21,13 +21,16 @@ Required properties: - interrupt-parent: phandle of irq parent for sysirq. The parent must use the same interrupt-cells format as GIC. - reg: Physical base address of the intpol registers and length of memory - mapped region. + mapped region. Could be multiple bases here. Ex: mt6797 needs 2 reg, others + need 1. Example: - sysirq: interrupt-controller@10200100 { - compatible = "mediatek,mt6589-sysirq", "mediatek,mt6577-sysirq"; + sysirq: intpol-controller@10200620 { + compatible = "mediatek,mt6797-sysirq", + "mediatek,mt6577-sysirq"; interrupt-controller; #interrupt-cells = <3>; interrupt-parent = <&gic>; - reg = <0 0x10200100 0 0x1c>; + reg = <0 0x10220620 0 0x20>, + <0 0x10220690 0 0x10>; }; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |