linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add device file bindings for MAPLE
@ 2013-07-27 13:03 Shaveta Leekha
  2013-07-30  0:00 ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Shaveta Leekha @ 2013-07-27 13:03 UTC (permalink / raw)
  To: devicetree-discuss, linuxppc-dev; +Cc: Shaveta Leekha

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
---
 .../devicetree/bindings/powerpc/fsl/maple.txt      |   50 ++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/maple.txt

diff --git a/Documentation/devicetree/bindings/powerpc/fsl/maple.txt b/Documentation/devicetree/bindings/powerpc/fsl/maple.txt
new file mode 100644
index 0000000..23b80a7
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/maple.txt
@@ -0,0 +1,50 @@
+* Freescale MAPLE Multi Accelerator Platform Engine Baseband 3
+  (MAPLE-B3)device nodes
+
+Supported chips:
+Example: B4860
+
+Required properties:
+
+- compatible:	Should contain "fsl,maple-b3" as the value
+		This identifies Multi Accelerator Platform Engine
+		Baseband 3 block.
+
+- reg:		offset and length of the register set for the device
+
+- interrupts
+	Usage: required
+	Value type: <prop_encoded-array>
+	Definition:  Specifies the interrupts generated by this device.  The
+			value of the interrupts property consists of one interrupt
+			specifier. The format of the specifier is defined by the
+			binding document describing the node's interrupt parent.
+
+		A single IRQ that handles error conditions is specified by
+		this property.  (Typically shared with port-write).
+
+Devices that have LIODNs need to specify links to the parent PAMU controller
+(the actual PAMU controller that this device is connected to) and a pointer to
+the LIODN register, if applicable.
+
+- fsl,iommu-parent
+		: <phandle>
+		This property should be present
+
+- status = "disabled"
+		In this example, status is set "disabled",
+		As Maple device wouldn't be used by PPC Linux. This representation is required
+		for doing the PAMU programming on the Linux side.
+
+Example:
+	/* B4860 */
+
+	maple@800000 {
+		#address-cells = <0>;
+		#size-cells = <0>;
+		status = "disabled";
+		compatible = "fsl,maple-b3";
+		reg = <0x8000000 0x10000>;
+		interrupts = <16 2 1 18>;
+		fsl,iommu-parent = <&pamu1>;
+	};
-- 
1.7.6.GIT

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [PATCH] Add device file bindings for MAPLE
@ 2013-08-01 11:02 Shaveta Leekha
  2013-08-01 16:05 ` Kumar Gala
  2013-08-05 22:16 ` Scott Wood
  0 siblings, 2 replies; 9+ messages in thread
From: Shaveta Leekha @ 2013-08-01 11:02 UTC (permalink / raw)
  To: devicetree-discuss, linuxppc-dev; +Cc: Shaveta Leekha

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
---
 .../devicetree/bindings/powerpc/fsl/maple.txt      |   30 ++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/maple.txt

diff --git a/Documentation/devicetree/bindings/powerpc/fsl/maple.txt b/Documentation/devicetree/bindings/powerpc/fsl/maple.txt
new file mode 100644
index 0000000..da51c5f
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/maple.txt
@@ -0,0 +1,30 @@
+* Freescale MAPLE Multi Accelerator Platform Engine Baseband 3
+  (MAPLE-B3)device nodes
+
+Supported chips:
+Example: B4860
+
+Required properties:
+
+- compatible:	Should contain "fsl,maple-b3-liodn" as the value
+		This identifies Multi Accelerator Platform Engine
+		Baseband 3 block.This representation is required
+		for doing the PAMU/LIODN programming on the Linux side.
+
+- reg:		offset and length of the register set for the device
+
+Devices that have LIODNs need to specify links to the parent PAMU controller
+(the actual PAMU controller that this device is connected to) and a pointer to
+the LIODN register, if applicable.
+
+- fsl,iommu-parent
+		: <phandle>
+		This property should be present
+
+Example:
+	/* B4860 */
+	maple@800000 {
+		compatible = "fsl,maple-b3-liodn";
+		reg = <0x8000000 0x10000>;
+		fsl,iommu-parent = <&pamu1>;
+	};
-- 
1.7.6.GIT

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-05 22:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-27 13:03 [PATCH] Add device file bindings for MAPLE Shaveta Leekha
2013-07-30  0:00 ` Scott Wood
2013-07-30  0:29   ` Benjamin Herrenschmidt
2013-07-30  5:37   ` Leekha Shaveta-B20052
  -- strict thread matches above, loose matches on Subject: below --
2013-08-01 11:02 Shaveta Leekha
2013-08-01 16:05 ` Kumar Gala
2013-08-05 21:11   ` Scott Wood
2013-08-05 22:26     ` Kumar Gala
2013-08-05 22:16 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).