Patchwork [1/2] ARM: DT: tegra: Add board level compatible properties

login
register
mail settings
Submitter Bryan Wu
Date Jan. 2, 2013, 11:53 p.m.
Message ID <1357170831-7836-1-git-send-email-pengw@nvidia.com>
Download mbox | patch
Permalink /patch/209161/
State Accepted, archived
Headers show

Comments

Bryan Wu - Jan. 2, 2013, 11:53 p.m.
The compatible properties of Tegra SoC based boards or machines need
to be documented. This patch adds these board levle compatible
properties into device tree binding document.

Signed-off-by: Bryan Wu <pengw@nvidia.com>
---
 Documentation/devicetree/bindings/arm/tegra.txt |   29 ++++++++++++++++++-----
 1 file changed, 23 insertions(+), 6 deletions(-)
Stephen Warren - Jan. 3, 2013, 12:05 a.m.
On 01/02/2013 04:53 PM, Bryan Wu wrote:
> The compatible properties of Tegra SoC based boards or machines need
> to be documented. This patch adds these board levle compatible
> properties into device tree binding document.

This series looks reasonable now. I'll apply it tomorrow.

It should be easy enough to add HDMI support; the driver is there.

Do you have any idea when SATA support could be added?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bryan Wu - Jan. 3, 2013, 12:11 a.m.
On 01/02/2013 04:05 PM, Stephen Warren wrote:
> On 01/02/2013 04:53 PM, Bryan Wu wrote:
>> The compatible properties of Tegra SoC based boards or machines need
>> to be documented. This patch adds these board levle compatible

My bad, Stephen could you please help me to fix this typo when you 
merging this patch
'levle' -> 'level'

>> properties into device tree binding document.
> This series looks reasonable now. I'll apply it tomorrow.
>
> It should be easy enough to add HDMI support; the driver is there.

OK, cool. I will take a look at this as long as driver is ready

> Do you have any idea when SATA support could be added?
Oh, do you have SATA driver merged into upstream yet?

Thanks,
-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Warren - Jan. 3, 2013, 12:13 a.m.
On 01/02/2013 05:11 PM, Peng Wu wrote:
> On 01/02/2013 04:05 PM, Stephen Warren wrote:
>> On 01/02/2013 04:53 PM, Bryan Wu wrote:
>>> The compatible properties of Tegra SoC based boards or machines need
>>> to be documented. This patch adds these board levle compatible
> 
> My bad, Stephen could you please help me to fix this typo when you
> merging this patch
> 'levle' -> 'level'

Sure, I'll patch that up when applying.

>> Do you have any idea when SATA support could be added?
>
> Oh, do you have SATA driver merged into upstream yet?

The driver isn't there yet, but it'd be great to add it.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Bryan Wu - Jan. 3, 2013, 12:16 a.m.
On 01/02/2013 04:13 PM, Stephen Warren wrote:
>>> Do you have any idea when SATA support could be added?
>> Oh, do you have SATA driver merged into upstream yet?
> The driver isn't there yet, but it'd be great to add it.

SATA looks like share some code like clock with PCI-E, I think we are 
working on upstream PCI-E driver. Anyway, I will look at this.

Thanks,
-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Warren - Jan. 3, 2013, 4:52 p.m.
On 01/02/2013 04:53 PM, Bryan Wu wrote:
> The compatible properties of Tegra SoC based boards or machines need
> to be documented. This patch adds these board levle compatible
> properties into device tree binding document.

The series, applied to Tegra's for-3.9/dt branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt
index 6e69d2e..665c54d 100644
--- a/Documentation/devicetree/bindings/arm/tegra.txt
+++ b/Documentation/devicetree/bindings/arm/tegra.txt
@@ -1,14 +1,31 @@ 
 NVIDIA Tegra device tree bindings
 -------------------------------------------
 
-Boards with the tegra20 SoC shall have the following properties:
+SoCs
+-------------------------------------------
 
-Required root node property:
+Each device tree must specify which Tegra SoC it uses, using one of the
+following compatible values:
 
-compatible = "nvidia,tegra20";
+  nvidia,tegra20
+  nvidia,tegra30
 
-Boards with the tegra30 SoC shall have the following properties:
+Boards
+-------------------------------------------
 
-Required root node property:
+Each device tree must specify which one or more of the following
+board-specific compatible values:
 
-compatible = "nvidia,tegra30";
+  ad,medcom-wide
+  ad,plutux
+  ad,tamonten
+  ad,tec
+  compal,paz00
+  compulab,trimslice
+  nvidia,cardhu
+  nvidia,cardhu-a02
+  nvidia,cardhu-a04
+  nvidia,harmony
+  nvidia,seaboard
+  nvidia,ventana
+  nvidia,whistler