i.MX clocks changes for 6.3

- Free the imx_uart_clocks even if imx_register_uart_clocks returns early.
 - Get the stdout clocks count from device tree.
 - Drop the clock count argument from imx_register_uart_clocks.
 - Keep the uart clocks on i.MX93 for when earlycon is used.
 - Fix SPDX comment in i.MX6SLL clocks bindings header.
 - Drop some unnecessary spaces from i.MX8ULP clocks bindings header.
 - Add a new clk-gpr-mux clock type and use it on i.MX6Q to add ENET ref
   clocks.
 - Add the imx_obtain_fixed_of_clock for allowing to add a clock that is
   not configured via devicetree.
 - Fix the ENET1 gate configuration for i.MX6UL according to the
   reference manual.
 - Add ENET refclock mux support for i.MX6UL.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEdRlgxHYCb3ovKt456LNSLBEEo7YFAmPc3zgACgkQ6LNSLBEE
 o7bKpg/8DZ6icvnAcV9PnjXnUIXfDxoXaBykblnqi6mK3NrU1FTI7UhYNYcv2xYx
 qG9jOJSk81/KIIXhql4seSYuP69bMLhNPcJQE5J5SnWMJfNDDlpcIKdLcHoaUNuT
 UjG6KRKiyIxoGZjrMVx8WSus0H6BiAt+mWGVjZ6KKAhEVs+wqjckJKQXPpgLZSS3
 F1eISymvbUJlDjJTEJW/0Sl2V1YdyEC2YsWDv4J4S6Ip777AxmKzHTMWTJXwBqwq
 +6WxQlbkfpBz9ZUU1pLJF2P+Z+N/FmstELSSrudHUg2H0aI2JGEwcyObq/UtOBA4
 JZZVdHtXO2ECw5oBnvxcSU/GJZ8t54QBnU36hRFig8B8AjU5AzXKf9ypV7Eo5dPO
 5RNSN5PHCdDssUqVxpHgm1BqwWtXSrtkLddRut+oc65Pi1yvODSNqk9jTUsYABM/
 fCX1pColo69uZ5UXsNV76OLxtPAOt+jDNqKCE8fdsPHAZzGqyKlmyb6u3B5xYQOf
 sO1RoABmu0SGbduPmVTQWEUhISpoLMryWB9xvBGmfiZtOMVhrLicU6SYC5q3HDKa
 uJh36P9j7/+ryWJTqwJKKaQioiGqY5NlgT9iD0HGeXh60U5rD6+BzKZqrqpMfDci
 zJh9RQWdbZuwlXfLLxTzCPbHGtwRtGRCVTl9JB4MVqiQS07bv78=
 =hRLd
 -----END PGP SIGNATURE-----

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

Pull i.MX clk driver updates from Abel Vesa:

 - Free the imx_uart_clocks even if imx_register_uart_clocks returns early
 - Get the stdout clocks count from device tree
 - Drop the clock count argument from imx_register_uart_clocks.
 - Keep the uart clocks on i.MX93 for when earlycon is used
 - Fix SPDX comment in i.MX6SLL clocks bindings header
 - Drop some unnecessary spaces from i.MX8ULP clocks bindings header
 - Add a new clk-gpr-mux clock type and use it on i.MX6Q to add ENET ref
   clocks
 - Add the imx_obtain_fixed_of_clock for allowing to add a clock that is
   not configured via devicetree
 - Fix the ENET1 gate configuration for i.MX6UL according to the
   reference manual
 - Add ENET refclock mux support for i.MX6UL

* tag 'clk-imx-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux:
  clk: imx6ul: add ethernet refclock mux support
  clk: imx6ul: fix enet1 gate configuration
  clk: imx: add imx_obtain_fixed_of_clock()
  clk: imx6q: add ethernet refclock mux support
  clk: imx: add clk-gpr-mux driver
  dt-bindings: imx8ulp: clock: no spaces before tabs
  clk: imx6sll: add proper spdx license identifier
  clk: imx: imx93: invoke imx_register_uart_clocks
  clk: imx: remove clk_count of imx_register_uart_clocks
  clk: imx: get stdout clk count from device tree
  clk: imx: avoid memory leak
This commit is contained in:
Stephen Boyd 2023-02-10 11:26:09 -08:00
commit dede211f23
26 changed files with 235 additions and 35 deletions