Message ID | 20201013060623.1711-3-thunder.leizhen@huawei.com |
---|---|
State | New |
Headers | show |
Series | eliminate two common errors reported by any yaml on arm64 | expand |
diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index a94dac76bf3fbdd..ec88c0723fb512d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -182,7 +182,6 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; - dma-ranges; compatible = "simple-bus"; prng: qrng@e1000 {
ipq6018.dtsi is only included by ipq6018-cp01-c1.dts. I searched the entire expanded ipq6018-cp01-c1.dts file, and only one dma-ranges was defined. No conversion range is specified, so it cannot work properly. I think this property "dma-ranges" is added by mistake, just remove it. Otherwise, the following error will be reported when any YAML detection is performed on arm64. arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning \ (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but \ its #address-cells (1) differs from / (2) arch/arm64/boot/dts/qcom/ipq6018.dtsi:185.3-14: Warning \ (dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but \ its #size-cells (1) differs from / (2) Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 1 - 1 file changed, 1 deletion(-) -- 1.8.3