]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: Enable interrupt support for cygnus crmu gpio driver
authorJonathan Richardson <jonathan.richardson@broadcom.com>
Tue, 18 Oct 2016 19:00:38 +0000 (12:00 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 16 Nov 2016 20:38:48 +0000 (12:38 -0800)
The M0 processor handles interrupts for the always-on CRMU GPIO
controller. Setting the CRMU GPIO driver with the mailbox controller as
the interrupt parent allows the mailbox controller to forward interrupts
from the M0 to the GPIO driver for processing.

Reviewed-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Tested-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Reviewed-by: Vikram Prakash <vikram.prakash@broadcom.com>
Reviewed-by: Shreesha Rajashekar <shreesha.rajashekar@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index 4b741f67ec6ad47f3419f2ebdafafd2fbe3507a8..c592f6d8268563f25aa6a4504c19615bfc36dee2 100644 (file)
                        ngpios = <6>;
                        #gpio-cells = <2>;
                        gpio-controller;
+                       interrupt-controller;
+                       interrupt-parent = <&mailbox>;
+                       interrupts = <0>;
                };
 
                i2c0: i2c@18008000 {