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

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

Merge "ARM: dts: msm: Add rpm-smd irq number for qcs405"

parents e81c46a5 b8f42d08
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -10,18 +10,18 @@ the application processor, the modem processor, as well as hardware
accelerators. The RPM driver communicates with the hardware engine using
SMD.

The devicetree representation of the SPM block should be:
The devicetree representation of the RPM block should be:

Required properties

- compatible: "qcom,rpm-smd" or "qcom,rpm-glink"
- compatible: "qcom,rpm-smd"
- rpm-channel-name: The string corresponding to the channel name of the
			peripheral subsystem. Required for both smd and
			glink transports.
- rpm-channel-type: The interal SMD edge for this subsystem found in
			<soc/qcom/smd.h>
- qcom,glink-edge: Logical name of the remote subsystem. This is a required
			property when rpm-smd driver using glink as trasport.
- interrupts: The IRQ used by remote processor to inform APSS about
				reception of response message packet.

Optional properties
- rpm-standalone: Allow RPM driver to run in standalone mode irrespective of RPM
@@ -32,10 +32,10 @@ Optional properties
Example:

	qcom,rpm-smd@68150 {
		compatible = "qcom,rpm-smd", "qcom,rpm-glink";
		compatible = "qcom,rpm-smd";
		reg = <0x68150 0x3200>;
		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
		qcom,rpm-channel-name = "rpm_requests";
		qcom,rpm-channel-type = 15; /* SMD_APPS_RPM */
		qcom,glink-edge = "rpm";
	}
}
+1 −0
Original line number Diff line number Diff line
@@ -350,6 +350,7 @@
	rpm_bus: qcom,rpm-smd {
		compatible = "qcom,rpm-smd";
		rpm-channel-name = "rpm_requests";
		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
		rpm-channel-type = <15>; /* SMD_APPS_RPM */
	};

+9 −0
Original line number Diff line number Diff line
@@ -73,4 +73,13 @@ config RPMSG_VIRTIO
	select RPMSG
	select VIRTIO

config MSM_RPM_SMD
	bool "RPM driver using SMD protocol"
	help
	  RPM is the dedicated hardware engine for managing shared SoC
	  resources. This config adds driver support for using SMD as a
	  transport layer communication with RPM hardware. It also selects
	  the MSM_MPM config that programs the MPM module to monitor interrupts
	  during sleep modes.

endmenu
+1 −0
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@ obj-$(CONFIG_RPMSG_QCOM_GLINK_SPSS) += qcom_glink_spss.o
obj-$(CONFIG_RPMSG_QCOM_GLINK_SPI) += qcom_glink_spi.o
obj-$(CONFIG_RPMSG_QCOM_SMD)	+= qcom_smd.o
obj-$(CONFIG_RPMSG_VIRTIO)	+= virtio_rpmsg_bus.o
obj-$(CONFIG_MSM_RPM_SMD)	+= rpm-smd.o
+189 −703

File changed and moved.

Preview size limit exceeded, changes collapsed.

Loading