From: Bryan Brattlof <bb@ti.com>
To: Andrew Davis <afd@ti.com>
Cc: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Tony Lindgren <tony@atomide.com>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
<linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v6 3/4] arm64: dts: ti: k3-am62l: add initial infrastructure
Date: Fri, 12 Sep 2025 14:24:56 -0500 [thread overview]
Message-ID: <20250912192456.msnw64b62yr5ricw@bryanbrattlof.com> (raw)
In-Reply-To: <0153912f-04a5-4118-a286-4e9c0293aae6@ti.com>
On September 12, 2025 thus sayeth Andrew Davis:
> On 9/12/25 10:40 AM, Bryan Brattlof wrote:
> > From: Vignesh Raghavendra <vigneshr@ti.com>
> >
> > Add the initial infrastructure needed for the AM62L. ALl of which can be
> > found in the Technical Reference Manual (TRM) located here:
> >
> > https://www.ti.com/lit/pdf/sprujb4
> >
> > Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> > Signed-off-by: Bryan Brattlof <bb@ti.com>
> > ---
> > Changes in v4:
> > - Corrected Copyright year
> > - Used 'ranges' property in the fss{} node
> >
> > Changes in v3:
> > - Added more nodes now that the SCMI interface is ready
> >
> > Changes in v1:
> > - switched to non-direct links to TRM updates are automatic
> > - fixed white space indent issues with a few nodes
> > - separated out device tree bindings
> > ---
> > arch/arm64/boot/dts/ti/k3-am62l-main.dtsi | 603 +++++++++++++++++++++++++++
> > arch/arm64/boot/dts/ti/k3-am62l-thermal.dtsi | 25 ++
> > arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi | 141 +++++++
> > arch/arm64/boot/dts/ti/k3-am62l.dtsi | 120 ++++++
> > arch/arm64/boot/dts/ti/k3-am62l3.dtsi | 67 +++
> > arch/arm64/boot/dts/ti/k3-pinctrl.h | 2 +
> > 6 files changed, 958 insertions(+)
> >
...
> > diff --git a/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> > b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> > new file mode 100644
> > index 0000000000000000000000000000000000000000..d058394a8d19d16f100cd87cf293c67bc189b475
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/ti/k3-am62l.dtsi
> > @@ -0,0 +1,120 @@
> > +// SPDX-License-Identifier: GPL-2.0-only or MIT
> > +/*
> > + * Device Tree Source for AM62L SoC Family
> > + * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
> > + *
> > + * Technical Reference Manual: https://www.ti.com/lit/pdf/sprujb4
> > + */
> > +
...
> > + };
> > + };
> > +
> > + #include "k3-am62l-thermal.dtsi"
>
> Not a fan of how this is included (yes I know it is done like this in
> a couple other places, those need fixed too), as we have better/standard
> ways to add nodes to nodes other than directly including a file with the
> node. The other issue is now the content of the file, including its #include
> lines are now inside this parent node.
>
> This dtsi file should just start with "/ {" and add the extra node.
>
> Also, isn't this broken out into a dtsi so we can handle versions of
> this device qualified for other thermal ranges without having to use
> a different parent device dtsi? If so then adding it directly to the
> base dtsi prevents that. Either all AM62L have this one thermal situation
> and then it doesn't need to be a dtsi, or this include should go into the
> board level as it is up to the given board what specific variant was chosen
> to be populated on that board type.
>
Yeah I've noticed this as well. We have a few parts available in
different packaging that have different maximum temp ratings. Ideally we
should have some way to specify which package variant the board is using
and include these thermal trip points for that package.
It does add more #includes into all of this but I guess if you've picked
up on this as well I should probably look into seeing what we can do.
~Bryan
next prev parent reply other threads:[~2025-09-12 19:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 15:40 [PATCH v6 0/4] arm64: dts: ti: introduce basic support for the AM62L Bryan Brattlof
2025-09-12 15:40 ` [PATCH v6 1/4] dt-bindings: arm: ti: Add binding for AM62L SoCs Bryan Brattlof
2025-10-15 12:14 ` Dhruva Gole
2025-09-12 15:40 ` [PATCH v6 2/4] dt-bindings: pinctrl: pinctrl-single: add ti,am62l-padconf compatible Bryan Brattlof
2025-09-16 2:53 ` Rob Herring (Arm)
2025-10-13 10:11 ` Linus Walleij
2025-09-12 15:40 ` [PATCH v6 3/4] arm64: dts: ti: k3-am62l: add initial infrastructure Bryan Brattlof
2025-09-12 17:19 ` Andrew Davis
2025-09-12 19:24 ` Bryan Brattlof [this message]
2025-09-12 15:40 ` [PATCH v6 4/4] arm64: dts: ti: k3-am62l: add initial reference board file Bryan Brattlof
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=20250912192456.msnw64b62yr5ricw@bryanbrattlof.com \
--to=bb@ti.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=tony@atomide.com \
--cc=vigneshr@ti.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