[GIT PULL] clk: imx: Updates for v6.3

From: Abel Vesa
Date: Fri Feb 03 2023 - 05:26:14 EST


The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git/ tags/clk-imx-6.3

for you to fetch changes up to 4e197ee880c24ecb63f7fe17449b3653bc64b03c:

clk: imx6ul: add ethernet refclock mux support (2023-01-31 14:45:17 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Marcel Ziswiler (2):
clk: imx6sll: add proper spdx license identifier
dt-bindings: imx8ulp: clock: no spaces before tabs

Oleksij Rempel (5):
clk: imx: add clk-gpr-mux driver
clk: imx6q: add ethernet refclock mux support
clk: imx: add imx_obtain_fixed_of_clock()
clk: imx6ul: fix enet1 gate configuration
clk: imx6ul: add ethernet refclock mux support

Peng Fan (4):
clk: imx: avoid memory leak
clk: imx: get stdout clk count from device tree
clk: imx: remove clk_count of imx_register_uart_clocks
clk: imx: imx93: invoke imx_register_uart_clocks

drivers/clk/imx/Makefile | 1 +
drivers/clk/imx/clk-gpr-mux.c | 119 ++++++++++++++++++++++++++++
drivers/clk/imx/clk-imx25.c | 2 +-
drivers/clk/imx/clk-imx27.c | 2 +-
drivers/clk/imx/clk-imx35.c | 2 +-
drivers/clk/imx/clk-imx5.c | 6 +-
drivers/clk/imx/clk-imx6q.c | 15 +++-
drivers/clk/imx/clk-imx6sl.c | 2 +-
drivers/clk/imx/clk-imx6sll.c | 2 +-
drivers/clk/imx/clk-imx6sx.c | 2 +-
drivers/clk/imx/clk-imx6ul.c | 33 +++++++-
drivers/clk/imx/clk-imx7d.c | 2 +-
drivers/clk/imx/clk-imx7ulp.c | 4 +-
drivers/clk/imx/clk-imx8mm.c | 2 +-
drivers/clk/imx/clk-imx8mn.c | 2 +-
drivers/clk/imx/clk-imx8mp.c | 2 +-
drivers/clk/imx/clk-imx8mq.c | 2 +-
drivers/clk/imx/clk-imx8ulp.c | 2 +-
drivers/clk/imx/clk-imx93.c | 2 +
drivers/clk/imx/clk.c | 31 ++++++--
drivers/clk/imx/clk.h | 12 ++-
include/dt-bindings/clock/imx6qdl-clock.h | 4 +-
include/dt-bindings/clock/imx6sll-clock.h | 2 +-
include/dt-bindings/clock/imx6ul-clock.h | 7 +-
include/dt-bindings/clock/imx8ulp-clock.h | 4 +-
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 6 +-
26 files changed, 235 insertions(+), 35 deletions(-)
create mode 100644 drivers/clk/imx/clk-gpr-mux.c