linux_dsm_epyc7002/arch/arm64/boot/dts/mediatek
Mathieu Malaterre 9977a8c349 arm64: dts: Remove leading 0x and 0s from bindings notation
Improve the DTS files by removing all the leading "0x" and zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading "0x"

and

Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Converted using the following command:

find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -E -i -e "s/@0x([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" -e "s/@0+([0-9a-fA-F\.]+)\s?\{/@\L\1 \{/g" {} +

For simplicity, two sed expressions were used to solve each warnings separately.

To make the regex expression more robust a few other issues were resolved,
namely setting unit-address to lower case, and adding a whitespace before the
the opening curly brace:

https://elinux.org/Device_Tree_Linux#Linux_conventions

This is a follow up to commit 4c9847b737 ("dt-bindings: Remove leading 0x from bindings notation")

Reported-by: David Daney <ddaney@caviumnetworks.com>
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-02-22 17:37:53 +01:00
..
Makefile DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
mt2712-evb.dts arm64: dts: mediatek: add mt2712 cpufreq related device nodes 2017-12-21 11:31:00 +01:00
mt2712e.dtsi arm64: dts: Add power controller device node of MT2712 2017-12-21 11:35:18 +01:00
mt6755-evb.dts arm64: dts: mediatek: add mt6755 support 2016-07-03 07:57:21 +02:00
mt6755.dtsi arm64: dts: mediatek: add mt6755 support 2016-07-03 07:57:21 +02:00
mt6795-evb.dts arm64: dts: mediatek: add mt6795 support 2015-07-23 19:55:55 +02:00
mt6795.dtsi ARM64: dts: mt6795: enable basic SMP bringup for MT6795 2015-08-07 19:19:41 +02:00
mt6797-evb.dts arm64: dts: mediatek: add mt6797 support 2017-05-15 10:47:16 +02:00
mt6797.dtsi arm64: dts: mediatek: Delete unused dummy clock for MT6797 2017-08-17 15:33:44 +02:00
mt7622-rfb1.dts arm64: dts: mt7622: add dts file for MT7622 reference board variant 1 2017-07-20 12:52:55 +02:00
mt7622.dtsi arm64: dts: mt7622: add basic nodes to the mt7622.dtsi file 2017-07-20 12:52:55 +02:00
mt8173-evb.dts ARM: SoC device tree updates for 4.16 2018-02-01 16:07:54 -08:00
mt8173-pinfunc.h arm64: dts: mt8173: Add pinctrl/GPIO/EINT node for mt8173. 2015-03-10 11:20:30 +01:00
mt8173.dtsi arm64: dts: Remove leading 0x and 0s from bindings notation 2018-02-22 17:37:53 +01:00