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

Commit 94df3770 authored by Katish Paran's avatar Katish Paran Committed by Gerrit - the friendly Code Review server
Browse files

memshare: Change the compatible property field for child node



The compatible field for the child node is not strictly following
the documentation guidelines. This patch corrects the compatible
property value for child nodes for 8916 and 8939. It also enables
memshare driver for 8909.

Change-Id: I6c59acc752b4744fba1a866d71e07a2c32f9d90f
Signed-off-by: default avatarKatish Paran <kparan@codeaurora.org>
parent a01d76f2
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -10,13 +10,10 @@ Required properties for Memshare
-Root Node-

- compatible:	Must be "qcom,memshare"
- qcom,num-clients: Indicates the number of child nodes

All child nodes have different compatible stings.

Required properties for child nodes:

- compatible:	Must be "memshare,peripheral"
- compatible:	Must be "qcom,memshare-peripheral"

- qcom,peripheral-size: Indicates the size (in bytes) required for that child.

@@ -32,7 +29,7 @@ qcom,memshare {
	compatible = "qcom,memshare";

	qcom,client_1 {
		compatible = "memshare,peripheral";
		compatible = "qcom,memshare-peripheral";
		qcom,peripheral-size = <2097152>;
		label = "modem";
	};
+10 −0
Original line number Diff line number Diff line
@@ -1208,6 +1208,16 @@
		compatible = "qcom,msm-pcm-routing";
	};

	qcom,memshare {
		compatible = "qcom,memshare";

		qcom,client_1 {
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <2097152>;
			label = "modem";
		};
	};

	pcm1: qcom,msm-pcm-low-latency {
		compatible = "qcom,msm-pcm-dsp";
		qcom,msm-pcm-dsp-id = <1>;
+1 −1
Original line number Diff line number Diff line
@@ -1596,7 +1596,7 @@
		compatible = "qcom,memshare";

		qcom,client_1 {
			compatible = "memshare,peripheral";
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <2097152>;
			label = "modem";
		};
+1 −1
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@
		compatible = "qcom,memshare";

		qcom,client_1 {
			compatible = "memshare,peripheral";
			compatible = "qcom,memshare-peripheral";
			qcom,peripheral-size = <2097152>;
			label = "modem";
		};
+1 −1
Original line number Diff line number Diff line
@@ -730,7 +730,7 @@ static struct of_device_id memshare_match_table[] = {

static struct of_device_id memshare_match_table1[] = {
	{
		.compatible = "memshare,peripheral",
		.compatible = "qcom,memshare-peripheral",
	},
	{}
};