Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linuxPull clk updates from Stephen Boyd: "Not much changed in the clk framework this time except the clk.h consumer
Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linuxPull clk updates from Stephen Boyd: "Not much changed in the clk framework this time except the clk.h consumer API moved the context saving APIs around to fix a build error in certain configurations. There was a change to the core framework for CLK_OPS_PARENT_ENABLE behavior during registration, but it wrecked existing drivers that didn't expect things to be turned off during clk registration so it got reverted. This cycle is really a large collection of new clk drivers, primarily for Qualcomm SoCs but also for Amlogic, SpacemiT, Google, and Aspeed. Another big change in here is support for automatic hardware clock gating on Samsung SoCs where the clks turn on and off when needed. Ideally more vendors move to this method for better power savings. The highlights are in the updates section below. Beyond all the new drivers we have a bunch of cleanups like converting drivers from divider_round_rate() to divider_determine_rate() and using scoped for each OF child loops. Otherwise it's the usual data fixes and plugging reference leaks, etc. that's all pretty ordinary but not critical enough to fix until the next release. New Drivers: - Qualcomm Kaanapali global, tcsr, rpmh, display, gpu, camera, and video clk controllers - Qualcomm SM8750 camera clk controllers - Qualcomm MSM8940 and SDM439 global clk controllers - Google GS101 Display Process Unit (DPU) clk controllers - SpacemiT K3 clk controllers - Amlogic t7 clk controllers - Aspeed AST2700 clk controllers Updates: - Convert clock dividers from round_rate() to determine_rate() - Fix sparse warnings, kernel-doc warnings, and plug leaked OF refs - Automatic hardware clk gating on Google GS101 SoCs - Amlogic s4 video clks - CAN-FD clks and resets on Renesas RZ/T2H, RZ/N2H, RZ/V2H, and RZ/V2N - Expanded Serial Peripheral Interface (xSPI) clocks and resets on Renesas RZ/T21H and RZ/N2H - DMAC, interrupt controller (ICU), SPI, and thermal (TSU) clocks and resets on Renesas RZ/V2N - More serial (RSCI) clocks and resets on Renesas RZ/V2H and RZ/V2N - CPU frequency scaling on T-HEAD TH1520"* tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (165 commits) clk: aspeed: Add reset for HACE/VIDEO dt-bindings: clock: aspeed: Add VIDEO reset definition clk: aspeed: add AST2700 clock driver MAINTAINERS: Add entry for ASPEED clock drivers. clk: aspeed: Move the existing ASPEED clk drivers into aspeed subdirectory. Revert "clk: Respect CLK_OPS_PARENT_ENABLE during recalc" clk: Disable KUNIT_UML_PCI dt-bindings: clk: rs9: Fix DIF pattern match clk: rs9: Convert to DEFINE_SIMPLE_DEV_PM_OPS() clk: rs9: Reserve 8 struct clk_hw slots for for 9FGV0841 clk: qcom: sm8750: Constify 'qcom_cc_desc' in SM8750 camcc clk: zynqmp: pll: Fix zynqmp_clk_divider_determine_rate kerneldoc clk: zynqmp: divider: Fix zynqmp_clk_divider_determine_rate kerneldoc clk: mediatek: Fix error handling in runtime PM setup clk: mediatek: don't select clk-mt8192 for all ARM64 builds clk: mediatek: Add mfg_eb as parent to mt8196 mfgpll clocks clk: mediatek: Refactor pllfh registration to pass device clk: mediatek: Pass device to clk_hw_register for PLLs clk: mediatek: Refactor pll registration to pass device clk: Respect CLK_OPS_PARENT_ENABLE during recalc ...
show more ...
dt-bindings: soc: spacemit: Add K3 reset support and IDsUpdate the spacemit,k1-syscon.yaml binding to document K3 SoC resetsupport.K3 reset devices are registered at runtime as auxiliary devices
dt-bindings: soc: spacemit: Add K3 reset support and IDsUpdate the spacemit,k1-syscon.yaml binding to document K3 SoC resetsupport.K3 reset devices are registered at runtime as auxiliary devices by theK3 CCU driver. Since K3 reuses the K1 syscon binding, there is no separateYAML binding file for K3 resets.Update #reset-cells description to document where reset IDs are defined.Acked-by: Alex Elder <elder@riscstar.com>Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>Signed-off-by: Guodong Xu <guodong@riscstar.com>Reviewed-by: Yixun Lan <dlan@kernel.org>Link: https://lore.kernel.org/spacemit/20260114092742-GYC7933267@gentoo.org/ [1]Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
dt-bindings: soc: spacemit: k3: add clock supportAdd compatible strings for clock drivers to support Spacemit K3 SoC,also includes all the defined clock IDs.The SpacemiT K3 SoC clock IP is scatt
dt-bindings: soc: spacemit: k3: add clock supportAdd compatible strings for clock drivers to support Spacemit K3 SoC,also includes all the defined clock IDs.The SpacemiT K3 SoC clock IP is scattered over several different blocks,which are APBC, APBS, APMU, DCIU, MPMU, all of them are capable ofgenerating clock and reset signals. APMU and MPMU have additional PowerDomain management functionality.Following is a brief list that shows devices managed in each block:APBC: UART, GPIO, PWM, SPI, TIMER, I2S, IR, DR, TSEN, IPC, CANAPBS: various PPL clocks controlAPMU: CCI, CPU, CSI, ISP, LCD, USB, QSPI, DMA, VPU, GPU, DSI, PCIe, EMAC..DCID: SRAM, DMA, TCMMPMU: various PLL1 derived clocks, UART, WATCHDOG, I2SLink: https://lore.kernel.org/r/20260108-k3-clk-v5-1-42a11b74ad58@gentoo.orgReviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>Signed-off-by: Yixun Lan <dlan@gentoo.org>
dt-bindings: soc: spacemit: define spacemit,k1-ccu resetsThere are additional SpacemiT syscon CCUs whose registers control bothclocks and resets: RCPU, RCPU2, and APBC2. Unlike those definedprev
dt-bindings: soc: spacemit: define spacemit,k1-ccu resetsThere are additional SpacemiT syscon CCUs whose registers control bothclocks and resets: RCPU, RCPU2, and APBC2. Unlike those definedpreviously, these will (initially) support only resets. They do notincorporate power domain functionality.Previously the clock properties were required for all compatible nodes.Make that requirement only apply to the three existing CCUs (APBC, APMU,and MPMU), so that the new reset-only CCUs can go without specifying them.Define the index values for resets associated with all SpacemiT K1syscon nodes, including those with clocks already defined, as well asthe new ones (without clocks).Signed-off-by: Alex Elder <elder@riscstar.com>Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Reviewed-by: Yixun Lan <dlan@gentoo.org>Link: https://lore.kernel.org/r/20250702113709.291748-2-elder@riscstar.comSigned-off-by: Yixun Lan <dlan@gentoo.org>
dt-bindings: soc: spacemit: Add spacemit,k1-sysconDocument APMU, MPMU and APBC syscons found on SpacemiT K1 SoC, which arecapable of generating clock and reset signals. Additionally, APMU and MPMU
dt-bindings: soc: spacemit: Add spacemit,k1-sysconDocument APMU, MPMU and APBC syscons found on SpacemiT K1 SoC, which arecapable of generating clock and reset signals. Additionally, APMU and MPMUmanage power domains.Signed-off-by: Haylen Chu <heylenay@4d2.org>Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>Reviewed-by: Alex Elder <elder@riscstar.com>Reviewed-by: Yixun Lan <dlan@gentoo.org>Link: https://lore.kernel.org/r/20250416135406.16284-2-heylenay@4d2.orgSigned-off-by: Yixun Lan <dlan@gentoo.org>