[meta-intel] gpio sus configuration as interrupt

Chew, Chiau Ee chiau.ee.chew at intel.com
Mon Mar 17 22:37:19 PDT 2014


The same GPIO IP is being used across different variants of BayTrail. The patch that you pointed out is the correct GPIO driver to be used for BYT-I .

From: Darren Hart [mailto:dvhart at linux.intel.com]
Sent: Tuesday, March 18, 2014 6:56 AM
To: Kumar Nagaraj; meta-intel at yoctoproject.org
Cc: nvijaykumar.engineer at gmail.com; Chew, Chiau Ee
Subject: Re: [meta-intel] gpio sus configuration as interrupt

Adding Chiau Ee.
--
Darren Hart
Yocto Project - Linux Kernel
Intel Open Source Technology Center

From: Kumar Nagaraj <kumarn at hcl.com<mailto:kumarn at hcl.com>>
Date: Wednesday, March 12, 2014 at 9:23
To: "meta-intel at yoctoproject.org<mailto:meta-intel at yoctoproject.org>" <meta-intel at yoctoproject.org<mailto:meta-intel at yoctoproject.org>>
Cc: "nvijaykumar.engineer at gmail.com<mailto:nvijaykumar.engineer at gmail.com>" <nvijaykumar.engineer at gmail.com<mailto:nvijaykumar.engineer at gmail.com>>
Subject: [meta-intel] gpio sus configuration as interrupt

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.
----------------------------------------------------------------------------------------------------------------------------------------------------
-- _______________________________________________ meta-intel mailing list meta-intel at yoctoproject.org<mailto:meta-intel at yoctoproject.org> https://lists.yoctoproject.org/listinfo/meta-intel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140318/8af36948/attachment.html>


More information about the meta-intel mailing list