On Wed, Apr 24, 2019 at 04:24:16PM +0200, Jan Kiszka wrote: > > I'm trying to say that for the sysfs access (well or char dev) you > > should not need the sch_sci_handler() thing that is in your current > > patch. > > Then I'm still missing the black magic where - in my case - CGTS or RGTS are > read, evaluated and written back. > > And we would still need the gpio-sch driver to handle GGPE, GTNE, GTPE when > edge events are requested? Is the a reference for /such/ a case? The newer > Intels must be different then. I realized the patch does not get an IRQ resource for the device so the sch_sci_handler() is used to circumvent that. Yeah, if you don't have IRQ resource available from the device ACPI description then I guess hooking into ACPI SCI might be sensible thing to do after all...