Skip to content

Commit

Permalink
ARM: dts: bcm283x: Drop unneeded properties in the bcm2835-firmware node
Browse files Browse the repository at this point in the history
The firmware node contains a "dma-ranges" property to enable usage of
the DMA mapping API with its child devices, along with "#address-cells"
and "#size-cells" properties to support the dma-ranges. This was needed
due to usage of the incorrect device to perform the DMA mapping in
drivers. Now that this has been fixed, drop the properties.

This effectively reverts commits be08d27 ("ARM: dts: bcm283x: Add
cells encoding format to firmware bus") and 55c7c06 ("ARM: dts:
bcm283x: Fix vc4's firmware bus DMA limitations").

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Tested-by: Ivan T. Ivanov <iivanov@suse.de>
Link: https://lore.kernel.org/r/20240326195807.15163-4-laurent.pinchart@ideasonboard.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
  • Loading branch information
Laurent Pinchart authored and Florian Fainelli committed Apr 4, 2024
1 parent df518a0 commit e54c32f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
soc {
firmware: firmware {
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
#address-cells = <1>;
#size-cells = <1>;

mboxes = <&mailbox>;
dma-ranges;
};

power: power {
Expand Down

0 comments on commit e54c32f

Please sign in to comment.