[lkml]   [2022]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] usb: host: ohci-at91: add support to enter suspend using SMC
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 <>
> ---
> 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 <>

 \ /
  Last update: 2022-06-08 15:58    [W:0.070 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site