• Linus Torvalds's avatar
    Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · dc2535be
    Linus Torvalds authored
    Pull clk subsystem updates from Stephen Boyd:
     "We have a fairly balanced mix of clk driver updates and clk framework
      updates this time around. It's the usual pile of new drivers for new
      hardware out there and the normal small fixes and updates, but then we
      have some core framework changes too.
    
      In the core framework, we introduce support for a clk_get_optional()
      API to get clks that may not always be populated and a way to devm
      manage clkdev lookups registered by provider drivers. We also do some
      refactoring to simplify the interface between clkdev and the common
      clk framework so we can reuse the DT parsing and clk_get() path in
      provider drivers in the future. This work will continue in the next
      few cycles while we convert how providers specify clk parents.
    
      On the driver side, the biggest part of the dirstat is the Amlogic clk
      driver that got support for the G12A SoC. It dominates with almost
      half the overall diff, while the second largest part of the diff is in
      the i.MX clk driver that gained support for imx8mm SoCs. After that,
      we have the Actions Semiconductor and Qualcomm drivers rounding out
      the big part of the dirstat because they both got new hardware support
      for SoCs. The rest is just various updates and non-critical fixes for
      existing drivers.
    
      Core:
       - Convert a few clk bindings to JSON schema format
       - Add a {devm_}clk_get_optional() API
       - Add devm_clk_hw_register_clkdev() API to manage clkdev lookups
       - Start rewriting clk parent registration and supporting device links
         by moving around code that supports clk_get() and DT parsing of the
         'clocks' property
    
      New Drivers:
       - Add Qualcomm MSM8998 RPM managed clks
       - IPA clk support on Qualcomm RPMh clk controllers
       - Actions Semi S500 SoC clk support
       - Support for fixed rate clks populated from an MMIO register
       - Add RPC (QSPI/HyperFLASH) clocks on Renesas R-Car V3H
       - Add TMU (timer) clocks on Renesas RZ/G2E
       - Add Amlogic G12A Always-On Clock Controller
       - Add 32k clock generation for Amlogic AXG
       - Add support for the Mali GPU clocks on Amlogic Meson8
       - Add Amlogic G12A EE clock controller driver
       - Add missing CANFD clocks on Renesas RZ/G2M and RZ/G2E
       - Add i.MX8MM SoC clk driver support
    
      Removed Drivers:
       - Remove clps711x driver as the board support is gone
    
      Updates:
       - 3rd ECO fix for Mediatek MT2712 SoCs
       - Updates for Qualcomm MSM8998 GCC clks
       - Random static analysis fixes for clk drivers
       - Support for sleeping gpios in the clk-gpio type
       - Minor fixes for STM32MP1 clk driver (parents, critical flag, etc.)
       - Split LCDC into two clks on the Marvell MMP2 SoC
       - Various DT of_node refcount fixes
       - Get rid of CLK_IS_BASIC from TI code (yay!)
       - TI Autoidle clk support
       - Fix Amlogic Meson8 APB clock ID name
       - Claim input clocks through DT for Amlogic AXG and GXBB
       - Correct the DU (display unit) parent clock on Renesas RZ/G2E
       - Exynos5433 IMEM CMU crypto clk support (SlimSS)
       - Fix for the PLL-MIPI on the Allwinner A23
       - Fix Rockchip rk3328 PLL rate calculation
       - Add SET_RATE_PARENT flag on display clk of Rockhip rk3066
       - i.MX SCU clk driver clk_set_parent() and cpufreq support"
    
    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (150 commits)
      dt-bindings: clock: imx8mq: Fix numbering overlaps and gaps
      clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
      clk: fixup default index for of_clk_get_by_name()
      clk: Move of_clk_*() APIs into clk.c from clkdev.c
      clk: Inform the core about consumer devices
      clk: Introduce of_clk_get_hw_from_clkspec()
      clk: core: clarify the check for runtime PM
      clk: Combine __clk_get() and __clk_create_clk()
      clk: imx8mq: add GPIO clocks to clock tree
      clk: mediatek: correct cpu clock name for MT8173 SoC
      clk: imx: Refactor entire sccg pll clk
      clk: imx: scu: add cpu frequency scaling support
      clk: mediatek: Mark bus and DRAM related clocks as critical
      clk: mediatek: Add flags to mtk_gate
      clk: mediatek: Add MUX_FLAGS macro
      clk: qcom: gcc-sdm845: Define parent of PCIe PIPE clocks
      clk: ingenic: Remove set but not used variable 'enable'
      clk: at91: programmable: remove unneeded register read
      clk: mediatek: using CLK_MUX_ROUND_CLOSEST for the clock of dpi1_sel
      clk: mediatek: add MUX_GATE_FLAGS_2
      ...
    dc2535be
clk-dfll.c 53.4 KB