Dmitry Shmidt | 97f6b8e | 2017-05-16 15:18:26 -0700 | [diff] [blame] | 1 | 0. Directory structure |
| 2 | |
| 3 | For ease of source browsing this directory may contain soft links to variant |
| 4 | directories located elsewhere; |
| 5 | build scripts fully support such layout, however this is not necessary in order |
| 6 | to build such variants. |
| 7 | |
| 8 | 1. HW Customization |
| 9 | |
| 10 | 1.1 General description |
| 11 | - wakeup-gpio has direction from Application Processor (AP) to ContextHub |
| 12 | - irq1 has direction from ContextHub to AP (wakeup interrupt) |
| 13 | - irq2 has direction from ContextHub to AP (non-wakeup interrupt) (optional) |
| 14 | |
| 15 | 1.2 Kernel side |
| 16 | - wakeup-gpio = SH_INT_WAKEUP |
| 17 | - irq1-gpio = AP_INT_WAKEUP |
| 18 | - irq2-gpio = AP_INT_NONWAKEUP |
| 19 | |
| 20 | 1.3 ContextHub side |
| 21 | - #define SH_INT_WAKEUP PX(N0) |
| 22 | - #define AP_INT_WAKEUP PY(N1) |
| 23 | - #define AP_INT_NONWAKEUP PZ(N2) |