From: Kory Maincent <kory.maincent@bootlin.com>
To: Judith Mendez <jm@ti.com>,
"Markus Schneider-Pargmann (TI)" <msp@baylibre.com>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Andreas Kemnade <andreas@kemnade.info>,
Kevin Hilman <khilman@baylibre.com>,
Roger Quadros <rogerq@kernel.org>,
Tony Lindgren <tony@atomide.com>,
Alexander Stein <alexander.stein@ew.tq-group.com>,
Matthias Schiffer <matthias.schiffer@tq-group.com>
Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
Julien Panis <jpanis@baylibre.com>,
"Francis, Sebin" <sebin.francis@ti.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] bus: ti-sysc: Don't reserve the system timers on AM33xx
Date: Fri, 6 Nov 2026 12:15:24 +0100 [thread overview]
Message-ID: <58552af1-62db-4ca6-835d-bdfb597d104b@bootlin.com> (raw)
In-Reply-To: <bbe7c601-88df-4162-83bc-047b810430a9@ti.com>
On 11/4/26 16:53, Judith Mendez wrote:
> Hi Markus
>
> On 11/3/26 7:24 AM, Markus Schneider-Pargmann (TI) wrote:
>> Commit
>> 3f6178392050 ("ti-sysc: allow OMAP2 and OMAP4 timers to be
>> reserved on AM33xx")
>> introduced handling of am33 SoC timers that are already active as
>> reserved. During probe this means the clocks are enabled and a reference
>> is kept.
>>
>> On AM33xx deep sleep is entered by the PM coprocessor which
>> requires the PER power domain to be idle. The system timer driver
>> disables the clock during suspend but the additional reference held by
>> ti-sysc leads to the PER power domain not being idle:
>>
>> pm33xx pm33xx: PM: Could not transition all powerdomains to
>> target state
>>
>> The reserved status is only needed where the
>> gpt12 system timer must be kept from idling, see commit
>> 3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with
>> reserved status")
>>
>> The timer configuration in the devicetree is the same on all SoCs, so
>> there is no reason to reserve the timers on AM33xx.
>>
>> Return -ENODEV for the system timers on all other SoCs. Like -EBUSY it
>> stops the probe but the driver core doesn't report it as failure.
>>
>> Fixes: 3f6178392050 ("ti-sysc: allow OMAP2 and OMAP4 timers to be
>> reserved on AM33xx")
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>
>
> Thanks for the patch, tested on various AM3* boards.
>
> Tested-by: Judith Mendez <jm@ti.com>
Tested-by: Kory Maincent <kory.maincent@bootlin.com>
On BeagleBone Green Eco.
Thank you!
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-11-06 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 13:24 Markus Schneider-Pargmann (TI)
2026-11-04 15:53 ` Judith Mendez
2026-11-06 11:15 ` Kory Maincent [this message]
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=58552af1-62db-4ca6-835d-bdfb597d104b@bootlin.com \
--to=kory.maincent@bootlin.com \
--cc=aaro.koskinen@iki.fi \
--cc=alexander.stein@ew.tq-group.com \
--cc=andreas@kemnade.info \
--cc=jm@ti.com \
--cc=jpanis@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=matthias.schiffer@tq-group.com \
--cc=msp@baylibre.com \
--cc=rogerq@kernel.org \
--cc=sebin.francis@ti.com \
--cc=stable@vger.kernel.org \
--cc=tony@atomide.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
all inboxes | Powered by JetHome®