Understanding INTRNG framework - Any good documentation?

Hi,

I am writing a GPIO driver for amd64. I see the INTRNG framework available in arm/arm64 and mips platforms would be helpful for my GPIO driver to make it behave like a interrupt controller. But I understand, INTRNG framework is not supported for amd64 platforms.

So, Is there any good documentation or read materials available to understand the INTRNG framework and things to consider to support it in amd64 platforms?
 
Almost 8 years later I'm facing same issue. I need to write a driver for Power Button on modern HP 15e laptop to produce ACPI event. Basically I need to extend sys/dev/amdgpio/amdgpio.c to support interrupts on amd64 platform. The Power Button is connected to amdgpio pin 0 and I can monitor its state using gpioctl 0 command. Are there any docs on how interrupt handling is performed in FreeBSD ?
 
Back
Top