From: Alan Stern <stern@rowland.harvard.edu>
To: "Clément Léger" <clement.leger@bootlin.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@microchip.com>,
linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v2] usb: host: ohci-at91: add support to enter suspend using SMC
Date: Wed, 8 Jun 2022 09:54:58 -0400 [thread overview]
Message-ID: <YqCqMsr7FxT/KtZk@rowland.harvard.edu> (raw)
In-Reply-To: <20220607133454.727063-1-clement.leger@bootlin.com>
On Tue, Jun 07, 2022 at 03:34:54PM +0200, Clément Léger wrote:
> When Linux is running under OP-TEE, the SFR is set as secured and thus
> the AT91_OHCIICR_USB_SUSPEND register isn't accessible. Add a SMC to
> do the appropriate call to suspend the controller.
> The SMC id is fetched from the device-tree property
> "microchip,suspend-smc-id". if present, then the syscon regmap is not
> used to enter suspend and a SMC is issued.
>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---
>
> Notes:
> Changes in V2:
> - Change check order in ohci_at91_port_suspend()
> - Renamed smc_id to suspend_smc_id for clarity
Acked-by: Alan Stern <stern@rowland.harvard.edu>
prev parent reply other threads:[~2022-06-08 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 13:34 Clément Léger
2022-06-08 7:21 ` Claudiu.Beznea
2022-06-08 13:54 ` Alan Stern [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=YqCqMsr7FxT/KtZk@rowland.harvard.edu \
--to=stern@rowland.harvard.edu \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@microchip.com \
--cc=clement.leger@bootlin.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=thomas.petazzoni@bootlin.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®