[PATCH 1/2] ARM: DT: tegra: Add board leaver compatible properties

2013-01-11 Thread Bryan Wu
Signed-off-by: Bryan Wu 
---
 Documentation/devicetree/bindings/arm/tegra.txt |   51 ---
 1 file changed, 45 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/tegra.txt 
b/Documentation/devicetree/bindings/arm/tegra.txt
index 6e69d2e..ff9199a 100644
--- a/Documentation/devicetree/bindings/arm/tegra.txt
+++ b/Documentation/devicetree/bindings/arm/tegra.txt
@@ -1,14 +1,53 @@
 NVIDIA Tegra device tree bindings
 ---
 
-Boards with the tegra20 SoC shall have the following properties:
+- Boards with the tegra20 SoC shall have the following properties:
+  Required root node property:
+  compatible = "nvidia,tegra20";
 
-Required root node property:
+- Boards with the tegra30 SoC shall have the following properties:
+  Required root node property:
+  compatible = "nvidia,tegra30";
 
-compatible = "nvidia,tegra20";
+Boards
+---
+
+- NVIDIA Tegra20 Harmony evaluation board:
+  compatible = "nvidia,harmony", "nvidia,tegra20";
+
+- Avionic Design Medcom-Wide board:
+  compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
+
+- Toshiba AC100 / Dynabook AZ;
+  compatible = "compal,paz00", "nvidia,tegra20";
+
+- Avionic Design Plutux board:
+  compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
+
+- NVIDIA Seaboard:
+  compatible = "nvidia,seaboard", "nvidia,tegra20";
+
+- Avionic Design Tamonten SOM:
+  compatible = "ad,tamonten", "nvidia,tegra20";
+
+- Avionic Design Tamonten Evaluation Carrier:
+  compatible = "ad,tec", "ad,tamonten", "nvidia,tegra20";
+
+- Compulab TrimSlice board:
+  compatible = "compulab,trimslice", "nvidia,tegra20";
+
+- NVIDIA Tegra20 Ventana evaluation board:
+  compatible = "nvidia,ventana", "nvidia,tegra20";
+
+- NVIDIA Tegra20 Whistler evaluation board:
+  compatible = "nvidia,whistler", "nvidia,tegra20";
+
+- NVIDIA Tegra30 Cardhu evaluation board:
+  compatible = "nvidia,cardhu", "nvidia,tegra30";
 
-Boards with the tegra30 SoC shall have the following properties:
+- NVIDIA Tegra30 Cardhu A02 evaluation board:
+  compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
 
-Required root node property:
+- NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board:
+  compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 
-compatible = "nvidia,tegra30";
-- 
1.7.10.4

___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss


Re: [PATCH 1/2] ARM: DT: tegra: Add board leaver compatible properties

2013-01-02 Thread Stephen Warren
On 01/02/2013 03:50 PM, Bryan Wu wrote:

A patch description would be useful.

> diff --git a/Documentation/devicetree/bindings/arm/tegra.txt 
> b/Documentation/devicetree/bindings/arm/tegra.txt

> -Boards with the tegra20 SoC shall have the following properties:
> +- Boards with the tegra20 SoC shall have the following properties:
> +  Required root node property:
> +  compatible = "nvidia,tegra20";

Since you're changing that, Tegra should be capitalized in free-form text.

> +Boards
> +---
> +
> +- NVIDIA Tegra20 Harmony evaluation board:
> +  compatible = "nvidia,harmony", "nvidia,tegra20";
> +
> +- Avionic Design Medcom-Wide board:
> +  compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";

This seems a little long-winded. Perhaps just say:

SoCs
---

Each device tree must specify which Tegra SoC it uses, using one of the
following compatible values:

  nvidia,tegra20
  nvidia,tegra30

Boards
---

Each device tree must specify which one or more of the following
board-specific compatible values:

  ad,plutux
  compal,paz00
  nvidia,harmony
  ...

(and keep the list alphabetically sorted)
___
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss