Bug 9347 - drivers/gpio/gpio-pca953x.c in Kernel 4.x does not support the PCAL9535 IC on Galileo Gen 2 boards
Summary: drivers/gpio/gpio-pca953x.c in Kernel 4.x does not support the PCAL9535 IC on...
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-yocto (show other bugs)
Version: unspecified
Hardware: Galileo x86
: Medium normal
Target Milestone: 2.1 M4
Assignee: YONG LI
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-25 07:51 UTC by YONG LI
Modified: 2016-05-10 02:35 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Add INT support for PCAL9535 (7.58 KB, application/octet-stream)
2016-03-25 07:51 UTC, YONG LI
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description YONG LI 2016-03-25 07:51:33 UTC
Created attachment 3063 [details]
Add INT support for PCAL9535

Galileo Gen 2  is using PCAL9535, it is different from the PCA953x, current driver in Kernel 4.X does not support the Interrupt mask register configuration. 
This causes the GPIO[47-63] IRQ missing issue. We need to port the PCAL support from Kernel 3.8. Attached patch can fix this issue.
Comment 1 Saul Wold 2016-03-28 16:38:58 UTC
Please submit this patch directly to the linux-yocto@yoctoproject.org mail 
list.  Be sure to request which version of 4.x you would like patched and 
ensure that the patch correctly applies to those versions.
Comment 2 YONG LI 2016-03-29 05:56:19 UTC
Thanks Saul Wold, I will submit the patch to linux-yocto 4.4
Comment 3 YONG LI 2016-05-10 02:35:31 UTC
Commit id c91063f443688f0b9d404780750d4ac90e31b135 in git://git.yoctoproject.org/linux-yocto-4.4.git