Skip to content

Commit 2a08a92

Browse files
mripardbebarino
authored andcommitted
dt-bindings: arm: bcm: Add a select to the RPI Firmware binding
The RaspberryPi firmware binding uses two compatible, include simple-bus. The select statement generated by default will thus select any node that has simple-bus, not all of them being the raspberrypi firmware node. This results in warnings being wrongfully reported. Let's add a custom select statement to fix that. Fixes: d4c708c ("dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML") Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Florian Fainelli <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent eb46f54 commit 2a08a92

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ maintainers:
1010
- Eric Anholt <[email protected]>
1111
- Stefan Wahren <[email protected]>
1212

13+
select:
14+
properties:
15+
compatible:
16+
contains:
17+
const: raspberrypi,bcm2835-firmware
18+
19+
required:
20+
- compatible
21+
1322
properties:
1423
compatible:
1524
items:

0 commit comments

Comments
 (0)