blob: 461315062c78c0963b917164bc87417486548edf [file] [log] [blame]
Abhimanyu Kapurc75b2e12016-02-22 18:15:13 -08001#
2# External soc control infrastructure and drivers
3#
4menuconfig 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
12if ESOC
13
14config 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
22config 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
31config 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
40config ESOC_MDM_4x
Raghavendra Rao Anantacaa60aa2017-10-20 11:27:12 -070041 bool "Add support for external modem"
Abhimanyu Kapurc75b2e12016-02-22 18:15:13 -080042 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
48config 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 Anantacaa60aa2017-10-20 11:27:12 -070052 such as mdm9x25/mdm9x35/mdm9x55/sdxpoorwills/QSC. Allows the primary soc to put the
Abhimanyu Kapurc75b2e12016-02-22 18:15:13 -080053 external modem in a specific mode. Also listens for events on the
54 external modem.
Trilok Soni8ca296e2016-08-21 23:38:25 -070055
56config 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 Singhb35bbc62015-08-10 21:23:16 -070064config 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 Kapurc75b2e12016-02-22 18:15:13 -080072endif