i.MX clocks changes for 6.5

- Remove CLK_SET_RATE_PARENT flag from LDB clocks on i.MX6SX
 - Keep UART clocks enabled during kernel boot if earlycon is set
 - Drop the imx_unregister_clocks as there are no users for it
 - Switch to _safe iterator on imx_clk_scu_unregister to avoid use after free
 - Add determine_rate op to the imx8m composite clock
 - Use device managed API for iomap and kzalloc for i.MXRT1050,
   i.MX8MN, i.MX8MP and i.MX93 clock controller drivers
 - Add missing interrupt DT property for the i.MX8M clock controller
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEdRlgxHYCb3ovKt456LNSLBEEo7YFAmSJrSQACgkQ6LNSLBEE
 o7alDxAAnmaNybOvV+StMxZ9Q/3b7OQef/2597rlwTdX0TgiJywil/3z2slS6BpV
 shq3tY9ANRkele0vSKdbFUGqR6VlyAQ+yoIYxa+QOhxksJEfUeXCbN0bIn28ipc2
 HtBokoG8iBFY9JHDA9AC3eWeWP4yzjrYs+ojV2JlKgDuXtKcasn+LahTiGUEKFF6
 vzsOiZQm83NNHdsn4cpfPGDsLBkbtWy4OdlaBRxGNn0ZeFIvZ2CeZslk29sMPftD
 dLo7nAgCDnl7oMZ6gr3a9P4HgV5wcuB7rjH8TwGHjepj1/SqsekZhNbcgCcVvG6f
 /1UIq5slvkSyG1MmsuiyLD824rXtEDrp+I2y7xj8TRVMynmPa7/sAaCRgwsGkXUk
 RGBteV24Ef18c2OWrm174HcHxA2Nmxg/W6H18JWVFt/CnGb1/IV2pHmfM64YCKjz
 00TJl5Hd9BsTDMnA/nKs2lfjbkCkHL2BX8WwMqmQvqjzY0NBiNplewB9+8c6DN5Y
 CKiL+7kDuRgIk83Ainsozt7EdMIxp9n1jgtXYjqdckvtqOkwSpll8B7OjtuXt/jV
 DgaM4RAOQE5vekG/HyUr79ruApDawDIBWzLksKPj9iMX2gsDK9rttBBXWC9qEr4l
 3gr/XHTHhqGExbwFLwh8xEjO0mzr7ThVpWQZmqBke90C58rn/f8=
 =eunH
 -----END PGP SIGNATURE-----

Merge tag 'clk-imx-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux into clk-imx

Pull i.MX clk driver updates from Abel Vesa:

 - Remove CLK_SET_RATE_PARENT flag from LDB clocks on i.MX6SX
 - Keep UART clocks enabled during kernel boot if earlycon is set
 - Drop the imx_unregister_clocks as there are no users for it
 - Switch to _safe iterator on imx_clk_scu_unregister to avoid use after free
 - Add determine_rate op to the imx8m composite clock
 - Use device managed API for iomap and kzalloc for i.MXRT1050,
   i.MX8MN, i.MX8MP and i.MX93 clock controller drivers
 - Add missing interrupt DT property for the i.MX8M clock controller

* tag 'clk-imx-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux:
  clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
  clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
  clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
  dt-bindings: clock: imx8m: Add missing interrupt property
  clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
  clk: imx: composite-8m: Add imx8m_divider_determine_rate
  clk: imx: scu: use _safe list iterator to avoid a use after free
  clk: imx: drop imx_unregister_clocks
  clk: imx6ul: retain early UART clocks during kernel init
  clk: imx: imx6sx: Remove CLK_SET_RATE_PARENT from the LDB clocks
This commit is contained in:
Stephen Boyd 2023-06-14 13:43:35 -07:00
commit 989e4659dc
11 changed files with 82 additions and 44 deletions