Skip to contentSkip to conversation

dt-bindings: mmc: tegra: Reformat compatible string list

PATCH Applied Thierry Reding 4 participants 4 messages Mar 14, 2017 – Mar 16, 2017 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: mmc: tegra: Reformat compatible string list

From: Thierry Reding <[email protected]>

The list of compatible strings is somewhat difficult to read and extend. Reformat it into a list to make it more easily extensible.

While at it, also remove the "plus one of the above" clause because it isn't actually valid.

---
 .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +6 -5
index 15b8368ee1f2..c15aa22d4570 100644
@@ -7,11 +7,12 @@ This file documents differences between the core properties described
 by mmc.txt and the properties used by the sdhci-tegra driver.
 
 Required properties:
-- compatible : For Tegra20, must contain "nvidia,tegra20-sdhci".
-  For Tegra30, must contain "nvidia,tegra30-sdhci".  For Tegra114,
-  must contain "nvidia,tegra114-sdhci".  For Tegra124, must contain
-  "nvidia,tegra124-sdhci".  Otherwise, must contain "nvidia,<chip>-sdhci",
-  plus one of the above, where <chip> is tegra132 or tegra210.
+- compatible : should be one of:
+  - "nvidia,tegra20-sdhci": for Tegra20
+  - "nvidia,tegra30-sdhci": for Tegra30
+  - "nvidia,tegra114-sdhci": for Tegra114
+  - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
+  - "nvidia,tegra210-sdhci": for Tegra210
 - clocks : Must contain one entry, for the module clock.
   See ../clocks/clock-bindings.txt for details.
 - resets : Must contain an entry for each entry in reset-names.
Signature · 1 line
2.12.0

A message that is not in the archive (sent off-list or not yet received): 20170314190152.9167-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 2/2 dt-bindings: mmc: tegra: Document Tegra186 compatible string

From: Thierry Reding <[email protected]>

The SDHCI controller found on Tegra186 in very similar to the controller found on earlier generations of Tegra.

---
 Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +1 -0
index c15aa22d4570..9bce57862ed6 100644
@@ -13,6 +13,7 @@ Required properties:
   - "nvidia,tegra114-sdhci": for Tegra114
   - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
   - "nvidia,tegra210-sdhci": for Tegra210
+  - "nvidia,tegra186-sdhci": for Tegra186
 - clocks : Must contain one entry, for the module clock.
   See ../clocks/clock-bindings.txt for details.
 - resets : Must contain an entry for each entry in reset-names.
Signature · 6 lines
2.12.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Applied
#3 lore raw

Re: [PATCH 2/2] dt-bindings: mmc: tegra: Document Tegra186 compatible string

Quoted 6 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The SDHCI controller found on Tegra186 in very similar to the controller found on earlier generations of Tegra.

Thanks, applied for next!

Kind regards
Uffe

Quoted 19 lines
---
 Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +1 -1
index c15aa22d4570..9bce57862ed6 100644
@@ -13,6 +13,7 @@ Required properties:
   - "nvidia,tegra114-sdhci": for Tegra114
   - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
   - "nvidia,tegra210-sdhci": for Tegra210
+  - "nvidia,tegra186-sdhci": for Tegra186
 - clocks : Must contain one entry, for the module clock.
   See ../clocks/clock-bindings.txt for details.
 - resets : Must contain an entry for each entry in reset-names.
--

2.12.0

Applied
#4 lore raw
In reply to a message not in the archive
Quoted 9 lines · Thierry Reding

From: Thierry Reding <[email protected]>

The list of compatible strings is somewhat difficult to read and extend. Reformat it into a list to make it more easily extensible.

While at it, also remove the "plus one of the above" clause because it isn't actually valid.

Thanks, applied for next!

Kind regards
Uffe

Quoted 29 lines
---
 .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +6 -6
index 15b8368ee1f2..c15aa22d4570 100644
@@ -7,11 +7,12 @@ This file documents differences between the core properties described
 by mmc.txt and the properties used by the sdhci-tegra driver.
 
 Required properties:
-- compatible : For Tegra20, must contain "nvidia,tegra20-sdhci".
-  For Tegra30, must contain "nvidia,tegra30-sdhci".  For Tegra114,
-  must contain "nvidia,tegra114-sdhci".  For Tegra124, must contain
-  "nvidia,tegra124-sdhci".  Otherwise, must contain "nvidia,<chip>-sdhci",
-  plus one of the above, where <chip> is tegra132 or tegra210.
+- compatible : should be one of:
+  - "nvidia,tegra20-sdhci": for Tegra20
+  - "nvidia,tegra30-sdhci": for Tegra30
+  - "nvidia,tegra114-sdhci": for Tegra114
+  - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132
+  - "nvidia,tegra210-sdhci": for Tegra210
 - clocks : Must contain one entry, for the module clock.
   See ../clocks/clock-bindings.txt for details.
 - resets : Must contain an entry for each entry in reset-names.
--

2.12.0