Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: sashiko-bot@kernel.org
Cc: sashiko-reviews@lists.linux.dev, imx@lists.linux.dev,
	devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org,
	Frank.Li@kernel.org
Subject: Re: [PATCH v2 1/3] ARM: imx: enable STOP-ON mode in idle if wakeup requirements permit
Date: Thu, 26 Nov 2026 13:46:07 +0100	[thread overview]
Message-ID: <20261126134607.0cd4da28@kemnade.info> (raw)
In-Reply-To: <sashiko-outbox-235350@kernel.org>

On Thu, 26 Nov 2026 11:13:50 +0000
sashiko-bot@kernel.org wrote:


> > +bool imx6sll_check_pll_are_used(void)
> > +{
> > +	/* check for any clock active which provides more than register access */
> > +
> > +				/* uart2 | dcp */
> > +	return readl_relaxed(ccm_base + CCGR0) & (BIT(29) | BIT(11)) ||
> > +				/* uart | gpt_serial | epit | ecspi */
> > +		readl_relaxed(ccm_base + CCGR1) & (BIT(25) | BIT(23) | BIT(15) | BIT(13) |
> > +						   BIT(11) | BIT(7) | BIT(5) | BIT(3) | BIT(1)) ||
> > +				/* pxp | lcd | i2c */
> > +		readl_relaxed(ccm_base + CCGR2) & (BIT(31) | BIT(29) | BIT(11) | BIT(9) |
> > +						   BIT(7) | BIT(3)) ||
> > +				/* lcdif | epdc | pxp */
> > +		readl_relaxed(ccm_base + CCGR3) & (BIT(11) | BIT(5) | BIT(3)) ||  
> 
> [Severity: Low]
> This isn't a bug, but in drivers/clk/imx/clk-imx6sll.c, BIT(3) of CCGR2
> (0x70) gates csi (omitted from the CCGR2 comment) and BIT(3) of CCGR3
> (0x74) gates uart5_ipg / uart5_serial rather than pxp.
> 

According to page 536 of i.MX 6SLL Applications Processor Reference Manual, Rev. 0,
it is a second pxp clock. Is there any autoritative source here?
I have tested pxp a bit, had no problems with just one clock but did
not really test all functions. I do not have access to uart5 to test anything.

For the scope of this patch it does not matter, both belong into this list.

Regards,
Andreas

  reply	other threads:[~2026-11-26 12:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 11:00 [PATCH v2 0/3] ARM: imx: Add a more agressive idle mode on i.MX6SLL Andreas Kemnade
2026-11-26 11:00 ` [PATCH v2 1/3] ARM: imx: enable STOP-ON mode in idle if wakeup requirements permit Andreas Kemnade
2026-11-26 11:13   ` sashiko-bot
2026-11-26 12:46     ` Andreas Kemnade [this message]
2026-11-26 11:00 ` [PATCH v2 2/3] timer-imx-gpt: Allow 32K clock to be used as a clock source Andreas Kemnade
2026-11-26 11:14   ` sashiko-bot
2026-11-26 11:00 ` [PATCH v2 3/3] ARM: dts: imx: kobo-clarahd: Use 32K clock for the timer Andreas Kemnade

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=20261126134607.0cd4da28@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=sashiko-bot@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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