Messages in this thread | | | Date | Wed, 8 Jun 2022 09:54:58 -0400 | From | Alan Stern <> | Subject | Re: [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 <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>
| |