Loading Documentation/devicetree/bindings/soc/qcom/bg_daemon.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line Qualcomm Technologies Inc. bg-daemon BG-Daemon : When Modem goes down, to re-establish the connections, 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>; }; Documentation/devicetree/bindings/soc/qcom/bg_spi.txt 0 → 100644 +24 −0 Original line number Diff line number Diff line Qualcomm technologies Inc bg-spi BG-COM SPI : bg-spi is used for the communication with Blackghost chipset. It uses SPI protocol for communication. BG-COM: bgcome is a thin transport layer over glink which provides the read/write APIs to communicate with Blackghost chipset. Required properties: - compatible : should be "qcom,bg-spi" - spi-max-frequency : Maximum SPI clocking speed of device in Hz - qcom,irq-gpio : GPIO pin - reg : Register set Example: spi@78b6000 { /* BLSP1 QUP2 */ status = "ok"; qcom,bg-spi { compatible = "qcom,bg-spi"; reg = <0>; spi-max-frequency = <19200000>; interrupt-parent = <&msm_gpio>; qcom,irq-gpio = <&msm_gpio 110 1>; }; }; arch/arm/configs/vendor/sdm429-bg-perf_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -562,6 +562,8 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CX_IPEAK=y CONFIG_MSM_BAM_DMUX=y CONFIG_MSM_BGCOM_INTERFACE=y CONFIG_MSM_BGCOM=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y Loading arch/arm/configs/vendor/sdm429-bg_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -587,6 +587,8 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CX_IPEAK=y CONFIG_MSM_BAM_DMUX=y CONFIG_MSM_BGCOM_INTERFACE=y CONFIG_MSM_BGCOM=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y Loading drivers/soc/qcom/Kconfig +18 −0 Original line number Diff line number Diff line Loading @@ -1005,6 +1005,24 @@ config MSM_BAM_DMUX provides a means to support more logical channels via muxing than BAM could without muxing. 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_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. config QCOM_SOC_INFO bool "Chip information for QTI SoCs" depends on SOC_BUS Loading Loading
Documentation/devicetree/bindings/soc/qcom/bg_daemon.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line Qualcomm Technologies Inc. bg-daemon BG-Daemon : When Modem goes down, to re-establish the connections, 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>; };
Documentation/devicetree/bindings/soc/qcom/bg_spi.txt 0 → 100644 +24 −0 Original line number Diff line number Diff line Qualcomm technologies Inc bg-spi BG-COM SPI : bg-spi is used for the communication with Blackghost chipset. It uses SPI protocol for communication. BG-COM: bgcome is a thin transport layer over glink which provides the read/write APIs to communicate with Blackghost chipset. Required properties: - compatible : should be "qcom,bg-spi" - spi-max-frequency : Maximum SPI clocking speed of device in Hz - qcom,irq-gpio : GPIO pin - reg : Register set Example: spi@78b6000 { /* BLSP1 QUP2 */ status = "ok"; qcom,bg-spi { compatible = "qcom,bg-spi"; reg = <0>; spi-max-frequency = <19200000>; interrupt-parent = <&msm_gpio>; qcom,irq-gpio = <&msm_gpio 110 1>; }; };
arch/arm/configs/vendor/sdm429-bg-perf_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -562,6 +562,8 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CX_IPEAK=y CONFIG_MSM_BAM_DMUX=y CONFIG_MSM_BGCOM_INTERFACE=y CONFIG_MSM_BGCOM=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y Loading
arch/arm/configs/vendor/sdm429-bg_defconfig +2 −0 Original line number Diff line number Diff line Loading @@ -587,6 +587,8 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CX_IPEAK=y CONFIG_MSM_BAM_DMUX=y CONFIG_MSM_BGCOM_INTERFACE=y CONFIG_MSM_BGCOM=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y Loading
drivers/soc/qcom/Kconfig +18 −0 Original line number Diff line number Diff line Loading @@ -1005,6 +1005,24 @@ config MSM_BAM_DMUX provides a means to support more logical channels via muxing than BAM could without muxing. 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_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. config QCOM_SOC_INFO bool "Chip information for QTI SoCs" depends on SOC_BUS Loading