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

Commit 9e26f517 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: xport_bgcom: Add bgcom transport driver"

parents 3a0abfea 6e139e34
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. G-link bgcom Transport

Required properties:
-compatible : should be "qcom,glink-bgcom-xprt".
-label : the name of the subsystem this link connects to.

Optional properties:
-qcom,qos-config: Reference to the qos configuration elements.It depends on
		ramp-time.
-qcom,ramp-time: Worst case time in microseconds to transition to this power
		state. Power states are numbered by array index position.

Example:

	qcom,glink-bgcom-xprt-bg {
		compatible = "qcom,glink-bgcom-xprt";
		label = "bg";
		qcom,qos-config = <&glink_qos_bg>;
		qcom,ramp-time = <0x10>,
				     <0x20>,
				     <0x30>,
				     <0x40>;
	};

	glink_qos_bg: qcom,glink-qos-config-bg {
		compatible = "qcom,glink-qos-config";
		qcom,flow-info = <0x80 0x0>,
				 <0x70 0x1>,
				 <0x60 0x2>,
				 <0x50 0x3>;
		qcom,mtu-size = <0x800>;
		qcom,tput-stats-cycle = <0xa>;
	};
+11 −0
Original line number Diff line number Diff line
@@ -487,6 +487,17 @@ config MSM_GLINK_SMEM_NATIVE_XPRT
	  transport to only connecting with entities internal to the
	  System-on-Chip.

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_SPCOM
	depends on MSM_GLINK
	bool "Secure Processor Communication over GLINK"
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ obj-$(CONFIG_MSM_GLINK) += glink.o glink_debugfs.o glink_ssr.o
obj-$(CONFIG_MSM_GLINK_LOOPBACK_SERVER) += glink_loopback_server.o
obj-$(CONFIG_MSM_GLINK_SMD_XPRT) += glink_smd_xprt.o
obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o
obj-$(CONFIG_MSM_GLINK_BGCOM_XPRT) += glink_bgcom_xprt.o
obj-$(CONFIG_MSM_SPCOM) += spcom.o
obj-$(CONFIG_MSM_SMEM_LOGGING) += smem_log.o
obj-$(CONFIG_MSM_SMP2P) += smp2p.o smp2p_debug.o smp2p_sleepstate.o
+4 −0
Original line number Diff line number Diff line
@@ -3676,6 +3676,10 @@ int glink_xprt_name_to_id(const char *name, uint16_t *id)
		*id = SMEM_XPRT_ID;
		return 0;
	}
	if (!strcmp(name, "bgcom")) {
		*id = SPIV2_XPRT_ID;
		return 0;
	}
	if (!strcmp(name, "mailbox")) {
		*id = SMEM_XPRT_ID;
		return 0;
+1743 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading