Re: [PATCH 2/2] dt-bindings: tegra: Rename some bindings for consistency

Stephen Warren
2016-04-11T15:58:14Z

On 04/11/2016 07:58 AM, Thierry Reding wrote:
> From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>
> Device tree binding for NVIDIA Tegra have traditionally carried the
> "nvidia," vendor prefix in the filename. A couple of odd ones don't, so
> fix them up for consistency.
>
> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> .../devicetree/bindings/ata/nvidia,tegra-ahci.txt | 32 ++
> .../devicetree/bindings/ata/tegra-sata.txt | 32 --
> .../bindings/dma/nvidia,tegra20-apbdma.txt | 44 +++
> .../devicetree/bindings/dma/tegra20-apbdma.txt | 44 ---
> .../memory-controllers/nvidia,tegra-emc.txt | 374 +++++++++++++++++++++
> .../bindings/memory-controllers/tegra-emc.txt | 374 ---------------------
> .../bindings/thermal/nvidia,tegra-soctherm.txt | 67 ++++
> .../devicetree/bindings/thermal/tegra-soctherm.txt | 67 ----
> 8 files changed, 517 insertions(+), 517 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.txt

The filenames should exactly match the (first) compatible value they
document for consistency with other bindings. That should be
nvidia,tegra124-ahci.txt.

> delete mode 100644 Documentation/devicetree/bindings/ata/tegra-sata.txt
> create mode 100644 Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt
> delete mode 100644 Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-emc.txt

That should be nvidia,tegra124-emc.txt.

> delete mode 100644 Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt
> create mode 100644 Documentation/devicetree/bindings/thermal/nvidia,tegra-soctherm.txt
> delete mode 100644 Documentation/devicetree/bindings/thermal/tegra-soctherm.txt

That should be nvidia,tegra124-soctherm.txt.

I assume the delete/create content is identical, although I didn't both
to check.

With the fixes above,
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>