ralink: Add support for GPIO as interrupt-controller
authorDaniel Santos <daniel.santos@pobox.com>
Mon, 5 Nov 2018 02:48:13 +0000 (20:48 -0600)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:15 +0000 (17:48 +0100)
commit2d45d5c2f94700e85ed60a1cb3663bac9b15599f
tree1d7665e4f7cd0b017bb961bc0631e6bbaf591b44
parentfc325c43aa585e051360a04c1924bd87cf88aac8
ralink: Add support for GPIO as interrupt-controller

The gpio-ralink driver has everything it needs to be used as an
interrupt controller except for device tree support.  This simple patch
adds that support by configuring the irq domain to use two cells and
adding the appropriate documentation to the devicetree bindings.

Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
(backported from 89eb1a6d7250c33ff5b43f4af3c0c78ffd3d8eb9)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/linux/ramips/patches-4.14/0029-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch [new file with mode: 0644]