1. 03 Aug, 2020 6 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-actions', 'clk-rockchip', 'clk-iproc', 'clk-intel' and... · 53e07424
      Stephen Boyd authored
      Merge branches 'clk-actions', 'clk-rockchip', 'clk-iproc', 'clk-intel' and 'clk-debugfs' into clk-next
      
       - RMU and DMAC/GPIO clock support for Actions Semi S500 SoCs
      
      * clk-actions:
        MAINTAINERS: Add reset binding entry for Actions Semi Owl SoCs
        clk: actions: Add Actions S500 SoC Reset Management Unit support
        dt-bindings: reset: Add binding constants for Actions S500 RMU
        clk: actions: Add APB, DMAC, GPIO clock support for Actions S500 SoC
        dt-bindings: clock: Add APB, DMAC, GPIO bindings for Actions S500 SoC
        clk: actions: Fix h_clk for Actions S500 SoC
      
      * clk-rockchip:
        clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
        clk: rockchip: Revert "fix wrong mmc sample phase shift for rk3328"
        clk: rockchip: use separate compatibles for rk3288w-cru
        dt-bindings: clocks: add rk3288w variant compatible
        clk: rockchip: Handle clock tree for rk3288w variant
        clk: rockchip: convert rk3036 pll type to use internal lock status
        clk: rockchip: convert basic pll lock_wait to use regmap_read_poll_timeout
        clk: rockchip: convert rk3399 pll type to use readl_relaxed_poll_timeout
      
      * clk-iproc:
        clk: iproc: round clock rate to the closest
      
      * clk-intel:
        clk: intel: Avoid unnecessary memset by improving code
        clk: intel: Improve locking in the driver
        clk: intel: Use devm_clk_hw_register() instead of clk_hw_register()
      
      * clk-debugfs:
        clk: Add support for enabling/disabling clocks from debugfs
      53e07424
    • Stephen Boyd's avatar
      Merge branches 'clk-https', 'clk-renesas', 'clk-kconfig', 'clk-amlogic' and 'clk-imx' into clk-next · 987106e5
      Stephen Boyd authored
      * clk-https:
        Replace HTTP links with HTTPS ones: Common CLK framework
      
      * clk-renesas:
        clk: renesas: cpg-mssr: Add r8a774e1 support
        dt-bindings: clock: renesas,cpg-mssr: Document r8a774e1
        clk: renesas: Add r8a774e1 CPG Core Clock Definitions
        dt-bindings: power: Add r8a774e1 SYSC power domain definitions
        clk: renesas: rzg2: Mark RWDT clocks as critical
        clk: renesas: rcar-gen3: Mark RWDT clocks as critical
        clk: renesas: cpg-mssr: Mark clocks as critical only if on at boot
        dt-bindings: clock: renesas: cpg: Convert to json-schema
      
      * clk-kconfig:
        clk: hsdk: Fix bad dependency on IOMEM
        clk: Specify IOMEM dependency for HSDK pll driver
        clk: Drop duplicate selection in Kconfig
        clk: AST2600: Add mux for EMMC clock
        clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
      
      * clk-amlogic:
        clk: meson: meson8b: add the vclk2_en gate clock
        clk: meson: meson8b: add the vclk_en gate clock
        clk: meson: meson8b: Drop CLK_IS_CRITICAL from fclk_div2
        clk: meson: g12a: Add support for NNA CLK source clocks
        dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs
      
      * clk-imx:
        clk: imx: vf610: add CAAM clock
        clk: imx8mp: add mu root clk
      987106e5
    • Stephen Boyd's avatar
      Merge branches 'clk-socfpga', 'clk-doc', 'clk-qcom', 'clk-vc5' and 'clk-bcm' into clk-next · c63e2a7a
      Stephen Boyd authored
       - Enable CPU clks on Qualcomm IPQ6018 SoCs
       - Enable CPU clks on Qualcomm MSM8996 SoCs
       - GPU clk support for Qualcomm SM8150 and SM8250 SoCs
       - Audio clks on Qualcomm SC7180 SoCs
       - Make defines for bcm63xx-gate clks to use in DT
       - Support gate clks on BCM6318 SoCs
       - Add HDMI clks for BCM2711 SoCs
       - Support BCM2711 SoC firmware clks
      
      * clk-socfpga:
        clk: socfpga: agilex: mpu_l2ram_clk should be mpu_ccu_clk
        clk: socfpga: agilex: add nand_x_clk and nand_ecc_clk
        dt-bindings: agilex: add NAND_X_CLK and NAND_ECC_CLK
      
      * clk-doc:
        clk: Clean up kernel-doc errors
        clk: <linux/clk-provider.h>: drop a duplicated word
        clk: add function documentation for clk_hw_round_rate()
      
      * clk-qcom: (38 commits)
        dt-bindings: clock: Fix YAML schemas for LPASS clocks on SC7180
        clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
        clk: qcom: gcc-sdm660: Add missing modem reset
        clk: qcom: lpass: Add support for LPASS clock controller for SC7180
        clk: qcom: gcc: Add support for GCC LPASS clock for SC7180
        dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7180
        clk: qcom: gdsc: Add support to enable retention of GSDCR
        clk: qcom: Export gdsc_gx_do_nothing_enable() to modules
        clk: qcom: Add graphics clock controller driver for SM8250
        clk: qcom: Add graphics clock controller driver for SM8150
        clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers
        dt-bindings: clock: add SM8250 QCOM Graphics clock bindings
        dt-bindings: clock: add SM8150 QCOM Graphics clock bindings
        dt-bindings: clock: combine qcom,sdm845-gpucc and qcom,sc7180-gpucc
        clk: qcom: gcc: remove unnecessary vco_table from SM8150
        clk: qcom: clk-alpha-pll: use the right PCAL_DONE value for lucid pll
        clk: qcom: clk-alpha-pll: same regs and ops for trion and lucid
        clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
        clk: qcom: gcc: fix sm8150 GPU and NPU clocks
        dt-bindings: clock: Fix qcom,msm8996-apcc yaml syntax
        ...
      
      * clk-vc5:
        clk: vc5: use a dedicated struct to describe the output drivers
        dt-bindings: clk: versaclock5: convert to yaml
        MAINTAINERS: take over IDT VersaClock 5 clock driver
        dt-bindings: clk: versaclock5: fix 'idt' prefix typos
        clk: vc5: Add memory check to prevent oops
        clk: vc5: fix use of memory after it has been kfree'd
        clk: vc5: Enable addition output configurations of the Versaclock
        dt: Add additional option bindings for IDT VersaClock
        clk: vc5: Allow Versaclock driver to support multiple instances
      
      * clk-bcm: (44 commits)
        clk: bcm2835: Do not use prediv with bcm2711's PLLs
        dt-bindings: arm: bcm: Add a select to the RPI Firmware binding
        clk: bcm: dvp: Add missing module informations
        clk: bcm: rpi: Remove the quirks for the CPU clock
        clk: bcm2835: Don't cache the PLLB rate
        clk: bcm2835: Allow custom CCF flags for the PLLs
        Revert "clk: bcm2835: remove pllb"
        clk: bcm: rpi: Give firmware clocks a name
        clk: bcm: rpi: Discover the firmware clocks
        clk: bcm: rpi: Add an enum for the firmware clocks
        clk: bcm: rpi: Add DT provider for the clocks
        clk: bcm: rpi: Make the PLLB registration function return a clk_hw
        clk: bcm: rpi: Split pllb clock hooks
        clk: bcm: rpi: Rename is_prepared function
        clk: bcm: rpi: Pass the clocks data to the firmware function
        clk: bcm: rpi: Add clock id to data
        clk: bcm: rpi: Create a data structure for the clocks
        clk: bcm: rpi: Use CCF boundaries instead of rolling our own
        clk: bcm: rpi: Make sure the clkdev lookup is removed
        clk: bcm: rpi: Switch to clk_hw_register_clkdev
        ...
      c63e2a7a
    • Nicolas Saenz Julienne's avatar
      clk: bcm2835: Do not use prediv with bcm2711's PLLs · f34e4651
      Nicolas Saenz Julienne authored
      Contrary to previous SoCs, bcm2711 doesn't have a prescaler in the PLL
      feedback loop. Bypass it by zeroing fb_prediv_mask when running on
      bcm2711.
      
      Note that, since the prediv configuration bits were re-purposed, this
      was triggering miscalculations on all clocks hanging from the VPU clock,
      notably the aux UART, making its output unintelligible.
      
      Fixes: 42de9ad4 ("clk: bcm2835: Add BCM2711_CLOCK_EMMC2 support")
      Reported-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
      Link: https://lore.kernel.org/r/20200730182619.23246-1-nsaenzjulienne@suse.deTested-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      f34e4651
    • Geert Uytterhoeven's avatar
      clk: hsdk: Fix bad dependency on IOMEM · bd8548d0
      Geert Uytterhoeven authored
      CONFIG_IOMEM does not exist.  The correct symbol to depend on is
      CONFIG_HAS_IOMEM.
      
      Fixes: 1e7468bd ("clk: Specify IOMEM dependency for HSDK pll driver")
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Link: https://lore.kernel.org/r/20200803084835.21838-1-geert+renesas@glider.beSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      bd8548d0
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-kconfig · ba857b21
      Stephen Boyd authored
      Need to merge this up to get the IOMEM dependency patch on top that is
      broken and fixed in the next commit.
      
      * clk-fixes:
        clk: Specify IOMEM dependency for HSDK pll driver
        clk: AST2600: Add mux for EMMC clock
        clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
      ba857b21
  2. 31 Jul, 2020 1 commit
  3. 27 Jul, 2020 2 commits
  4. 24 Jul, 2020 22 commits
  5. 23 Jul, 2020 9 commits