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

Commit 4c9847b7 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Rob Herring
Browse files

dt-bindings: Remove leading 0x from bindings notation



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

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

Converted using the following command:

find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} +

This is a follow up to commit 48c926cd

Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 6de67de3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ Required properties:

Example:

	ccn@0x2000000000 {
	ccn@2000000000 {
		compatible = "arm,ccn-504";
		reg = <0x20 0x00000000 0 0x1000000>;
		interrupts = <0 181 4>;
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ An interrupt consumer on an SoC using crossbar will use:
	interrupts = <GIC_SPI request_number interrupt_level>

Example:
	device_x@0x4a023000 {
	device_x@4a023000 {
		/* Crossbar 8 used */
		interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
		...
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Required properties:
- interrupts : Should contain MC General interrupt.

Example:
	memory-controller@0x7000f000 {
	memory-controller@7000f000 {
		compatible = "nvidia,tegra20-mc";
		reg = <0x7000f000 0x024
		       0x7000f03c 0x3c4>;
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ Optional properties:
- clock-output-names : From common clock binding.

Example:
	clock@0xff000000 {
	clock@ff000000 {
		compatible = "adi,axi-clkgen";
		#clock-cells = <0>;
		reg = <0xff000000 0x1000>;
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ Example:
		clocks = <&clk_osc>;
	};

	aux: aux@0x7e215004 {
	aux: aux@7e215004 {
		compatible = "brcm,bcm2835-aux";
		#clock-cells = <1>;
		reg = <0x7e215000 0x8>;
Loading