i.MX clocks changes for 6.7

- Select MXC_CLK when building in the CLK_IMX8QXP
 - Fixes for error handling paths in i.MX8 ACM driver
 - Move the clocks check in i.MX8 ACM driver in order to log any error
 - Drop the unused return value of clk_imx_acm_detach_pm_domains
 - Drop non-existant IMX8MP_CLK_AUDIOMIX_PDM_ROOT clock
 - Fix error handling in i.MX8MQ clock driver
 - Allow a different LCDIF1 clock parent if DT describes it for i.MX6SX
 - Keep the SCU resource table sorted in the i.MX8DXL rsrc driver
 - Move the elcdif PLL clock registration above lcd_clk, as it is its parent
 - Correct some ENET specific clocks for i.MX8DXL platform
 - Drop the VPU_UART and VPUCORE from i.MX8QM as latest HW revision doesn't have them
 - Remove "de-featured" MLB support from i.MX8QM/QXP/DXL platforms
 - Skip registering clocks owned by Cortex-A partition SCU-based platforms
 - Add CAN_1/2 to i.MX8QM and M4_0, PI_0_PWM_0 and PI_0_I2C_0 to i.MX8QXP resources
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEdRlgxHYCb3ovKt456LNSLBEEo7YFAmUynJoACgkQ6LNSLBEE
 o7bhXw//VsQOmXFUgPirIyExO3+fyLePj3g7Re6dZov7Z1os2j21yjM4YDs+WWA+
 gpKRN9o2VKZDqfLaJvKv2z72sCnsfVwjBInsedZZISOL2908zoefGy3jEdac+SUe
 M2jf0CNZrQ4OZkoIWOylUPCmkoKHVC6vIA8OFcxmgcV9ZkFnxaDHiaMDvJS8IZnf
 CU1MFGBtbaWsBHN/pHiKbtDwG51zan7QvQITNfQAaNvQGQP/w3RSM1TcxKUqyGiA
 yCjqV0ocfFZBUMinSjIBDO5w//eaPm5dKmU3tYDxDM8PEpENLQifF7fYzHHLlyNc
 Ki+lbkSYDCLNmue5gfzPPSDAjhZaEO67X9IHXncR95FLkLip0+2aGv6XOSiW/VrI
 +hpWKxru8EiGE/LAoiSeaqWHuHQ9BZbnXm2r1YgU9JX+9cz3qGKJyxSB3XZN7pZr
 YRHLfc1fI0Edc2iRZYN7SxBUHgbe894VJqY2xaUeSF6olke3jI/LFF4gZ8b1d+hB
 YE3CK2jRwrOxn/vkaTrTLAgNulnCL/r3C5CRmtYxWacVRNjWVs988T1xL2NoluUk
 5fLyKMHlGdneKEcf6iZPwD3M3i59ewH82zfKCtWci2ZdnoNqcHpug5luqpE12e+u
 a6NOMuSb8N79q9hN+OyqKNi8QNWYgvUslpxSNcWoJhMm3TWFTlk=
 =ZOF4
 -----END PGP SIGNATURE-----

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

Pull i.MX clk driver updates from Abel Vesa:

 - Select MXC_CLK when building in the CLK_IMX8QXP
 - Fixes for error handling paths in i.MX8 ACM driver
 - Move the clocks check in i.MX8 ACM driver in order to log any error
 - Drop the unused return value of clk_imx_acm_detach_pm_domains
 - Drop non-existant IMX8MP_CLK_AUDIOMIX_PDM_ROOT clock
 - Fix error handling in i.MX8MQ clock driver
 - Allow a different LCDIF1 clock parent if DT describes it for i.MX6SX
 - Keep the SCU resource table sorted in the i.MX8DXL rsrc driver
 - Move the elcdif PLL clock registration above lcd_clk, as it is its parent
 - Correct some ENET specific clocks for i.MX8DXL platform
 - Drop the VPU_UART and VPUCORE from i.MX8QM as latest HW revision doesn't have them
 - Remove "de-featured" MLB support from i.MX8QM/QXP/DXL platforms
 - Skip registering clocks owned by Cortex-A partition SCU-based platforms
 - Add CAN_1/2 to i.MX8QM and M4_0, PI_0_PWM_0 and PI_0_I2C_0 to i.MX8QXP resources

* tag 'clk-imx-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux:
  clk: imx: imx8qm/qxp: add more resources to whitelist
  clk: imx: scu: ignore clks not owned by Cortex-A partition
  clk: imx8: remove MLB support
  clk: imx: imx8qm-rsrc: drop VPU_UART/VPUCORE
  clk: imx: imx8qxp: correct the enet clocks for i.MX8DXL
  clk: imx: imx8qxp: Fix elcdif_pll clock
  clk: imx: imx8dxl-rsrc: keep sorted in the ascending order
  clk: imx: imx6sx: Allow a different LCDIF1 clock parent
  clk: imx: imx8mq: correct error handling path
  clk: imx8mp: Remove non-existent IMX8MP_CLK_AUDIOMIX_PDM_ROOT
  clk: imx: imx8: Simplify clk_imx_acm_detach_pm_domains()
  clk: imx: imx8: Add a message in case of devm_clk_hw_register_mux_parent_data_table() error
  clk: imx: imx8: Fix an error handling path in imx8_acm_clk_probe()
  clk: imx: imx8: Fix an error handling path if devm_clk_hw_register_mux_parent_data_table() fails
  clk: imx: imx8: Fix an error handling path in clk_imx_acm_attach_pm_domains()
  clk: imx: Select MXC_CLK for CLK_IMX8QXP
This commit is contained in:
Stephen Boyd 2023-10-23 15:09:18 -07:00
commit 701d105765
11 changed files with 76 additions and 36 deletions