irqchip: sm1 support double-edge gpio irq trigger [1/1]

PD#SWPL-5395

Problem:
sm1 support double-edge trigger, current code do not support.

Solution:
add relatvie bitmask to support this function.

Verify:
ptm & sm1_skt

Change-Id: I48ebc9b38db868f946c49b6fd5f98d427b2669df
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
This commit is contained in:
Qianggui Song
2019-03-08 15:40:42 +08:00
committed by Luke Go
parent 6c72eb1412
commit 44cb00d7cf
2 changed files with 2 additions and 2 deletions

View File

@@ -521,7 +521,7 @@
gpio_intc: interrupt-controller@f080 {
compatible = "amlogic,meson-gpio-intc",
"amlogic,meson-g12a-gpio-intc";
"amlogic,meson-sm1-gpio-intc";
reg = <0xf080 0x10>;
interrupt-controller;
#interrupt-cells = <2>;

View File

@@ -521,7 +521,7 @@
gpio_intc: interrupt-controller@f080 {
compatible = "amlogic,meson-gpio-intc",
"amlogic,meson-g12a-gpio-intc";
"amlogic,meson-sm1-gpio-intc";
reg = <0x0 0xf080 0x0 0x10>;
interrupt-controller;
#interrupt-cells = <2>;