On our custom AM64x hardware we have a RTC with the RTC INT pin connected to EXTINT, IOPAD(0x0278).
Now it looks like we can not use the RV3028 RTC interrupt because the GPIO controller nor the GIC EXTINT source (SPI range GLUELOGIC_GLUE_EXT_INTN_OUT_0) is able to detect a level low interrupt type.
// gpio-davinci.c static int gpio_irq_type(struct irq_data *d, unsigned trigger) { if (trigger & ~(IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)) return -EINVAL; // rtc-rv3028.c ret = devm_request_threaded_irq(&client->dev, client->irq, NULL, rv3028_handle_irq, IRQF_TRIGGER_LOW | IRQF_ONESHOT, "rv3028", rv3028);
The AM64x GPIO controller does not support level interrupts, but only falling/rising. And if I try to use the GICs EXTINT source, it also says no support for low level interrupt.
So I assume we will be not able to use this RTC int signal in our design.
The IRQF_TRIGGER_LOW type seems to be common for RTCs. Is there something we can do?