diff mbox

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

Message ID 20170314190152.9167-1-thierry.reding@gmail.com
State Not Applicable, archived
Headers show

Commit Message

Thierry Reding March 14, 2017, 7:01 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Ulf Hansson March 16, 2017, 2:46 p.m. UTC | #1
On 14 March 2017 at 20:01, Thierry Reding <thierry.reding@gmail.com> wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> 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.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Thanks, applied for next!

Kind regards
Uffe

> ---
>  .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt          | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
> index 15b8368ee1f2..c15aa22d4570 100644
> --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
> +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
> @@ -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
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
index 15b8368ee1f2..c15aa22d4570 100644
--- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
+++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
@@ -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.