Driver changes for ti-sysc for v5.16

Changes for ti-sysc driver for improved system suspend and resume
 support as some drivers need to be reinitialized on resume. Also
 a non-urgent resume warning fix, and dropping of legacy flags for
 gpio and sham:
 
 - Fix timekeeping suspended warning on resume. Probably no need to merge
   this into fixes as it's gone unnoticed for a while.
 
 - Check for context loss for reinit of a module
 
 - Add add quirk handling to reinit on context loss, and also fix a
   build warning it caused
 
 - Add quirk handling to reset on reinit
 
 - Use context loss quirk for gpmc and otg
 
 - Handle otg force-idle quirk even if no driver is loaded
 
 - Drop legacy flags for gpio and sham
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmFkDlQRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPupxAAuSlxw9JrSaovIzirxRJ4iIWBljbz9OJQ
 CyVZ1AlcckKG+oYAzczH762FDCDdBUh/IQP5yrFPBkBoYFpdMXQxo6NKG/ya92Ea
 95wSF/Hz7qKZvQBO9IWSF86LGt0weCg8WW19hKDLJVHnHAJ+rBRwa+cNgpEBjHvU
 ddlTSUO14A4kKYRoXgTXyVlivj6UFpRcnZnCLkJ1TSvzGMJiyC2x8Bb3G5ztrEVy
 Bs2H5bySxX7gs+KhH+D7s6KAWz1eVD1SYj0bFJST9Xgq+tqOOvO2Bf83K8a0z2gH
 qexhV9Tf4gpwbHwDFcTwpvkyP4t8kvn4UqbCfzOcKYXUvq+PTMMPr1+qQvbCJZZy
 jD+GC/xGN4us14M32sXOH0lYGYpk3enqkmfDtop7yYxoBX1XtGNKVK10pPHWbsQ1
 fVg0JebakU7gBwaEwon9sZR2fnMeJKyEtf43TnBkwYGgB825W6OpH1lOGVj5FB/1
 bOK/kzoemTdlafTA/1a+CyLmhTeVWoVctP4bBH0AgQmOOSvfSrZImjMlqmplyHSi
 SiYdvHt47VpgCO1oaj3d1FpfijpO7lKqYS2y/+PrA5hcOWzFC7Q3nClJqWkmaU17
 wHWWg1qhXuyGKvnurbamDW4PxtJkjzy1wJq40gSpaZ6mlCUqZqx4N/S8M+PGjqnW
 VMXfOKIMxeQ=
 =nwPV
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmFkUGYACgkQmmx57+YA
 GNnPtw/9FyZnrIJQx4ITjgjXc5zQJkWFYBxaoBk18gVOLlUMcAgyEXeOFYph+e84
 SdjTQR0yORlCyCvOzV+4Fy0sY6mva0Br67fpjwROPYrfDJ6hQVp7oWfbm+Y3Zc0W
 l15eSNbWCD532Q4bKX/3C6O+qF9FF7pakB85mlYWxRj03ei+N31cVLleLl22c0jl
 jCUz5qXIpmhwEw95Uxt47H1Sop7cjxq7LED52zMjzJ6G7zg9klXYXvloYrGdwoNg
 A+CTtHMNYoi0oj4HR687W5lDHnZAZL4DB10xavi7oTRUg9FqXHiixuVNeGJsf7di
 RpvZ4ON5L8JBSxWQVaSVPXf73zSAJShb/5w0o97YyjBbCJmHHNfyf5DX8NbNiu6k
 u3OOmywzTOZakmUvcDihb7NDMWsP1Tz+glVx618Xw7TE0GVRkfRNBhw49/3JTNwm
 l5N7NNCF7fO0Rb830y9OIVZMu0VElPUrAKJH2IR4zS5S9F33QNNf+V2JrJI5voMW
 tXoTusARaouHkahCPFnrdLjoaNFxOMv1mndU5hYOQwamqg/GDWXlRwG9Ohy1s99n
 Rnms0V9c6zTVhtElfKZPLU6vTAaVUFaXV+U/pZq87SCRYBjUFNpO038cM9a8N9FT
 xSzt01ClnvYt+zl/nIwAnAkGKx1m66xQJxhlgrhMEDq56QkHa7E=
 =2uHl
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v5.16/ti-sysc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/drivers

Driver changes for ti-sysc for v5.16

Changes for ti-sysc driver for improved system suspend and resume
support as some drivers need to be reinitialized on resume. Also
a non-urgent resume warning fix, and dropping of legacy flags for
gpio and sham:

- Fix timekeeping suspended warning on resume. Probably no need to merge
  this into fixes as it's gone unnoticed for a while.

- Check for context loss for reinit of a module

- Add add quirk handling to reinit on context loss, and also fix a
  build warning it caused

- Add quirk handling to reset on reinit

- Use context loss quirk for gpmc and otg

- Handle otg force-idle quirk even if no driver is loaded

- Drop legacy flags for gpio and sham

* tag 'omap-for-v5.16/ti-sysc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  bus: ti-sysc: Fix variable set but not used warning for reinit_modules
  bus: ti-sysc: Drop legacy quirk flag for sham
  bus: ti-sysc: Drop legacy quirk flag for gpio
  bus: ti-sysc: Handle otg force idle quirk
  bus: ti-sysc: Use context lost quirk for otg
  bus: ti-sysc: Use context lost quirks for gpmc
  bus: ti-sysc: Add quirk handling for reset on re-init
  bus: ti-sysc: Add quirk handling for reinit on context lost
  bus: ti-sysc: Check for lost context in sysc_reinit_module()
  bus: ti-sysc: Fix timekeeping_suspended warning on resume

Link: https://lore.kernel.org/r/pull-1633950030-501948@atomide.com-2
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2021-10-11 16:55:32 +02:00
commit 030f4e72aa
2 changed files with 244 additions and 35 deletions