From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Rob Herring <robh@kernel.org>,
Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
Ray Jui <rjui@broadcom.com>,
Scott Branden <sbranden@broadcom.com>,
devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 02/13] ARM: dts: broadcom: bcm2835-rpi: Move non simple-bus nodes to root level
Date: Fri, 16 Jan 2026 13:49:27 -0800 [thread overview]
Message-ID: <ded7193d-ab5e-4f91-9b64-142a886fd792@broadcom.com> (raw)
In-Reply-To: <CAL_JsqKNKCOWj_eSTtDwsex3pUhgc+7QwAwLZn4MWVzOkOOHcg@mail.gmail.com>
On 1/12/26 10:09, Rob Herring wrote:
> On Fri, Jan 9, 2026 at 6:01 AM Marek Szyprowski
> <m.szyprowski@samsung.com> wrote:
>>
>> On 07.01.2026 03:09, Rob Herring (Arm) wrote:
>>> The 'gpu' and 'firmware' nodes are not MMIO devices, so they should not be
>>> under a 'simple-bus'. Additionally, the "raspberrypi,bcm2835-power" node
>>> is part of the firmware, so move it under the /firmware node.
>>>
>>> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
>>
>> This breaks operation of all drivers under the firmware node. I'm not
>> exactly sure why, but they are not properly instantiated. It must be
>> something specific to "firmware" name, but I didn't dig enough to find
>> exactly where and why.
>>
>> After changing the "/firmware" node name "xfirmware" everything works again:
>>
>>
>> diff --git a/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
>> b/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
>> index 9ab70b519a63..464f032ccb71 100644
>> --- a/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
>> +++ b/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
>> @@ -1,7 +1,7 @@
>> #include <dt-bindings/power/raspberrypi-power.h>
>>
>> / {
>> - firmware: firmware {
>> + firmware: xfirmware {
>> compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
>> mboxes = <&mailbox>;
>>
>>
>> Same issue occurs with bcm2712 change (patch 3/13).
>
> The issue is how /firmware is handled in drivers/of/platform.c and it
> doesn't create a device for the /firmware node. I think the fix here
> is /firmware needs to be just a container node and move
> "raspberrypi,bcm2835-firmware" down a level. That also allows for
> different types of firmware such as a TEE or SCMI should those or
> something similar ever be needed.
>
> I'll see if I can get kernelci to test that change. I don't think my
> branch boots all boards though...
Dropped this patch for now, until your of_platform.c fix lands and I can
apply your two other patches.
--
Florian
next prev parent reply other threads:[~2026-01-16 21:49 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 2:09 [PATCH 00/13] dts: broadcom: Fix remaining DT warnings Rob Herring (Arm)
2026-01-07 2:09 ` [PATCH 01/13] ARM: dts: broadcom: bcm2711: Fix 'simple-bus' node names Rob Herring (Arm)
2026-01-08 17:32 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 02/13] ARM: dts: broadcom: bcm2835-rpi: Move non simple-bus nodes to root level Rob Herring (Arm)
2026-01-08 17:32 ` Florian Fainelli
2026-01-09 12:01 ` Marek Szyprowski
2026-01-12 18:09 ` Rob Herring
2026-01-16 21:49 ` Florian Fainelli [this message]
2026-01-07 2:09 ` [PATCH 03/13] arm64: dts: broadcom: bcm2712: " Rob Herring (Arm)
2026-01-08 17:33 ` Florian Fainelli
2026-01-16 21:49 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 04/13] arm64: dts: broadcom: Remove unused and undocumented nodes Rob Herring (Arm)
2026-01-08 17:33 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 05/13] arm64: dts: broadcom: stingray: Rework clock nodes Rob Herring (Arm)
2026-01-08 17:34 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 06/13] arm64: dts: broadcom: stingray: Fix 'simple-bus' node names Rob Herring (Arm)
2026-01-08 17:34 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 07/13] arm64: dts: broadcom: stingray: Move raid nodes out of bus Rob Herring (Arm)
2026-01-08 17:34 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 08/13] arm64: dts: broadcom: Use preferred node names Rob Herring (Arm)
2026-01-08 17:35 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 09/13] arm64: dts: broadcom: ns2-svk: Use non-deprecated at25 properties Rob Herring (Arm)
2026-01-08 17:35 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 10/13] arm64: dts: broadcom: northstar2: Rework clock nodes Rob Herring (Arm)
2026-01-08 17:36 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 11/13] arm64: dts: broadcom: northstar2: Drop unused and undocumented "brcm,pcie-ob-oarr-size" properties Rob Herring (Arm)
2026-01-08 17:36 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 12/13] arm64: dts: broadcom: northstar2: Drop QSPI "clock-names" Rob Herring (Arm)
2026-01-08 17:36 ` Florian Fainelli
2026-01-07 2:09 ` [PATCH 13/13] arm64: dts: broadcom: northstar2: Drop "arm,cci-400-pmu" fallback compatible Rob Herring (Arm)
2026-01-08 17:36 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ded7193d-ab5e-4f91-9b64-142a886fd792@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=m.szyprowski@samsung.com \
--cc=rjui@broadcom.com \
--cc=robh@kernel.org \
--cc=sbranden@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox