Bug 9347

Summary: drivers/gpio/gpio-pca953x.c in Kernel 4.x does not support the PCAL9535 IC on Galileo Gen 2 boards
Product: [Build System, Metadata & Runtime] BSPs Reporter: YONG LI <sdliyong>
Component: bsps-meta-yoctoAssignee: YONG LI <sdliyong>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium    
Version: unspecified   
Target Milestone: 2.1 M4   
Hardware: Galileo   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Add INT support for PCAL9535 none

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