Thread (1 message) 1 message, 1 author, 2016-08-29

Re: [PATCH 1/4 v2] soc: qcom: add EBI2 device tree bindings

From: Arnd Bergmann <hidden>
Date: 2016-08-29 13:16:59
Also in: linux-arm-kernel, linux-arm-msm

On Wednesday 24 August 2016, Linus Walleij wrote:
+
+ebi2@1a100000 {
+	compatible = "qcom,apq8060-ebi2";
+	#address-cells = <2>;
+	#size-cells = <1>;
+	ranges = <0 0x0 0x1a800000 0x00800000>,
+		 <1 0x0 0x1b000000 0x00800000>,
+		 <2 0x0 0x1b800000 0x00800000>,
+		 <3 0x0 0x1d000000 0x00800000>,
+		 <4 0x0 0x1c800000 0x00800000>,
+		 <5 0x0 0x1c000000 0x00800000>;
+	reg = <0x1a100000 0x1000>, <0x1a110000 0x1000>;
+	reg-names = "ebi2", "xmem";
...
+ 	foo-ebi2@1b800000 {
+		compatible = "foo";
+		reg = <2 0x1b800000 0x100>;
+		(...)
+	};
+};
In this example, the addresses don't match: I assume the child
node should be listed as

	foo-ebi@2,0 {
		reg = <2 0 0x100>;
	};

instead.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help