linux/arch/arm64/boot/dts/qcom
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
..
apq8016-sbc-pmic-pins.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apq8016-sbc-soc-pins.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apq8016-sbc.dts
apq8016-sbc.dtsi arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic 2017-12-21 16:14:46 +01:00
apq8096-db820c-pins.dtsi arm64: dts: db820c: add support to external sd card. 2016-08-25 10:29:00 -05:00
apq8096-db820c-pmic-pins.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apq8096-db820c.dts arm64: dts: db820c: add basic board support 2016-08-25 10:28:38 -05:00
apq8096-db820c.dtsi arm64: dts: Remove leading 0x and 0s from bindings notation 2018-02-22 17:37:53 +01:00
ipq8074-hk01.dts arm64: dts: Add ipq8074 SoC and HK01 board support 2017-08-18 14:47:25 -05:00
ipq8074.dtsi arm64: dts: Add ipq8074 SoC and HK01 board support 2017-08-18 14:47:25 -05:00
Makefile DeviceTree for 4.15: 2017-11-14 18:25:40 -08:00
msm8916-mtp.dts arm64: dts: qcom: Make msm8916-mtp compatible string compliant 2015-12-16 23:01:41 -06:00
msm8916-mtp.dtsi arm64: dts: qcom: Alias pm8916 on msm8916 devices 2015-12-16 23:01:42 -06:00
msm8916-pins.dtsi arm64: dts: qcom: msm8916-pins: keep cdc_dmic pins in suspend mode 2017-12-31 23:50:14 -06:00
msm8916.dtsi arm64: dts: qcom: msm8916: normalize I2C and SPI nodes 2017-12-31 23:50:13 -06:00
msm8992-bullhead-rev-101.dts arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support 2016-11-12 22:56:43 -06:00
msm8992-pins.dtsi arm64: dts: msm8992 SoC and LG Bullhead (Nexus 5X) support 2016-11-12 22:56:43 -06:00
msm8992.dtsi arm64: dts: smem enablement for msm8992 2017-06-05 21:28:12 -05:00
msm8994-angler-rev-101.dts arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support 2016-11-12 22:57:56 -06:00
msm8994-pins.dtsi arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support 2016-11-12 22:57:56 -06:00
msm8994.dtsi arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support 2016-11-12 22:57:56 -06:00
msm8996-mtp.dts arm64: dts: Add msm8996 SoC and MTP board support 2016-02-23 15:14:15 -06:00
msm8996-mtp.dtsi arm64: dts: Add msm8996 SoC and MTP board support 2016-02-23 15:14:15 -06:00
msm8996-pins.dtsi arm64: dts: qcom: msm8996: add support to pcie 2017-10-11 16:55:24 -05:00
msm8996.dtsi arm64: dts: Remove leading 0x and 0s from bindings notation 2018-02-22 17:37:53 +01:00
pm8004.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pm8916.dtsi arm64: dts: qcom: pm8916: fix wcd_codec indentation 2017-12-31 23:50:12 -06:00
pm8994.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pmi8994.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00