db09c2905b
Enable arc to access the i2c controller on I/O fabric. There are two i2c controllers on quark se SoC. One is attached to the I/O fabric and the other one is in the sensor system. X86 cpu is only able to access the i2c controller on the I/O fabric and the access is supported by existing code. HW allows arc to access both controllers. But, the existing code only gives arc access to the controller in the sensor sub-system. Let's grant arc the access to the controller on I/O fabric as well by the following changes. 1. Add i2c_qmsi.c into arc compilation. 2. Use the already defined macros to choose interrupt numbers and do interrupt unmasking automatically based on the compilation targets. 3. Add new symbols in Kconfig including driver names for both controllers Jira: ZEP-1189 Change-Id: I317da6038c50e0c8bd16f446182c1f8bdf6d3ba2 Signed-off-by: Baohong Liu <baohong.liu@intel.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
nios2 | ||
x86 | ||
Kconfig | ||
Makefile |