I have PPT chipset and I want to implement GPIO events from GPIO8.
my configuration in devicetree.cb:
gpi8_routing = 0x02
gpe0_en = 0x00100006
configuration in gpio.h:
.gpio8 = GPIO_MODE_GPIO
...
.gpio8 = GPIO_DIR_INPUT
...
.gpio8 = GPIO_LEVEL_HIGH
...
.gpio8 = GPIO_INVERT
my example in gpe.asl:
Scope(_GPE)
{
Name (_HID, "ACPI0006")
Method(_L08, 0, NotSerialized)
{
Store(0x00, Local0)
Store(\_SB.PCI0.SBUS.SRDW(0x14, 0x01), Local0)
Notify(\_SB.PCI0.BAT0, 0x81)
}
I see that nothing happens on SMBUS, so event from gpio8 not working.
What else I need to do to get working events on GPIO?
Chris
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

