Driver changes for omaps for genpd for v5.11 merge window

This series of changes allows booting am335x with genpd and
 device tree data without the legacy platform data. Also at
 least am437x can be booted with gendp with power domain and
 dts data. The SoC specific dts changes will be a separate
 pull request.
 
 We need the following driver changes merged before the dts
 changes can be done:
 
 - platform code needs a few improvments to probe l4_wkup first
   for clocks, and to bail out when there is no platform data
 
 - ti-sysc driver needs a non-urgent fix for asserting rstctrl
   reset only after disabling the clocks, to probe modules with
   no known control registers, and added quirk handling for gpmc
   devices
 
 - omap-prm driver needs a non-urgent fix for reset status bit,
   support added for pm_clk, and then we add the rest of am335x
   power domain data
 
 - clock driver for am335x needs to keep l3_main clock enabled
   with genpd for suspend and resume to work
 
 - wkup_m3 remoteproc driver needs support added for reset
   control if available instead of the legacy pdata callbacks
 
 - pm33xx driver needs PM runtime support added for genpd
 
 The am335x specific driver changes for the clock, wkup_m3,
 pm33xx and remoteproc drivers are quite trivial and have not
 caused merge conflicts in Linux next. I did not get acks for
 these changes except from Santosh but had already pushed out
 the branch already at that point. So I've added the related
 driver maintainers to Cc.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAl/F39ARHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPlMxAAopqsCU/8vqw9EiLrvwhxuXQ6ZesvoqWO
 5JjIyksRA9DOtQvgLzQCnIzeJs/Rdb5dFR9Qs3DS3WCAVWE5aSQ298xSRbBVuGte
 E0idXRpib7LAtyMqkvYjtbm6vullINI0+LzhKuo4aeBQjW2go6jf+XEDUlopV3WF
 /PxpQ0jhBrJ3uaBA5PyKtDvj/d2rqMv87Dcw77PJYxxg39JbmAJhfuaGfA1eCm+k
 f4tIEcYVzyxV727NY5eHoUVWwlQ+JfBf0GtjVbYMeTABaWOZX2NfLje/zNK3Ub+j
 ZDzLhtFEyU12HQnth0cetEFUb71RGR32jzzoV2Z2jMO7hdxa5qDI/tv+YtX843e8
 kgibmNVoSt4RModNZVM9tUvsHF7xdEWcxdTqKLhbWfr6iMHFMY05IF+f6p59eEMm
 zBkw7lGk8j84CpzuYVtSekDiZ3Qcj8nwSjssDXSrb82zm0dyaDH/Gegcuo33WW+c
 cHgH9L2i+roQ1L3Fzdh/CEf6Ij97FnLTGqw4ReZaiT1YWiS0MeoBIB5wNWds91XR
 EBhtatqH5p8czt5c0nzcponTuyNCKyQtOPCoiUN94HCSg8Z7U38ehia5wDT8ARTX
 OnXFnSNGKSpS1OsOUJ+WgUI9La5WCL0ewp8eOk/e5G4b7oM8N2cyrhcypQ9KgT2R
 /ks8kVb0l4k=
 =V41a
 -----END PGP SIGNATURE-----

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

Driver changes for omaps for genpd for v5.11 merge window

This series of changes allows booting am335x with genpd and
device tree data without the legacy platform data. Also at
least am437x can be booted with gendp with power domain and
dts data. The SoC specific dts changes will be a separate
pull request.

We need the following driver changes merged before the dts
changes can be done:

- platform code needs a few improvments to probe l4_wkup first
  for clocks, and to bail out when there is no platform data

- ti-sysc driver needs a non-urgent fix for asserting rstctrl
  reset only after disabling the clocks, to probe modules with
  no known control registers, and added quirk handling for gpmc
  devices

- omap-prm driver needs a non-urgent fix for reset status bit,
  support added for pm_clk, and then we add the rest of am335x
  power domain data

- clock driver for am335x needs to keep l3_main clock enabled
  with genpd for suspend and resume to work

- wkup_m3 remoteproc driver needs support added for reset
  control if available instead of the legacy pdata callbacks

- pm33xx driver needs PM runtime support added for genpd

The am335x specific driver changes for the clock, wkup_m3,
pm33xx and remoteproc drivers are quite trivial and have not
caused merge conflicts in Linux next. I did not get acks for
these changes except from Santosh but had already pushed out
the branch already at that point. So I've added the related
driver maintainers to Cc.

* tag 'omap-for-v5.11/genpd-drivers-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  remoteproc/wkup_m3: Use reset control driver if available
  soc: ti: pm33xx: Enable basic PM runtime support for genpd
  soc: ti: omap-prm: am3: add genpd support for remaining PRM instances
  soc: ti: omap-prm: Add pm_clk for genpd
  clk: ti: am33xx: Keep am3 l3 main clock always on for genpd
  bus: ti-sysc: Implement GPMC debug quirk to drop platform data
  bus: ti-sysc: Support modules without control registers
  ARM: OMAP2+: Probe PRCM first to probe l4_wkup with simple-pm-bus
  ARM: OMAP2+: Check for inited flag
  bus: ti-sysc: Assert reset only after disabling clocks
  soc: ti: omap-prm: Do not check rstst bit on deassert if already deasserted
  bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw
  bus: ti-sysc: Fix reset status check for modules with quirks
  ARM: OMAP2+: Fix missing select PM_GENERIC_DOMAINS_OF
  ARM: OMAP2+: Fix location for select PM_GENERIC_DOMAINS

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2020-12-09 21:11:35 +01:00
commit 80c25006bc
9 changed files with 195 additions and 39 deletions