[meta-intel] gpio sus configuration as interrupt
Darren Hart
dvhart at linux.intel.com
Fri May 9 16:25:03 PDT 2014
From: Kumar Nagaraj <kumarn at hcl.com>
Date: Friday, May 9, 2014 at 16:11
To: Chiau Ee Chew <chiau.ee.chew at intel.com>, Darren Hart
<dvhart at linux.intel.com>
Cc: "meta-intel at yoctoproject.org" <meta-intel at yoctoproject.org>
Subject: Re: [meta-intel] gpio sus configuration as interrupt
>Chiau,
> We have a developed custom board using BYT-I processor &
>have assigned GPIO_SUS[0],GPIO_SUS[1].GPIO_SUS[4] to switches or buttons.
>I configured these GPIOs as irqs using
>/mmc/host/sdhc-pci.c as reference.No error returned when configuring
>gpio_to_irq.I
> registered a single interrupt handler for all these gpios. However my
>interrupt handler did not get invoked when the buttons are pressed. Can
>you provide the reasons for this?
>
>Following is the gpio debugfs dump obtained using command cat
>/sys/kernel/debug/gpio
>
>GPIOs 50-65, i2c/5-00 27,pca9535,can sleep
>GPIOs 82-125, platform/byt_gpio.2,byt_gpio.2
>Gpio-0 in IO pad-29 offset :0x1d0 mux:0
>Gpio-1 in IO pad-33 offset :0x210 mux:0
>Gpio-2 in IO pad-30 offset :0x1e0 mux:0
>Gpio-3 in IO pad-31 offset :0x1f0 mux:0
>Gpio-4 in IO pad-32 offset :0x200 mux:0
What is the output of /proc/interrupts. Do you see your interrupts listed
there?
--
Darren
More information about the meta-intel
mailing list