1. Oct 05, 2022
    • Stephen Boyd's avatar
      Merge branches 'clk-baikal', 'clk-broadcom', 'clk-vc5' and 'clk-versaclock' into clk-next · f9efefdb
      Stephen Boyd authored
       - Convert Baikal-T1 CCU driver to platform driver
       - Split reset support out of primary Baikal-T1 CCU driver
       - Add some missing clks required for RPiVid Video Decoder on RaspberryPi
       - Mark PLLC critical on bcm2835
       - Support for Renesas VersaClock7 clock generator family
      
      * clk-baikal:
        clk: baikal-t1: Convert to platform device driver
        clk: baikal-t1: Add DDR/PCIe directly controlled resets support
        dt-bindings: clk: baikal-t1: Add DDR/PCIe reset IDs
        clk: baikal-t1: Move reset-controls code into a dedicated module
        clk: baikal-t1: Add SATA internal ref clock buffer
        clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
        clk: baikal-t1: Fix invalid xGMAC PTP clock divider
        clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
      
      * clk-broadcom:
        clk: bcm: rpi: Add support for VEC clock
        clk: bcm: rpi: Handle pixel clock in firmware
        clk: bcm: rpi: Add support HEVC clock
        clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
        clk: bcm2835: Round UART input clock up
        clk: bcm2835: Make peripheral PLLC critical
      
      * clk-vc5:
        clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975
        dt-bindings: clock: vc5: Add 5P49V6975
        clk: vc5: Use regmap_{set,clear}_bits() where appropriate
        clk: vc5: Check IO access results
      
      * clk-versaclock:
        clk: Renesas versaclock7 ccf device driver
        dt-bindings: Renesas versaclock7 device tree bindings
      f9efefdb
    • Stephen Boyd's avatar
      Merge branches 'clk-fixed-rate', 'clk-spreadtrum', 'clk-pxa' and 'clk-ti' into clk-next · b7f257ce
      Stephen Boyd authored
       - More devm helpers for fixed rate registration
       - Add Spreadtrum UMS512 SoC clk support
       - Various PXA168 clk driver fixes
      
      * clk-fixed-rate:
        clk: fixed-rate: add devm_clk_hw_register_fixed_rate
        clk: asm9260: use parent index to link the reference clock
      
      * clk-spreadtrum:
        clk: sprd: Add clocks support for UMS512
      
      * clk-pxa:
        clk: pxa: add a check for the return value of kzalloc()
        clk: mmp: pxa168: control shared SDH bits with separate clock
        dt-bindings: marvell,pxa168: add clock ids for SDH AXI clocks
        clk: mmp: pxa168: add clocks for SDH2 and SDH3
        dt-bindings: marvell,pxa168: add clock id for SDH3
        clk: mmp: pxa168: fix GPIO clock enable bits
        clk: mmp: pxa168: add muxes for more peripherals
        clk: mmp: pxa168: fix incorrect parent clocks
        clk: mmp: pxa168: fix const-correctness
        clk: mmp: pxa168: add new clocks for peripherals
        dt-bindings: marvell,pxa168: add clock ids for additional dividers
        clk: mmp: pxa168: fix incorrect dividers
        clk: mmp: pxa168: add additional register defines
      
      * clk-ti:
        clk: davinci: cfgchip: Use dev_err_probe() helper
        clk: davinci: pll: fix spelling typo in comment
        MAINTAINERS: add header file to TI DAVINCI SERIES CLOCK DRIVER
      b7f257ce
    • Stephen Boyd's avatar
      Merge branches 'clk-rockchip', 'clk-renesas', 'clk-microchip', 'clk-allwinner'... · 26bebbfe
      Stephen Boyd authored
      Merge branches 'clk-rockchip', 'clk-renesas', 'clk-microchip', 'clk-allwinner' and 'clk-imx' into clk-next
      
      * clk-rockchip:
        dt-bindings: clock: rockchip: change SPDX-License-Identifier
        dt-bindings: clock: convert rockchip,rk3128-cru.txt to YAML
        clk: rockchip: Add clock controller support for RV1126 SoC
        dt-bindings: clock: rockchip: Document RV1126 CRU
        clk: rockchip: Add dt-binding header for RV1126
        clk: rockchip: Add MUXTBL variant
      
      * clk-renesas:
        clk: renesas: r8a779g0: Add EtherAVB clocks
        clk: renesas: r8a779g0: Add PFC/GPIO clocks
        clk: renesas: r8a779g0: Add I2C clocks
        clk: renesas: r8a779g0: Add watchdog clock
        dt-bindings: clock: renesas,rzg2l: Document RZ/Five SoC
        clk: renesas: r8a779f0: Add MSIOF clocks
        clk: renesas: r9a09g011: Add IIC clock and reset entries
        clk: renesas: r9a07g044: Add conditional compilation for r9a07g044_cpg_info
        clk: renesas: r8a779f0: Add TMU and parent SASYNC clocks
        clk: renesas: r8a779f0: Add CMT clocks
        clk: renesas: r8a779f0: Add SDH0 clock
      
      * clk-microchip:
        clk: at91: sama5d2: Add Generic Clocks for UART/USART
        clk: microchip: add PolarFire SoC fabric clock support
        dt-bindings: clk: add PolarFire SoC fabric clock ids
        dt-bindings: clk: document PolarFire SoC fabric clocks
        dt-bindings: clk: rename mpfs-clkcfg binding
        clk: microchip: mpfs: update module authorship & licencing
        clk: microchip: mpfs: convert periph_clk to clk_gate
        clk: microchip: mpfs: convert cfg_clk to clk_divider
        clk: microchip: mpfs: delete 2 line mpfs_clk_register_foo()
        clk: microchip: mpfs: simplify control reg access
        clk: microchip: mpfs: move id & offset out of clock structs
        clk: microchip: mpfs: add MSS pll's set & round rate
        MAINTAINERS: add polarfire soc reset controller
        reset: add polarfire soc reset support
        clk: microchip: mpfs: add reset controller
        dt-bindings: clk: microchip: mpfs: add reset controller support
        clk: microchip: mpfs: make the rtc's ahb clock critical
        clk: microchip: mpfs: fix clk_cfg array bounds violation
      
      * clk-allwinner:
        clk: sunxi-ng: ccu-sun9i-a80-usb: Use dev_err_probe() helper
        clk: sunxi-ng: ccu-sun9i-a80-de: Use dev_err_probe() helper
        clk: sunxi-ng: sun8i-de2: Use dev_err_probe() helper
        clk: sunxi-ng: d1: Limit PLL rates to stable ranges
      
      * clk-imx:
        clk: imx: scu: fix memleak on platform_device_add() fails
        clk: imx93: add SAI IPG clk
        clk: imx93: add MU1/2 clock
        clk: imx93: switch to use new clk gate API
        clk: imx: add i.MX93 clk gate
        clk: imx: clk-composite-93: check white_list
        clk: imx: clk-composite-93: check slice busy
        dt-bindings: clock: imx93-clock: add more MU/SAI clocks
        dt-bindings: clock: imx8mm: don't use multiple blank lines
        clk: imx8mp: tune the order of enet_qos_root_clk
      26bebbfe
    • Stephen Boyd's avatar
      Merge branches 'clk-samsung', 'clk-mtk', 'clk-rm', 'clk-ast' and 'clk-qcom' into clk-next · a64b79c0
      Stephen Boyd authored
       - Add resets for MediaTek MT8195 PCIe and USB
       - Remove DaVinci DM644x and DM646x clk driver support
      
      * clk-samsung:
        clk: samsung: MAINTAINERS: add Krzysztof Kozlowski
        clk: samsung: exynos850: Implement CMU_MFCMSCL domain
        clk: samsung: exynos850: Implement CMU_IS domain
        clk: samsung: exynos850: Implement CMU_AUD domain
        clk: samsung: exynos850: Style fixes
        clk: samsung: exynosautov9: add fsys1 clock support
        clk: samsung: exynosautov9: add fsys0 clock support
        clk: samsung: exynosautov9: correct register offsets of peric0/c1
        clk: samsung: exynosautov9: add missing gate clks for peric0/c1
        dt-bindings: clock: exynos850: Add Exynos850 CMU_MFCMSCL
        dt-bindings: clock: exynos850: Add Exynos850 CMU_IS
        dt-bindings: clock: exynos850: Add Exynos850 CMU_AUD
        dt-bindings: clock: exynosautov9: add schema for cmu_fsys0/1
        dt-bindings: clock: exynosautov9: add fsys1 clock definitions
        dt-bindings: clock: exynosautov9: add fys0 clock definitions
        clk: samsung: exynos7885: Add TREX clocks
        clk: samsung: exynos7885: Implement CMU_FSYS domain
        dt-bindings: clock: exynosautov9: correct clock numbering of peric0/c1
        clk: samsung: exynos-clkout: Use of_device_get_match_data()
      
      * clk-mtk: (42 commits)
        clk: mediatek: add driver for MT8365 SoC
        clk: mediatek: Export required common code symbols
        clk: mediatek: Provide mtk_devm_alloc_clk_data
        dt-bindings: clock: mediatek: add bindings for MT8365 SoC
        clk: mediatek: mt8192: deduplicate parent clock lists
        clk: mediatek: Migrate remaining clk_unregister_*() to clk_hw_unregister_*()
        clk: mediatek: fix unregister function in mtk_clk_register_dividers cleanup
        clk: mediatek: clk-mt8192: Add clock mux notifier for mfg_pll_sel
        clk: mediatek: clk-mt8192-mfg: Propagate rate changes to parent
        clk: mediatek: clk-mt8195-topckgen: Drop univplls from mfg mux parents
        clk: mediatek: clk-mt8195-topckgen: Add GPU clock mux notifier
        clk: mediatek: clk-mt8195-topckgen: Register mfg_ck_fast_ref as generic mux
        clk: mediatek: clk-mt8195-mfg: Reparent mfg_bg3d and propagate rate changes
        clk: mediatek: mt8183: Add clk mux notifier for MFG mux
        clk: mediatek: mux: add clk notifier functions
        clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
        clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
        clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
        clk: mediatek: add VDOSYS1 clock
        dt-bindings: clk: mediatek: Add MT8195 DPI clocks
        ...
      
      * clk-rm:
        clk: davinci: remove PLL and PSC clocks for DaVinci DM644x and DM646x
      
      * clk-ast:
        clk: ast2600: BCLK comes from EPLL
      
      * clk-qcom: (97 commits)
        clk: qcom: gcc-sm6375: Ensure unsigned long type
        clk: qcom: gcc-sm6375: Remove unused variables
        clk: qcom: kpss-xcc: convert to parent data API
        clk: introduce (devm_)hw_register_mux_parent_data_table API
        clk: qcom: gcc-msm8939: use ARRAY_SIZE instead of specifying num_parents
        clk: qcom: gcc-msm8939: use parent_hws where possible
        dt-bindings: clock: move qcom,gcc-msm8939 to qcom,gcc-msm8916.yaml
        clk: qcom: gcc-sm6350: Update the .pwrsts for usb gdscs
        clk: qcom: gcc-sc8280xp: use retention for USB power domains
        clk: qcom: gdsc: add missing error handling
        dt-bindings: clocks: qcom,gcc-sc8280xp: Fix typos
        clk: qcom: Add global clock controller driver for SM6375
        dt-bindings: clock: add SM6375 QCOM global clock bindings
        clk: qcom: alpha: Add support for programming the PLL_FSM_LEGACY_MODE bit
        clk: qcom: gcc-sc7280: Update the .pwrsts for usb gdscs
        clk: qcom: gcc-sc7180: Update the .pwrsts for usb gdsc
        clk: qcom: gdsc: Fix the handling of PWRSTS_RET support
        clk: qcom: Add SC8280XP GPU clock controller
        dt-bindings: clock: Add Qualcomm SC8280XP GPU binding
        clk: qcom: smd: Add SM6375 clocks
        ...
      a64b79c0
    • Stephen Boyd's avatar
      Merge branches 'clk-ofnode', 'clk-bindings', 'clk-cleanup', 'clk-zynq' and... · 49f4c2d1
      Stephen Boyd authored
      Merge branches 'clk-ofnode', 'clk-bindings', 'clk-cleanup', 'clk-zynq' and 'clk-xilinx' into clk-next
      
       - Miscellaneous of_node_put() fixes
       - Nuke dt-bindings/clk path (again) by moving headers to dt-bindings/clock
       - Convert gpio-clk-gate binding to YAML
       - Various fixes to AMD/Xilinx Zynqmp clk driver
       - Graduate AMD/Xilinx "clocking wizard" driver from staging
      
      * clk-ofnode:
        clk: ti: Balance of_node_get() calls for of_find_node_by_name()
        clk: tegra20: Fix refcount leak in tegra20_clock_init
        clk: tegra: Fix refcount leak in tegra114_clock_init
        clk: tegra: Fix refcount leak in tegra210_clock_init
        clk: sprd: Hold reference returned by of_get_parent()
        clk: berlin: Add of_node_put() for of_get_parent()
        clk: at91: dt-compat: Hold reference returned by of_get_parent()
        clk: qoriq: Hold reference returned by of_get_parent()
        clk: oxnas: Hold reference returned by of_get_parent()
        clk: st: Hold reference returned by of_get_parent()
        clk: tegra: Add missing of_node_put()
        clk: meson: Hold reference returned by of_get_parent()
        clk: nomadik: Add missing of_node_put()
      
      * clk-bindings:
        dt-bindings: clock: drop minItems equal to maxItems
        dt-bindings: clock: gpio-gate-clock: Convert to json-schema
        dt-bindings: clock: Move versaclock.h to dt-bindings/clock
        dt-bindings: clock: Move lochnagar.h to dt-bindings/clock
      
      * clk-cleanup:
        clk: allow building lan966x as a module
        clk: clk-xgene: simplify if-if to if-else
        clk: nxp: fix typo in comment
        clk: mvebu: armada-37xx-tbg: Remove the unneeded result variable
        clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
        clkdev: Simplify devm_clk_hw_register_clkdev() function
        clkdev: Remove never used devm_clk_release_clkdev()
        clk: Remove never used devm_of_clk_del_provider()
        clk: pistachio: Fix initconst confusion
        clk: clk-npcm7xx: Remove unused struct npcm7xx_clk_gate_data and npcm7xx_clk_div_fixed_data
        clk: do not initialize ret
        clk: remove extra empty line
        clk: Fix comment typo
        clk: move from strlcpy with unused retval to strscpy
      
      * clk-zynq:
        clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
        clk: zynqmp: Check the return type zynqmp_pm_query_data
        clk: zynqmp: Add a check for NULL pointer
        clk: zynqmp: Replaced strncpy() with strscpy()
        clk: zynqmp: Fix stack-out-of-bounds in strncpy`
        clk: zynqmp: make bestdiv unsigned
      
      * clk-xilinx:
        clk: clocking-wizard: Depend on HAS_IOMEM
        clk: clocking-wizard: Use dev_err_probe() helper
        clk: clocking-wizard: Update the compatible
        clk: clocking-wizard: Fix the reconfig for 5.2
        clk: clocking-wizard: Rename nr-outputs to xlnx,nr-outputs
        clk: clocking-wizard: Move clocking-wizard out
        dt-bindings: add documentation of xilinx clocking wizard
      49f4c2d1
    • Stephen Boyd's avatar
      clk: qcom: gcc-sm6375: Ensure unsigned long type · 39bc9b58
      Stephen Boyd authored
      This PLL frequency needs a UL postfix to avoid compiler warnings on
      32-bit architectures.
      
      Fixes: 184fdd87
      
       ("clk: qcom: Add global clock controller driver for SM6375")
      Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      39bc9b58
    • Konrad Dybcio's avatar
      clk: qcom: gcc-sm6375: Remove unused variables · a76d550f
      Konrad Dybcio authored
      
      
      gcc_parent_data_15 and gcc_parent_map_15 are not used in this driver.
      Remove them.
      
      Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
      Link: https://lore.kernel.org/r/20221003211438.25691-1-konrad.dybcio@somainline.org
      Fixes: 184fdd87
      
       ("clk: qcom: Add global clock controller driver for SM6375")
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      a76d550f
  2. Oct 04, 2022
  3. Oct 01, 2022