[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230331064107.GU7501@atomide.com>
Date: Fri, 31 Mar 2023 09:41:07 +0300
From: Tony Lindgren <tony@...mide.com>
To: Andreas Kemnade <andreas@...nade.info>
Cc: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, Andrew Davis <afd@...com>
Subject: Re: [PATCH v2] dt-bindings: omap: Convert omap.txt to yaml
* Andreas Kemnade <andreas@...nade.info> [230330 16:15]:
> On Thu, 30 Mar 2023 14:39:18 +0300
> Tony Lindgren <tony@...mide.com> wrote:
>
> > * Andreas Kemnade <andreas@...nade.info> [230329 22:22]:
> > > From: Andrew Davis <afd@...com>
> > >
> > > Convert omap.txt to yaml.
> > > Documentation/devicetree/bindings/arm/ti.yaml | 157 ++++++++++++++++++
> > > 1 file changed, 157 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/arm/ti.yaml
> >
> > Great, can we also drop the old txt file or is more changes needed before
> > we can do that?
> >
> we have still
> - ti,hwmods: list of hwmod names (ascii strings), that comes from the OMAP
> HW documentation, attached to a device. Must contain at least
> one hwmod.
>
> Optional properties:
> - ti,no_idle_on_suspend: When present, it prevents the PM to idle the module
> during suspend.
> - ti,no-reset-on-init: When present, the module should not be reset at init
> - ti,no-idle-on-init: When present, the module should not be idled at init
> - ti,no-idle: When present, the module is never allowed to idle.
These are documented in the ti-sysc.yaml for the current SoCs, but not for
the legacy SoC still using ti,hwmods.
> These optional properties are not in the root node but in subnodes.
> From my guts feeling this belongs in a separate file and should
> be somehow dealed with in a second step.
Agreed.
> So how to proceed?
How about just rename the hwmods related parts of omap.txt to something like
ti-hwmods.txt?
> BTW: I think this file then also belongs into
> OMAP2+ SUPPORT section of MAINTAINERS
Yeah that helps for receiving related emails :)
Regards,
Tony
Powered by blists - more mailing lists