Abhimanyu Kapur | c75b2e1 | 2016-02-22 18:15:13 -0800 | [diff] [blame] | 1 | # |
| 2 | # External soc control infrastructure and drivers |
| 3 | # |
| 4 | menuconfig ESOC |
| 5 | bool "External SOCs Control" |
| 6 | help |
| 7 | External SOCs can be powered on and monitored by user |
| 8 | space or kernel drivers. Additionally they can be controlled |
| 9 | to respond to control commands. This framework provides an |
| 10 | interface to track events related to the external slave socs. |
| 11 | |
| 12 | if ESOC |
| 13 | |
| 14 | config ESOC_DEV |
| 15 | bool "ESOC userspace interface" |
| 16 | help |
| 17 | Say yes here to enable a userspace representation of the control |
| 18 | link. Userspace can register a request engine or a command engine |
| 19 | for the external soc. It can receive event notifications from the |
| 20 | control link. |
| 21 | |
| 22 | config ESOC_CLIENT |
| 23 | bool "ESOC client interface" |
| 24 | depends on OF |
| 25 | help |
| 26 | Say yes here to enable client interface for external socs. |
| 27 | Clients can specify the external soc that they are interested in |
| 28 | by using device tree phandles. Based on this, clients can register |
| 29 | for notifications from a specific soc. |
| 30 | |
| 31 | config ESOC_DEBUG |
| 32 | bool "ESOC debug support" |
| 33 | help |
| 34 | Say yes here to enable debugging support in the ESOC framework |
| 35 | and individual esoc drivers. |
| 36 | If you wish to debug the esoc driver and enable more logging enable |
| 37 | this option. Based on this, DEBUG macro would be defined which will |
| 38 | allow logging of different esoc driver traces. |
| 39 | |
| 40 | config ESOC_MDM_4x |
Raghavendra Rao Ananta | caa60aa | 2017-10-20 11:27:12 -0700 | [diff] [blame] | 41 | bool "Add support for external modem" |
Abhimanyu Kapur | c75b2e1 | 2016-02-22 18:15:13 -0800 | [diff] [blame] | 42 | help |
| 43 | In some Qualcomm Technologies, Inc. boards, an external modem such as |
| 44 | mdm9x25 or mdm9x35 is connected to a primary msm. The primary soc can |
| 45 | control/monitor the modem via gpios. The data communication with such |
| 46 | modems can occur over PCIE or HSIC. |
| 47 | |
| 48 | config ESOC_MDM_DRV |
| 49 | tristate "Command engine for 4x series external modems" |
| 50 | help |
| 51 | Provides a command engine to control the behavior of an external modem |
Raghavendra Rao Ananta | caa60aa | 2017-10-20 11:27:12 -0700 | [diff] [blame] | 52 | such as mdm9x25/mdm9x35/mdm9x55/sdxpoorwills/QSC. Allows the primary soc to put the |
Abhimanyu Kapur | c75b2e1 | 2016-02-22 18:15:13 -0800 | [diff] [blame] | 53 | external modem in a specific mode. Also listens for events on the |
| 54 | external modem. |
Trilok Soni | 8ca296e | 2016-08-21 23:38:25 -0700 | [diff] [blame] | 55 | |
| 56 | config ESOC_MDM_DBG_ENG |
| 57 | tristate "debug engine for 4x series external modems" |
| 58 | depends on ESOC_MDM_DRV |
| 59 | help |
| 60 | Provides a user interface to mask out certain commands sent |
| 61 | by command engine to the external modem. Also allows masking |
| 62 | of certain notifications being sent to the external modem. |
| 63 | |
Hanumant Singh | b35bbc6 | 2015-08-10 21:23:16 -0700 | [diff] [blame] | 64 | config MDM_DBG_REQ_ENG |
| 65 | tristate "manual request engine for 4x series external modems" |
| 66 | depends on ESOC_MDM_DBG_ENG |
| 67 | help |
| 68 | Provides a user interface to handle incoming requests from |
| 69 | the external modem. Allows for debugging of IPC mechanism |
| 70 | between the external modem and the primary soc. |
| 71 | |
Abhimanyu Kapur | c75b2e1 | 2016-02-22 18:15:13 -0800 | [diff] [blame] | 72 | endif |