Re: [PATCH V2] acpi: implement Generic Event Device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, February 07, 2016 10:00:31 AM Sinan Kaya wrote:
> Generic Event Device described in ACPI 6.1 allows platforms to handle
> platform interrupts in ACPI ASL statements. It borrows constructs like
> _EVT from GPIO events. All interrupts are listed in _CRS and the handler
> is written in _EVT method. Here is an example.
> 
> Device (GED0)
> {
> 
> 	Name (_HID, "ACPI0013")
> 	Name (_UID, 0)
> 	Name(_CRS, ResourceTemplate ()
> 	{
> 		Interrupt(ResourceConsumer, Edge, ActiveHigh, Shared, , , )
> 		 {123}
> 	})
> 
> 	Method (_EVT, 1) {
> 		if (Lequal(123, Arg0))
> 		{
> 		}
> 	}
> }
> 
> Wake capability has not been implemented yet.
> 
> Signed-off-by: Sinan Kaya <okaya@xxxxxxxxxxxxxx>

Applied, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux