Skip to content

Commit 6a75483

Browse files
mripardrobherring
authored andcommitted
ARM: dts: bcm2835: Change firmware compatible from simple-bus to simple-mfd
The current binding for the RPi firmware uses the simple-bus compatible as a fallback to benefit from its automatic probing of child nodes. However, simple-bus also comes with some constraints, like having the ranges, our case. Let's switch to simple-mfd that provides the same probing logic without those constraints. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20200924082642.18144-1-maxime@cerno.tech Signed-off-by: Rob Herring <robh@kernel.org>
1 parent e5467b6 commit 6a75483

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ properties:
2323
compatible:
2424
items:
2525
- const: raspberrypi,bcm2835-firmware
26-
- const: simple-bus
26+
- const: simple-mfd
2727

2828
mboxes:
2929
$ref: '/schemas/types.yaml#/definitions/phandle'
@@ -57,7 +57,7 @@ required:
5757
examples:
5858
- |
5959
firmware {
60-
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
60+
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
6161
mboxes = <&mailbox>;
6262
6363
firmware_clocks: clocks {

arch/arm/boot/dts/bcm2835-rpi.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
soc {
1515
firmware: firmware {
16-
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
16+
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
1717
#address-cells = <1>;
1818
#size-cells = <1>;
1919

0 commit comments

Comments
 (0)