1. 02 Nov, 2021 4 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-composite-determine-fix', 'clk-allwinner', 'clk-amlogic'... · e2ceaa86
      Stephen Boyd authored
      Merge branches 'clk-composite-determine-fix', 'clk-allwinner', 'clk-amlogic' and 'clk-samsung' into clk-next
      
      * clk-composite-determine-fix:
        clk: composite: Use rate_ops.determine_rate when also a mux is available
        clk: composite: Also consider .determine_rate for rate + mux composites
      
      * clk-allwinner:
        clk: sunxi: sun8i-apb0: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-ar100: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-apb0-gates: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-apb0: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80-usb: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80-de: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-r40: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-de2: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-a83t: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun50i-h6: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun50i-a64: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: clk-mod0: Make use of the helper function devm_platform_ioremap_resource()
        dt-bindings: clocks: Fix typo in the H6 compatible
        clk: sunxi-ng: Use a separate lock for each CCU instance
        clk: sunxi-ng: Prevent unbinding CCUs via sysfs
        clk: sunxi-ng: Unregister clocks/resets when unbinding
        clk: sunxi-ng: Add machine dependency to A83T CCU
        clk: sunxi-ng: mux: Remove unused 'reg' field
      
      * clk-amlogic:
        clk: meson: meson8b: Make the video clock trees mutable
        clk: meson: meson8b: Initialize the HDMI PLL registers
        clk: meson: meson8b: Add the HDMI PLL M/N parameters
        clk: meson: meson8b: Add the vid_pll_lvds_en gate clock
        clk: meson: meson8b: Use CLK_SET_RATE_NO_REPARENT for vclk{,2}_in_sel
        clk: meson: meson8b: Export the video clocks
      
      * clk-samsung:
        clk: samsung: describe drivers in Kconfig
        clk: samsung: exynos5433: update apollo and atlas clock probing
        clk: samsung: add support for CPU clocks
        clk: samsung: Introduce Exynos850 clock driver
        dt-bindings: clock: Document Exynos850 CMU bindings
        dt-bindings: clock: Add bindings definitions for Exynos850 CMU
        clk: samsung: clk-pll: Implement pll0831x PLL type
        clk: samsung: clk-pll: Implement pll0822x PLL type
        clk: samsung: s5pv210-audss: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos5433: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos4412-isp: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos-audss: Make use of devm_platform_ioremap_resource()
      e2ceaa86
    • Stephen Boyd's avatar
      Merge branches 'clk-imx', 'clk-ux500' and 'clk-debugfs' into clk-next · 8d741ecd
      Stephen Boyd authored
      * clk-imx: (21 commits)
        clk: imx: Make CLK_IMX8ULP select MXC_CLK
        clk: imx: imx6ul: Fix csi clk gate register
        clk: imx: imx6ul: Move csi_sel mux to correct base register
        clk: imx: Fix the build break when clk-imx8ulp build as module
        clk: imx: Add the pcc reset controller support on imx8ulp
        clk: imx: Add clock driver for imx8ulp
        clk: imx: Update the pfdv2 for 8ulp specific support
        clk: imx: disable the pfd when set pfdv2 clock rate
        clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulp
        clk: imx: disable i.mx7ulp composite clock during initialization
        clk: imx: Update the compsite driver to support imx8ulp
        clk: imx: Update the pllv4 to support imx8ulp
        dt-bindings: clock: Add imx8ulp clock support
        clk: imx: Rework imx_clk_hw_pll14xx wrapper
        clk: imx: Rework all imx_clk_hw_composite wrappers
        clk: imx: Rework all clk_hw_register_divider wrappers
        clk: imx: Rework all clk_hw_register_mux wrappers
        clk: imx: Rework all clk_hw_register_gate2 wrappers
        clk: imx: Rework all clk_hw_register_gate wrappers
        clk: imx: Make mux/mux2 clk based helpers use clk_hw based ones
        ...
      
      * clk-ux500:
        clk: ux500: Add driver for the reset portions of PRCC
        dt-bindings: clock: u8500: Rewrite in YAML and extend
      
      * clk-debugfs:
        clk: use clk_core_get_rate_recalc() in clk_rate_get()
      8d741ecd
    • Stephen Boyd's avatar
      Merge branches 'clk-leak', 'clk-rockchip', 'clk-renesas' and 'clk-at91' into clk-next · b43e2d55
      Stephen Boyd authored
       - Clock power management for new SAMA7G5 SoC
       - Updates to the master clock driver and sam9x60-pll to be able to use
         cpufreq-dt driver and avoid overclocking of CPU and MCK0 domains while
         changing the frequency via DVFS
       - Power management refinement with the use of save_context()/restore_context()
         on each clock driver to specify their use in case of Backup mode only
      
      * clk-leak:
        clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
      
      * clk-rockchip:
        clk: rockchip: use module_platform_driver_probe
        clk: rockchip: rk3399: expose PCLK_COREDBG_{B,L}
        clk: rockchip: rk3399: make CPU clocks critical
      
      * clk-renesas:
        clk: renesas: r8a779[56]x: Add MLP clocks
        clk: renesas: r9a07g044: Add SDHI clock and reset entries
        clk: renesas: rzg2l: Add SDHI clk mux support
        clk: renesas: r8a779a0: Add RPC support
        clk: renesas: cpg-lib: Move RPC clock registration to the library
        clk: renesas: r9a07g044: Add clock and reset entries for SPI Multi I/O Bus Controller
        clk: renesas: r8a779a0: Add Z0 and Z1 clock support
        clk: renesas: r9a07g044: Add GbEthernet clock/reset
        clk: renesas: rzg2l: Add support to handle coupled clocks
        clk: renesas: r9a07g044: Add ethernet clock sources
        clk: renesas: rzg2l: Add support to handle MUX clocks
        clk: renesas: r8a779a0: Add TPU clock
        clk: renesas: rzg2l: Fix clk status function
        clk: renesas: r9a07g044: Mark IA55_CLK and DMAC_ACLK critical
      
      * clk-at91:
        clk: at91: sama7g5: set low limit for mck0 at 32KHz
        clk: at91: sama7g5: remove prescaler part of master clock
        clk: at91: clk-master: add notifier for divider
        clk: at91: clk-sam9x60-pll: add notifier for div part of PLL
        clk: at91: clk-master: fix prescaler logic
        clk: at91: clk-master: mask mckr against layout->mask
        clk: at91: clk-master: check if div or pres is zero
        clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
        clk: at91: pmc: add sama7g5 to the list of available pmcs
        clk: at91: clk-master: improve readability by using local variables
        clk: at91: clk-master: add register definition for sama7g5's master clock
        clk: at91: sama7g5: add securam's peripheral clock
        clk: at91: pmc: execute suspend/resume only for backup mode
        clk: at91: re-factor clocks suspend/resume
        clk: at91: check pmc node status before registering syscore ops
      b43e2d55
    • Stephen Boyd's avatar
      Merge branches 'clk-qcom', 'clk-mtk', 'clk-versatile' and 'clk-doc' into clk-next · a379e16a
      Stephen Boyd authored
       - Use ARRAY_SIZE in qcom clk drivers
       - Remove some impractical fallback parent names in qcom clk drivers
       - GCC and RPMcc support for Qualcomm QCM2290 SoCs
       - GCC support for Qualcomm MSM8994/MSM8992 SoCs
       - LPASSCC and CAMCC support for Qualcomm SC7280 SoCs
       - Support for Mediatek MT8195 SoCs
       - Make Mediatek clk drivers tristate
      
      * clk-qcom: (44 commits)
        clk: qcom: gdsc: enable optional power domain support
        clk: qcom: videocc-sm8250: use runtime PM for the clock controller
        clk: qcom: dispcc-sm8250: use runtime PM for the clock controller
        dt-bindings: clock: qcom,videocc: add mmcx power domain
        dt-bindings: clock: qcom,dispcc-sm8x50: add mmcx power domain
        clk: qcom: gcc-sc7280: Drop unused array
        clk: qcom: camcc: Add camera clock controller driver for SC7280
        dt-bindings: clock: Add YAML schemas for CAMCC clocks on SC7280
        clk: qcom: Add lpass clock controller driver for SC7280
        dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7280
        clk: qcom: Kconfig: Sort the symbol for SC_LPASS_CORECC_7180
        clk: qcom: mmcc-sdm660: Add hw_ctrl flag to venus_core0_gdsc
        clk: qcom: mmcc-sdm660: Add necessary CXCs to venus_gdsc
        clk: qcom: gcc-msm8994: Use ARRAY_SIZE() for num_parents
        clk: qcom: gcc-msm8994: Add proper msm8992 support
        clk: qcom: gcc-msm8994: Add modem reset
        clk: qcom: gcc-msm8994: Remove the inexistent GDSC_PCIE
        clk: qcom: gcc-msm8994: Add missing clocks
        clk: qcom: gcc-msm8994: Add missing NoC clocks
        clk: qcom: gcc-msm8994: Fix up SPI QUP clocks
        ...
      
      * clk-mtk: (28 commits)
        clk: mediatek: Export clk_ops structures to modules
        clk: mediatek: support COMMON_CLK_MT6779 module build
        clk: mediatek: support COMMON_CLK_MEDIATEK module build
        clk: composite: export clk_register_composite
        clk: mediatek: Add MT8195 apusys clock support
        clk: mediatek: Add MT8195 imp i2c wrapper clock support
        clk: mediatek: Add MT8195 wpesys clock support
        clk: mediatek: Add MT8195 vppsys1 clock support
        clk: mediatek: Add MT8195 vppsys0 clock support
        clk: mediatek: Add MT8195 vencsys clock support
        clk: mediatek: Add MT8195 vdosys1 clock support
        clk: mediatek: Add MT8195 vdosys0 clock support
        clk: mediatek: Add MT8195 vdecsys clock support
        clk: mediatek: Add MT8195 scp adsp clock support
        clk: mediatek: Add MT8195 mfgcfg clock support
        clk: mediatek: Add MT8195 ipesys clock support
        clk: mediatek: Add MT8195 imgsys clock support
        clk: mediatek: Add MT8195 ccusys clock support
        clk: mediatek: Add MT8195 camsys clock support
        clk: mediatek: Add MT8195 infrastructure clock support
        ...
      
      * clk-versatile:
        clk: versatile: hide clock drivers from non-ARM users
        clk: versatile: Rename ICST to CLK_ICST
        clk: versatile: clk-icst: Support 'reg' in addition to 'vco-offset' for register address
        dt-bindings: clock: arm,syscon-icst: Use 'reg' instead of 'vco-offset' for VCO register address
      
      * clk-doc:
        dt-bindings: clk: fixed-mmio-clock: Convert to YAML
      a379e16a
  2. 27 Oct, 2021 17 commits
  3. 26 Oct, 2021 3 commits
    • Stephen Boyd's avatar
      Merge tag 'clk-v5.16-samsung' of... · 4e44a0ba
      Stephen Boyd authored
      Merge tag 'clk-v5.16-samsung' of https://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk into clk-samsung
      
      Pull Samsung clk driver updates from Sylwester Nawrocki:
      
       - Initial clock driver for the Exynos850 SoC
       - Refactoring of the CPU clock code and conversion of Exynos5433
         CPU clock driver to the platform driver
       - A few conversions to devm_platform_ioremap_resource()
       - Updates of the Samsung Kconfig help text
      
      * tag 'clk-v5.16-samsung' of https://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk:
        clk: samsung: describe drivers in Kconfig
        clk: samsung: exynos5433: update apollo and atlas clock probing
        clk: samsung: add support for CPU clocks
        clk: samsung: Introduce Exynos850 clock driver
        dt-bindings: clock: Document Exynos850 CMU bindings
        dt-bindings: clock: Add bindings definitions for Exynos850 CMU
        clk: samsung: clk-pll: Implement pll0831x PLL type
        clk: samsung: clk-pll: Implement pll0822x PLL type
        clk: samsung: s5pv210-audss: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos5433: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos4412-isp: Make use of devm_platform_ioremap_resource()
        clk: samsung: exynos-audss: Make use of devm_platform_ioremap_resource()
      4e44a0ba
    • Stephen Boyd's avatar
      Merge tag 'clk-meson-v5.16-1' of https://github.com/BayLibre/clk-meson into clk-amlogic · 151a994f
      Stephen Boyd authored
      Pull Amlogic clock driver updates from Jerome Brunet:
      
       - Update video path realted clocks for meson8
      
      * tag 'clk-meson-v5.16-1' of https://github.com/BayLibre/clk-meson:
        clk: meson: meson8b: Make the video clock trees mutable
        clk: meson: meson8b: Initialize the HDMI PLL registers
        clk: meson: meson8b: Add the HDMI PLL M/N parameters
        clk: meson: meson8b: Add the vid_pll_lvds_en gate clock
        clk: meson: meson8b: Use CLK_SET_RATE_NO_REPARENT for vclk{,2}_in_sel
        clk: meson: meson8b: Export the video clocks
      151a994f
    • Stephen Boyd's avatar
      Merge tag 'sunxi-clk-for-5.16-1' of... · a69cd911
      Stephen Boyd authored
      Merge tag 'sunxi-clk-for-5.16-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into clk-allwinner
      
      Pull Allwinner clk driver updates from Maxime Ripard:
      
      Our usual PR for the Allwinner SoCs, this time improving the module
      support and converting to more helpers.
      
      * tag 'sunxi-clk-for-5.16-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        clk: sunxi: sun8i-apb0: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-ar100: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-apb0-gates: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: sun6i-apb0: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80-usb: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80-de: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun9i-a80: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-r40: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-de2: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun8i-a83t: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun50i-h6: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi-ng: ccu-sun50i-a64: Make use of the helper function devm_platform_ioremap_resource()
        clk: sunxi: clk-mod0: Make use of the helper function devm_platform_ioremap_resource()
        dt-bindings: clocks: Fix typo in the H6 compatible
        clk: sunxi-ng: Use a separate lock for each CCU instance
        clk: sunxi-ng: Prevent unbinding CCUs via sysfs
        clk: sunxi-ng: Unregister clocks/resets when unbinding
        clk: sunxi-ng: Add machine dependency to A83T CCU
        clk: sunxi-ng: mux: Remove unused 'reg' field
      a69cd911
  4. 18 Oct, 2021 3 commits
  5. 15 Oct, 2021 13 commits