Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48c926cd authored by Marco Franchi's avatar Marco Franchi Committed by Rob Herring
Browse files

dt-bindings: Remove leading zeros from bindings notation



Improve the binding example by removing all the leading zeros to fix the
following dtc warnings:

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

Converted using the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"`

Some unnecessary changes were manually fixed.

Signed-off-by: default avatarMarco Franchi <marco.franchi@nxp.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent efb5b43a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ pmu_system_controller: system-controller@10040000 {

Example of clock consumer :

usb3503: usb3503@08 {
usb3503: usb3503@8 {
	/* ... */
	clock-names = "refclk";
	clocks = <&pmu_system_controller 0>;
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ Optional nodes:
        - compatible: only "samsung,secure-firmware" is currently supported
        - reg: address of non-secure SYSRAM used for communication with firmware

	firmware@0203F000 {
	firmware@203F000 {
		compatible = "samsung,secure-firmware";
		reg = <0x0203F000 0x1000>;
	};
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ Required properties:
		property with the highest frequency

Example:
	v2m_sysctl: sysctl@020000 {
	v2m_sysctl: sysctl@20000 {
		compatible = "arm,sp810", "arm,primecell";
		reg = <0x020000 0x1000>;
		clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>;
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ Example:
 		compatible = "arm,vexpress-sysreg";
 		reg = <0x10000000 0x1000>;

		v2m_led_gpios: sys_led@08 {
		v2m_led_gpios: sys_led@8 {
			compatible = "arm,vexpress-sysreg,sys_led";
			gpio-controller;
			#gpio-cells = <2>;
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ Examples:
		interrupts = <115>;
        };

	ahci: sata@01c18000 {
	ahci: sata@1c18000 {
		compatible = "allwinner,sun4i-a10-ahci";
		reg = <0x01c18000 0x1000>;
		interrupts = <56>;
Loading