2015-11-30 16:28:56

by Paul Burton

[permalink] [raw]
Subject: [PATCH 27/28] dt-bindings: mips: img,boston: Document img,boston binding

Add documentation for the simple img,boston devicetree binding & the
boot protocol used to pass the devicetree to the kernel.

Signed-off-by: Paul Burton <[email protected]>
---

Documentation/devicetree/bindings/mips/img/boston.txt | 15 +++++++++++++++
MAINTAINERS | 5 +++++
2 files changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mips/img/boston.txt

diff --git a/Documentation/devicetree/bindings/mips/img/boston.txt b/Documentation/devicetree/bindings/mips/img/boston.txt
new file mode 100644
index 0000000..27b2806
--- /dev/null
+++ b/Documentation/devicetree/bindings/mips/img/boston.txt
@@ -0,0 +1,15 @@
+Imagination Technologies Boston Development Board
+=================================================
+
+Required properties:
+--------------------
+ - compatible: Must be "img,boston".
+
+Boot protocol:
+--------------
+In accordance with the MIPS UHI specification[1], the bootloader must pass the
+following arguments to the kernel:
+ - $a0: -2.
+ - $a1: KSEG0 address of the flattened device-tree blob.
+
+[1] http://prplfoundation.org/wiki/MIPS_documentation
diff --git a/MAINTAINERS b/MAINTAINERS
index 2e156b2..a9cd996 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -5435,6 +5435,11 @@ L: [email protected]
S: Supported
F: security/integrity/ima/

+IMGTEC BOSTON PLATFORM SUPPORT
+M: Paul Burton <[email protected]>
+S: Maintained
+F: Documentation/devicetree/bindings/mips/img/boston.txt
+
IMGTEC IR DECODER DRIVER
M: James Hogan <[email protected]>
S: Maintained
--
2.6.2


2015-11-30 18:34:27

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 27/28] dt-bindings: mips: img,boston: Document img,boston binding

On Mon, Nov 30, 2015 at 04:21:52PM +0000, Paul Burton wrote:
> Add documentation for the simple img,boston devicetree binding & the
> boot protocol used to pass the devicetree to the kernel.
>
> Signed-off-by: Paul Burton <[email protected]>
> ---
>
> Documentation/devicetree/bindings/mips/img/boston.txt | 15 +++++++++++++++
> MAINTAINERS | 5 +++++
> 2 files changed, 20 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mips/img/boston.txt
>
> diff --git a/Documentation/devicetree/bindings/mips/img/boston.txt b/Documentation/devicetree/bindings/mips/img/boston.txt
> new file mode 100644
> index 0000000..27b2806
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mips/img/boston.txt
> @@ -0,0 +1,15 @@
> +Imagination Technologies Boston Development Board
> +=================================================
> +
> +Required properties:
> +--------------------
> + - compatible: Must be "img,boston".

No SOC compatible in addition?

> +
> +Boot protocol:
> +--------------
> +In accordance with the MIPS UHI specification[1], the bootloader must pass the
> +following arguments to the kernel:
> + - $a0: -2.
> + - $a1: KSEG0 address of the flattened device-tree blob.

If this is standard, I don't know that we need to repeat it for every
board.

Rob

> +
> +[1] http://prplfoundation.org/wiki/MIPS_documentation