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

Joseph Lo
2016-04-12T01:28:15Z

On 04/11/2016 09:58 PM, 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
> 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
> 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
>

Hi,

Could we use the "-M" and "-C" option to detect the difference if this
is just rename or copy from the original file? That way we can still
remain the connection of the history log that we can still check the
file history by "git blame".

If we do this by deleting and recreating the same file content with
renamed filename, we will lose the history log.

Something like this, I do the same on my machine.

diff --git a/Documentation/devicetree/bindings/ata/tegra-sata.txt
b/Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.txt
similarity index 100%
rename from Documentation/devicetree/bindings/ata/tegra-sata.txt
rename to Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.txt
diff --git a/Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
b/Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt
similarity index 100%
rename from Documentation/devicetree/bindings/dma/tegra20-apbdma.txt
rename to Documentation/devicetree/bindings/dma/nvidia,tegra20-apbdma.txt

Thanks,
Joseph
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html