gicv2: enable configuring IRQ trigger type
authorMarcin Wojtas <[email protected]>
Wed, 21 Mar 2018 08:55:47 +0000 (09:55 +0100)
committerKonstantin Porotchkin <[email protected]>
Mon, 3 Sep 2018 12:46:14 +0000 (15:46 +0300)
commit4acd900df6275cd724266157e04e2b75d82cf24a
treeaacd6b760a02e7deab2a8c9972b9d09b1238dfe9
parent155d01ff1eea98fbec128688eedbefc8a6b798af
gicv2: enable configuring IRQ trigger type

This patch introduces new helper routines that allow
configuring the individual IRQs to be edge/level-triggered
via GICD_ICFGR registers. This is helpful to modify
the default configuration of the non-secure GIC SPI's, which
are all set during initialization to be level-sensitive.

Change-Id: I23deb4a0381691a686a3cda52405aa1dfd5e56f2
Signed-off-by: Marcin Wojtas <[email protected]>
Reviewed-by: Kostya Porotchkin <[email protected]>
drivers/arm/gic/v2/gicv2_main.c
include/drivers/arm/gicv2.h