1
0
Fork 0
alistair23-linux/arch/arm64/boot/dts/broadcom/stingray
Zhen Lei 8ed74a0122 arm64: dts: broadcom: clear the warnings caused by empty dma-ranges
[ Upstream commit 2013a4b684 ]

The scripts/dtc/checks.c requires that the node have empty "dma-ranges"
property must have the same "#address-cells" and "#size-cells" values as
the parent node. Otherwise, the following warnings is reported:

arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning \
(dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but \
its #address-cells (1) differs from / (2)
arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14: Warning \
(dma_ranges_format): /usb:dma-ranges: empty "dma-ranges" property but \
its #size-cells (1) differs from / (2)

Arnd Bergmann figured out why it's necessary:
Also note that the #address-cells=<1> means that any device under
this bus is assumed to only support 32-bit addressing, and DMA will
have to go through a slow swiotlb in the absence of an IOMMU.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201016090833.1892-2-thunder.leizhen@huawei.com'
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-16 10:56:55 +01:00
..
Makefile arm64: dts: stingray: add bcm958802a802x dts 2018-07-13 07:24:26 -07:00
bcm958742-base.dtsi arm64: dts: broadcom: Fix I2C and SPI bus warnings 2018-09-13 15:05:47 -07:00
bcm958742k.dts arm64: dts: specify 1.8V EMMC capabilities for bcm958742k 2018-06-18 09:43:44 -07:00
bcm958742t.dts arm64: dts: specify 1.8V EMMC capabilities for bcm958742t 2018-06-18 09:43:45 -07:00
bcm958802a802x.dts arm64: dts: stingray: add bcm958802a802x dts 2018-07-13 07:24:26 -07:00
stingray-board-base.dtsi arm64: dts: stingray: move common board components to stingray-board-base 2018-06-26 15:40:10 -07:00
stingray-clock.dtsi arm64: dts: Update Stingray clock DT nodes 2018-06-26 15:40:12 -07:00
stingray-fs4.dtsi arm64: dts: fix unit-address leading 0s 2017-10-20 00:37:56 +02:00
stingray-pcie.dtsi arm64: dts: stingray: add PAXC support 2018-07-13 07:24:19 -07:00
stingray-pinctrl.dtsi arm64: dts: Fix gpio to pinmux mapping 2019-09-30 15:25:10 -07:00
stingray-sata.dtsi arm64: dts: correct SATA addresses for Stingray 2018-04-18 11:31:16 -07:00
stingray-usb.dtsi arm64: dts: broadcom: clear the warnings caused by empty dma-ranges 2020-12-16 10:56:55 +01:00
stingray.dtsi arm64: dts: Fix gpio to pinmux mapping 2019-09-30 15:25:10 -07:00