From: Krzysztof Kozlowski <krzk@kernel.org>
To: Linus Walleij <linusw@kernel.org>
Cc: "Lee Jones" <lee@kernel.org>, "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"William Zhang" <william.zhang@broadcom.com>,
"Anand Gore" <anand.gore@broadcom.com>,
"Kursad Oney" <kursad.oney@broadcom.com>,
"Florian Fainelli" <florian.fainelli@broadcom.com>,
"Rafał Miłecki" <rafal@milecki.pl>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
mfd@lists.linux.dev, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH RFC 2/5] dt-bindings: soc: Describe the BCM6846 Processor Monitor Bus
Date: Tue, 20 Oct 2026 13:37:06 +0200 [thread overview]
Message-ID: <6e2d6ae5-20de-4f6d-9403-fbd2f65b5371@kernel.org> (raw)
In-Reply-To: <CAD++jL=_FhbjBCAZKTa_sBLT6UX+xL4kaHmTCE5GAOJf__2tnQ@mail.gmail.com>
On 19/10/2026 16:03, Linus Walleij wrote:
> On Fri, Oct 16, 2026 at 4:20 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
>>> + /* Called PMB Processor Monitor Bus in vendor tree */
>>> + bus@ffb20100 {
>>> + compatible = "brcm,bcm6846-pmb";
>>> + reg = <0xffb20100 0x200>;
>>> +
>>> + reset-controller {
>>> + compatible = "brcm,bcm6846-pmb-reset";
>>> + #reset-cells = <1>;
>>
>> Anyway this tells - no resources here. This must be part of the parent
>> node, not a separate device.
>
> It so happens that this bus (PMB) has several children just not defined
> in this series. (thermal, clocks, power domains).
>
> One of the children is the thermal monitor, which in turn is using a
> reset from the reset-controller node, to reset just that hardware
> which is under the PMB.
>
> At this point if we put both #reset-cells and #thernal-sensor-cells
> in the same PMB root node, the reset resource would come from
> one part of the PMB to another part.
This would not be a problem but hint that these are the same device and
we try not to encode device internals in DT, at least for simple devices.
>
> They really are different devices under PMB bus, but I'll just go
> and implement thermal sensing in the same patch series so
> that it becomes obvious what is going on, why not.
If they are different devices then it is fine. Usually people cannot
actually distinguish different devices and they represent driver model
in DT. Bindings are also supposed to be complete, which then avoids such
questions/comments as mine. Commit msg or binding description should
clarify such points.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-10-20 11:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 9:48 [PATCH RFC 0/5] BCMBCA PMB reset controller Linus Walleij
2026-10-14 9:48 ` [PATCH RFC 1/5] dt-bindings: mfd: Describe the BCM6846 PMC complex Linus Walleij
2026-10-16 14:19 ` Krzysztof Kozlowski
2026-10-14 9:48 ` [PATCH RFC 2/5] dt-bindings: soc: Describe the BCM6846 Processor Monitor Bus Linus Walleij
2026-10-16 14:20 ` Krzysztof Kozlowski
2026-10-19 14:03 ` Linus Walleij
2026-10-20 11:37 ` Krzysztof Kozlowski [this message]
2026-10-14 9:48 ` [PATCH RFC 3/5] dt-bindings: reset: Describe the BCMBCA PMB reset controller Linus Walleij
2026-10-14 10:23 ` Philipp Zabel
2026-10-14 9:48 ` [PATCH RFC 4/5] bus: Add a shared BCMBCA PMC3 PMB transport Linus Walleij
2026-10-14 9:48 ` [PATCH RFC 5/5] reset: Add BCMBCA block resets through the PMB Linus Walleij
2026-10-14 11:13 ` Philipp Zabel
2026-10-15 6:42 ` [PATCH RFC 0/5] BCMBCA PMB reset controller William Zhang
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=6e2d6ae5-20de-4f6d-9403-fbd2f65b5371@kernel.org \
--to=krzk@kernel.org \
--cc=anand.gore@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=krzk+dt@kernel.org \
--cc=kursad.oney@broadcom.com \
--cc=lee@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mfd@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=rafal@milecki.pl \
--cc=robh@kernel.org \
--cc=william.zhang@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