Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86007830 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sdm429w: add bg-rsg driver changes"

parents e8956bd6 c2657225
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
Qualcomm technologies, Inc. bg-rsb

BG-RSB : bg-rsb is used to communicate with Blackghost over
Glink to configure the RSB events. bg-rsb enable/disable
LDO11 and LDO15 before making any communication to BG
regarding RSB. It also provides an input device, which is
used to send the RSB/Button events to input framework.

Required properties:
- compatible : should be "qcom,bg-rsb"
- vdd-ldo1-supply : for powering main supply
- vdd-ldo2-supply : for powering sensor

Example:
	qcom,bg-rsb {
		compatible = "qcom,bg-rsb";
		vdd-ldo1-supply = <&pm660_l11>;
		vdd-ldo2-supply = <&pm660_l15>;
	};
+9 −0
Original line number Diff line number Diff line
@@ -1031,6 +1031,15 @@ config MSM_BAM_DMUX
                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 MSM_BGRSB
	bool "Provide support for rsb events on Blackghost chipset"
	help
	  BGRSB communicates to BG over rpmsg driver 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
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ obj-$(CONFIG_QCOM_SMCINVOKE) += smcinvoke.o
obj-$(CONFIG_SDX_EXT_IPC) += sdx_ext_ipc.o
obj-$(CONFIG_MSM_PIL_SSR_BG) += subsys-pil-bg.o
obj-$(CONFIG_QTI_NOTIFY_SIDEBAND) += sideband_notify.o
obj-$(CONFIG_MSM_BGRSB) += bg_rsb.o

ifdef CONFIG_MSM_SUBSYSTEM_RESTART
       obj-y += subsystem_notif.o
+891 −0

File added.

Preview size limit exceeded, changes collapsed.

+62 −10

File changed.

Preview size limit exceeded, changes collapsed.