ARM: dts: imx53: Fix sram.yaml warnings
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/2 ARM: dts: imx53: Fix sram.yaml warnings
From: Fabio Estevam <[email protected]>
Add ranges, #address-cells and #size-cells properties to the sram node to fix the following warnings when checking sram.yaml:
make dtbs_check DT_SCHEMA_FILES=sram.yaml
...
DTC_CHK arch/arm/boot/dts/imx53-qsb.dtbarch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#address-cells' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yaml/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#size-cells' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yaml/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: 'ranges' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yaml
--- arch/arm/boot/dts/imx53.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx53.dtsi +3 -0
@@ -850,6 +850,9 @@ sahara: crypto@63ff8000 { ocram: sram@f8000000 { compatible = "mmio-sram"; reg = <0xf8000000 0x20000>; + ranges = <0 0xf8000000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX5_CLK_OCRAM>; }; };
Signature · 1 line
2.25.1
Fabio Estevam
reviewerPATCH 2/2 ARM: dts: imx51: Fix sram.yaml warnings
From: Fabio Estevam <[email protected]>
Add ranges, #address-cells and #size-cells properties to the sram node to fix the following warnings when checking sram.yaml:
make dtbs_check DT_SCHEMA_FILES=sram.yaml
...arch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: '#address-cells' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yamlarch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: '#size-cells' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yamlarch/arm/boot/dts/imx51-apf51.dtb: sram@1ffe0000: 'ranges' is a required property
From schema: Documentation/devicetree/bindings/sram/sram.yaml
--- arch/arm/boot/dts/imx51.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx51.dtsi +3 -0
@@ -124,6 +124,9 @@ soc: soc { iram: sram@1ffe0000 { compatible = "mmio-sram"; reg = <0x1ffe0000 0x20000>; + ranges = <0 0x1ffe0000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; }; gpu: gpu@30000000 {
Signature · 1 line
2.25.1
Shawn Guo
AppliedQuoted 15 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add ranges, #address-cells and #size-cells properties to the sram node to fix the following warnings when checking
sram.yaml:make
dtbs_checkDT_SCHEMA_FILES=sram.yaml
...
DTC_CHKarch/arm/boot/dts/imx53-qsb.dtbarch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#address-cells' is a required property
From schema:Documentation/devicetree/bindings/sram/sram.yaml/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: '#size-cells' is a required property
From schema:Documentation/devicetree/bindings/sram/sram.yaml/home/fabio/linux-next/arch/arm/boot/dts/imx53-qsb.dtb: sram@f8000000: 'ranges' is a required property
From schema:Documentation/devicetree/bindings/sram/sram.yaml
Quoted 1 line
Signed-off-by Fabio Estevam <[email protected]>
Applied both, thanks!