[meta-intel] gpio sus configuration as interrupt

Kumar Nagaraj kumarn at hcl.com
Wed Mar 12 09:23:47 PDT 2014


Hai,
                Can some please clarify my queries below?


1.      In  E3845 Bay Trail-I SOC data sheet I see only 2 register banks South Core & SUS.However in the patch 0002-gpio-add-support-for-Intel-Baytrail-GPIO-controller an additional register bank North Core is also listed. I am thinking that this patch refers to some other version of Bay Trail SOC.Can someone confirm?

2.      This query is regarding configuring the gpios as interrupts .I have a use case in which EVQ-Q1E06K provides the steering wheel switches ( HOME,PREV,NEXT,VOL+,VOL-) are connected to gpios GPIO_S5[00], GPIO_S5[01]... GPIO_S5[04] as inputs for a Bay Trail-I SOC.It is expected to trigger interrupt on these gpios when any switch is pressed.

Iam thinking that I will have to configure the SUS pins 0 to 4 as gpios to irqs.Can someone  provide inputs on how I achieve this?I referred existing gpio_keys.c sample code & found that it can be achieved by configuring  device tree. Am not sure how I can do this.Please correct me & also provide your ideas.



Thanks & Regards,

Kumar


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140312/00701753/attachment.html>


More information about the meta-intel mailing list