On Thu, 10 Mar 2011 20:39:24 +0530
Sreekanth Muralidharan <[email protected]> wrote:

> Hi All
> I am developing a module on Moorestown platform running MeeGo. During the
> development stage, I had this problem of hooking my module to a PMIC
> interrupt. The PMIC documents related to D9975/D9976 gives a guideline on
> the architecture of this PMIC I am working on. Here I need to get an
> interrupt from a power button. The PMIC(into which power button is connected
> to) is interfaced with a System Controller Unit, Langwell, which instead is
> interfaced with an IA32 processor. The SCU document says that the interrupt
> vector which is associated with this interrupt (PMIC_INT) from PMIC is at
> 10. In another section of the same document, it says that PMIC GPIOs are
> connected to the interrupt line 18. There are other PMIC interrupts in
> different lines, where we associate those lines for battery, ADC, Audio,
> Touch screen and so on.
> 
> To confuse better, there's another revision of the document for Langwell
> which says that a GPIO line (GPIO Line 2) is dedicated to interrupt from
> PMIC.
> It would be very helpful, if anyone could throw some light into this.
> 
> In brief, I would like to get information on which interrupt line we should
> be requesting for an interrupt from Power Button in PMIC. A quick response
> would be appreciated.
> 
> 
> 
> Best Regards
> Sreekanth Muralidharan
> Bangalore.

Hi Sreekanth,
for the gpio-keys driver, we get the power button gpio number from the
firmware (SFI table).  If you want to see the code for this, it is
in arch/x86/platform/mrst/mrst.c 

Kristen
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to