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: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Rob Herring <robh@kernel.org>
Этот коммит содержится в:

коммит произвёл
Rob Herring

родитель
efb5b43a54
Коммит
48c926cd34
@@ -14,7 +14,7 @@ Required properties:
|
||||
|
||||
example:
|
||||
|
||||
ahb1_rst: reset@01c202c0 {
|
||||
ahb1_rst: reset@1c202c0 {
|
||||
#reset-cells = <1>;
|
||||
compatible = "allwinner,sun6i-a31-ahb1-reset";
|
||||
reg = <0x01c202c0 0xc>;
|
||||
|
@@ -14,7 +14,7 @@ Required properties:
|
||||
|
||||
example:
|
||||
|
||||
src: src@020d8000 {
|
||||
src: src@20d8000 {
|
||||
compatible = "fsl,imx6q-src";
|
||||
reg = <0x020d8000 0x4000>;
|
||||
interrupts = <0 91 0x04 0 96 0x04>;
|
||||
@@ -33,10 +33,10 @@ reset.txt
|
||||
|
||||
example:
|
||||
|
||||
ipu1: ipu@02400000 {
|
||||
ipu1: ipu@2400000 {
|
||||
resets = <&src 2>;
|
||||
};
|
||||
ipu2: ipu@02800000 {
|
||||
ipu2: ipu@2800000 {
|
||||
resets = <&src 4>;
|
||||
};
|
||||
|
||||
|
@@ -67,7 +67,7 @@ using the syscon node, and a consumer (a DSP device) on the TI Keystone 2
|
||||
|
||||
/ {
|
||||
soc {
|
||||
psc: power-sleep-controller@02350000 {
|
||||
psc: power-sleep-controller@2350000 {
|
||||
compatible = "syscon", "simple-mfd";
|
||||
reg = <0x02350000 0x1000>;
|
||||
|
||||
|
Ссылка в новой задаче
Block a user