Loading Documentation/devicetree/bindings/soc/qcom/bg_daemon.txt +6 −0 Original line number Diff line number Diff line Loading @@ -6,9 +6,15 @@ BG-Daemon toggles the bg-reset gpio to reset BG. Required properties: - compatible : should be "qcom,bg-daemon" - qcom,bg-reset-gpio : gpio for the apps processor use to soft reset BG - ssr-reg1-supply : Power supply needed to power up the BG device. When BG brought up this regulator will be in normal power mode. - ssr-reg2-supply : Power supply needed to power up the BG device. When BG BG brought up this regulator will be in normal power mode. Example: qcom,bg-daemon { compatible = "qcom,bg-daemon"; qcom,bg-reset-gpio = <&pm660_gpios 5 0>; ssr-reg1-supply = <&pm660_l3>; ssr-reg2-supply = <&pm660_l9>; }; drivers/soc/qcom/Kconfig +46 −0 Original line number Diff line number Diff line Loading @@ -821,4 +821,50 @@ config MSM_BAM_DMUX provides a means to support more logical channels via muxing than BAM could without muxing. config MSM_GLINK_BGCOM_XPRT depends on MSM_GLINK depends on MSM_BGCOM tristate "Generic Link (G-Link) BGCOM Transport" help G-Link BGCOM Transport is a Transport plug-in developed over BGCOM. This transport plug-in performs marshaling of G-Link commands & data to the appropriate BGCOM format and allows for G-Link communication with remote subsystems that are external to the System-on-Chip. config MSM_BGCOM_INTERFACE bool "Driver support for Blackghost Communication" depends on MSM_BGCOM help Create a bg_com_dev device node for user space communication. Single user space client can open device node for communication from hardware. Hardware will provide access to read registers and read/write AHB memory in the device. config MSM_BGRSB bool "Provide support for rsb events on Blackghost chipset" depends on MSM_GLINK help BGRSB communicates to BG over Glink for RSB configuration and enable/disable on device power state change. It enables/disables the regulator specific to RSB. Sends the side band events generated by BG to input framework. config MSM_PIL_SSR_BG tristate "MSM Subsystem Blackghost(BG) Support" depends on MSM_PIL && MSM_SUBSYSTEM_RESTART help Support for booting and shutting down Blackghost(BG) SOC which is an external SOC. This driver communicates with Blackghost(BG) SOC via pair of IPC GPIOs for inward and outward signals between MSM and Blackghost(BG) SOC. config MSM_BGCOM bool "Provide APIs to communicate with Blackghost chipset" help BGCOM is a thin layer above SPI. It is used whithin a SoC for communication between G-Link/bg_com_dev and BG processor over SPI. This handle the interrupts raised by BG and notify the G-link with interrupt event and event data. source "drivers/soc/qcom/wcnss/Kconfig" drivers/soc/qcom/Makefile +5 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ obj-$(CONFIG_MSM_SMD) += msm_smd.o smd_debug.o smd_private.o smd_init_dt.o smsm_ obj-$(CONFIG_MSM_GLINK) += glink.o glink_debugfs.o glink_ssr.o obj-$(CONFIG_MSM_TZ_SMMU) += msm_tz_smmu.o obj-$(CONFIG_MSM_GLINK_LOOPBACK_SERVER) += glink_loopback_server.o obj-$(CONFIG_MSM_GLINK_BGCOM_XPRT) += glink_bgcom_xprt.o obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o obj-$(CONFIG_MSM_GLINK_SPI_XPRT) += glink_spi_xprt.o obj-$(CONFIG_MSM_SPCOM) += spcom.o Loading Loading @@ -67,7 +68,9 @@ obj-$(CONFIG_ICNSS) += icnss.o wlan_firmware_service_v01.o obj-$(CONFIG_MEM_SHARE_QMI_SERVICE) += memshare/ obj-$(CONFIG_MSM_PIL) += peripheral-loader.o obj-$(CONFIG_MSM_PIL_SSR_GENERIC) += subsys-pil-tz.o obj-$(CONFIG_MSM_PIL_SSR_BG) += subsys-pil-bg.o obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-msa.o pil-q6v5-mss.o obj-$(CONFIG_MSM_BGCOM) += bgcom_spi.o obj-$(CONFIG_MSM_PERFORMANCE) += msm_performance.o Loading @@ -78,6 +81,8 @@ ifdef CONFIG_MSM_SUBSYSTEM_RESTART obj-y += microdump_collector.o endif obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o sysmon-qmi.o obj-$(CONFIG_MSM_BGRSB) += bg_rsb.o obj-$(CONFIG_MSM_BGCOM_INTERFACE) += bgcom_interface.o obj-$(CONFIG_MSM_JTAGV8) += jtagv8.o jtagv8-etm.o obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o obj-$(CONFIG_MSM_QBT1000) += qbt1000.o Loading Loading
Documentation/devicetree/bindings/soc/qcom/bg_daemon.txt +6 −0 Original line number Diff line number Diff line Loading @@ -6,9 +6,15 @@ BG-Daemon toggles the bg-reset gpio to reset BG. Required properties: - compatible : should be "qcom,bg-daemon" - qcom,bg-reset-gpio : gpio for the apps processor use to soft reset BG - ssr-reg1-supply : Power supply needed to power up the BG device. When BG brought up this regulator will be in normal power mode. - ssr-reg2-supply : Power supply needed to power up the BG device. When BG BG brought up this regulator will be in normal power mode. Example: qcom,bg-daemon { compatible = "qcom,bg-daemon"; qcom,bg-reset-gpio = <&pm660_gpios 5 0>; ssr-reg1-supply = <&pm660_l3>; ssr-reg2-supply = <&pm660_l9>; };
drivers/soc/qcom/Kconfig +46 −0 Original line number Diff line number Diff line Loading @@ -821,4 +821,50 @@ config MSM_BAM_DMUX provides a means to support more logical channels via muxing than BAM could without muxing. config MSM_GLINK_BGCOM_XPRT depends on MSM_GLINK depends on MSM_BGCOM tristate "Generic Link (G-Link) BGCOM Transport" help G-Link BGCOM Transport is a Transport plug-in developed over BGCOM. This transport plug-in performs marshaling of G-Link commands & data to the appropriate BGCOM format and allows for G-Link communication with remote subsystems that are external to the System-on-Chip. config MSM_BGCOM_INTERFACE bool "Driver support for Blackghost Communication" depends on MSM_BGCOM help Create a bg_com_dev device node for user space communication. Single user space client can open device node for communication from hardware. Hardware will provide access to read registers and read/write AHB memory in the device. config MSM_BGRSB bool "Provide support for rsb events on Blackghost chipset" depends on MSM_GLINK help BGRSB communicates to BG over Glink for RSB configuration and enable/disable on device power state change. It enables/disables the regulator specific to RSB. Sends the side band events generated by BG to input framework. config MSM_PIL_SSR_BG tristate "MSM Subsystem Blackghost(BG) Support" depends on MSM_PIL && MSM_SUBSYSTEM_RESTART help Support for booting and shutting down Blackghost(BG) SOC which is an external SOC. This driver communicates with Blackghost(BG) SOC via pair of IPC GPIOs for inward and outward signals between MSM and Blackghost(BG) SOC. config MSM_BGCOM bool "Provide APIs to communicate with Blackghost chipset" help BGCOM is a thin layer above SPI. It is used whithin a SoC for communication between G-Link/bg_com_dev and BG processor over SPI. This handle the interrupts raised by BG and notify the G-link with interrupt event and event data. source "drivers/soc/qcom/wcnss/Kconfig"
drivers/soc/qcom/Makefile +5 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ obj-$(CONFIG_MSM_SMD) += msm_smd.o smd_debug.o smd_private.o smd_init_dt.o smsm_ obj-$(CONFIG_MSM_GLINK) += glink.o glink_debugfs.o glink_ssr.o obj-$(CONFIG_MSM_TZ_SMMU) += msm_tz_smmu.o obj-$(CONFIG_MSM_GLINK_LOOPBACK_SERVER) += glink_loopback_server.o obj-$(CONFIG_MSM_GLINK_BGCOM_XPRT) += glink_bgcom_xprt.o obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o obj-$(CONFIG_MSM_GLINK_SPI_XPRT) += glink_spi_xprt.o obj-$(CONFIG_MSM_SPCOM) += spcom.o Loading Loading @@ -67,7 +68,9 @@ obj-$(CONFIG_ICNSS) += icnss.o wlan_firmware_service_v01.o obj-$(CONFIG_MEM_SHARE_QMI_SERVICE) += memshare/ obj-$(CONFIG_MSM_PIL) += peripheral-loader.o obj-$(CONFIG_MSM_PIL_SSR_GENERIC) += subsys-pil-tz.o obj-$(CONFIG_MSM_PIL_SSR_BG) += subsys-pil-bg.o obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-msa.o pil-q6v5-mss.o obj-$(CONFIG_MSM_BGCOM) += bgcom_spi.o obj-$(CONFIG_MSM_PERFORMANCE) += msm_performance.o Loading @@ -78,6 +81,8 @@ ifdef CONFIG_MSM_SUBSYSTEM_RESTART obj-y += microdump_collector.o endif obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o sysmon-qmi.o obj-$(CONFIG_MSM_BGRSB) += bg_rsb.o obj-$(CONFIG_MSM_BGCOM_INTERFACE) += bgcom_interface.o obj-$(CONFIG_MSM_JTAGV8) += jtagv8.o jtagv8-etm.o obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o obj-$(CONFIG_MSM_QBT1000) += qbt1000.o Loading