1. 29 Jun, 2021 10 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-lmk04832', 'clk-stm', 'clk-rohm', 'clk-actions' and 'clk-ingenic' into clk-next · 4f47c91f
      Stephen Boyd authored
       - Texas Instruments' LMK04832 Ultra Low-Noise JESD204B Compliant Clock
         Jitter Cleaner With Dual Loop PLLs
       - Support secure mode of STM32MP1 SoCs
       - Improve clock support for Actions S500 SoC
      
      * clk-lmk04832:
        clk: lmk04832: Use of match table
        clk: lmk04832: Depend on SPI
        clk: lmk04832: add support for digital delay
        clk: add support for the lmk04832
        dt-bindings: clock: add ti,lmk04832 bindings
      
      * clk-stm:
        clk: stm32mp1: new compatible for secure RCC support
        dt-bindings: clock: stm32mp1 new compatible for secure rcc
        dt-bindings: reset: add MCU HOLD BOOT ID for SCMI reset domains on stm32mp15
        dt-bindings: reset: add IDs for SCMI reset domains on stm32mp15
        dt-bindings: clock: add IDs for SCMI clocks on stm32mp15
        reset: stm32mp1: remove stm32mp1 reset
        clk: stm32mp1: move RCC reset controller into RCC clock driver
        clk: stm32mp1: convert to module driver
        clk: stm32mp1: remove intermediate pll clocks
        clk: stm32mp1: merge 'ck_hse_rtc' and 'ck_rtc' into one clock
        clk: stm32mp1: merge 'clk-hsi-div' and 'ck_hsi' into one clock
      
      * clk-rohm:
        clk: bd718xx: Drop BD70528 support
      
      * clk-actions:
        clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoC
        dt-bindings: clock: Add NIC and ETHERNET bindings for Actions S500 SoC
        clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
        clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
        clk: actions: Fix SD clocks factor table on Owl S500 SoC
        clk: actions: Fix UART clock dividers on Owl S500 SoC
      
      * clk-ingenic:
        clk: ingenic: Add support for the JZ4760
        clk: ingenic: Support overriding PLLs M/N/OD calc algorithm
        clk: ingenic: Remove pll_info.no_bypass_bit
        clk: ingenic: Read bypass register only when there is one
        clk: Support bypassing dividers
        dt-bindings: clock: ingenic: Add ingenic,jz4760{,b}-cgu compatibles
      4f47c91f
    • Stephen Boyd's avatar
      Merge branches 'clk-rockchip', 'clk-amlogic', 'clk-yaml', 'clk-zynq' and... · e51fbc55
      Stephen Boyd authored
      Merge branches 'clk-rockchip', 'clk-amlogic', 'clk-yaml', 'clk-zynq' and 'clk-socfpga' into clk-next
      
      * clk-rockchip:
        clk: rockchip: export ACLK_VCODEC for RK3036
        clk: rockchip: fix rk3568 cpll clk gate bits
        clk: rockchip: Optimize PLL table memory usage
      
      * clk-amlogic:
        clk: meson: g12a: Add missing NNA source clocks for g12b
        clk: meson: axg-audio: improve deferral handling
        clk: meson: g12a: fix gp0 and hifi ranges
        clk: meson: pll: switch to determine_rate for the PLL ops
      
      * clk-yaml:
        dt-bindings: clock: gpio-mux-clock: Convert to json-schema
      
      * clk-zynq:
        clk: zynqmp: Handle divider specific read only flag
        clk: zynqmp: Use firmware specific mux clock flags
        clk: zynqmp: Use firmware specific divider clock flags
        clk: zynqmp: Use firmware specific common clock flags
        clk: zynqmp: pll: Remove some dead code
        clk: zynqmp: fix compile testing without ZYNQMP_FIRMWARE
      
      * clk-socfpga:
        clk: socfpga: clk-pll: Remove unused variable 'rc'
        clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
        clk: agilex/stratix10: add support for the 2nd bypass
        clk: agilex/stratix10: fix bypass representation
        clk: agilex/stratix10: remove noc_clk
      e51fbc55
    • Stephen Boyd's avatar
      Merge branches 'clk-legacy', 'clk-vc5', 'clk-allwinner', 'clk-nvidia' and 'clk-imx' into clk-next · 029eae23
      Stephen Boyd authored
      * clk-legacy:
        clkdev: remove unused clkdev_alloc() interfaces
        clkdev: remove CONFIG_CLKDEV_LOOKUP
        m68k: coldfire: remove private clk_get/clk_put
        m68k: coldfire: use clkdev_lookup on most coldfire
        mips: ralink: convert to CONFIG_COMMON_CLK
        mips: ar7: convert to CONFIG_COMMON_CLK
        mips: ar7: convert to clkdev_lookup
      
      * clk-vc5:
        clk: vc5: fix output disabling when enabling a FOD
      
      * clk-allwinner:
        clk: sunxi-ng: v3s: fix incorrect postdivider on pll-audio
      
      * clk-nvidia:
        clk: tegra: clk-tegra124-dfll-fcpu: don't use devm functions for regulator
        clk: tegra: tegra124-emc: Fix clock imbalance in emc_set_timing()
        clk: tegra: Add stubs needed for compile-testing
        clk: tegra: Don't deassert reset on enabling clocks
        clk: tegra: Mark external clocks as not having reset control
        clk: tegra: cclk: Handle thermal DIV2 CPU frequency throttling
        clk: tegra: Don't allow zero clock rate for PLLs
        clk: tegra: Halve SCLK rate on Tegra20
        clk: tegra: Ensure that PLLU configuration is applied properly
        clk: tegra: Fix refcounting of gate clocks
        clk: tegra30: Use 300MHz for video decoder by default
      
      * clk-imx:
        clk: imx8mq: remove SYS PLL 1/2 clock gates
        clk: imx: scu: Do not enable runtime PM for CPU clks
        clk: imx: scu: add parent save and restore
        clk: imx: scu: Only save DC SS clock using non-cached clock rate
        clk: imx: scu: Add A72 frequency scaling support
        clk: imx: scu: Add A53 frequency scaling support
        clk: imx: scu: bypass pi_pll enable status restore
        clk: imx: scu: detach pd if can't power up
        clk: imx: scu: bypass cpu clock save and restore
        clk: imx: scu: add parallel port clock ops
        clk: imx: scu: add more scu clocks
        clk: imx: scu: add enet rgmii gpr clocks
        clk: imx8qm: add clock valid resource checking
        clk: imx8qxp: add clock valid checking mechnism
        clk: imx: scu: add gpr clocks support
        clk: imx: scu: remove legacy scu clock binding support
        dt-bindings: arm: imx: scu: drop deprecated legacy clock binding
        dt-bindings: arm: imx: scu: fix naming typo of clk compatible string
        clk: imx: Remove the audio ipg clock from imx8mp
      029eae23
    • Stephen Boyd's avatar
      Merge branches 'clk-qcom', 'clk-versatile', 'clk-renesas', 'clk-sifive' and 'clk-ti' into clk-next · d915611e
      Stephen Boyd authored
       - duty cycle setting support on qcom clks
       - qcom MDM9607 GCC
       - qcom sc8180x display clks
       - qcom SM6125 GCC
       - Add TI am33xx spread spectrum clock support
      
      * clk-qcom: (22 commits)
        clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
        clk: qcom: Add camera clock controller driver for SM8250
        dt-bindings: clock: add QCOM SM8250 camera clock bindings
        clk: qcom: clk-alpha-pll: add support for zonda pll
        clk/qcom: Remove unused variables
        clk: qcom: smd-rpmcc: Add support for MSM8226 rpm clocks
        clk: qcom: gcc: Add support for Global Clock controller found on MSM8226
        dt-bindings: clock: qcom: Add MSM8226 GCC clock bindings
        clk: qcom: Add SM6125 (TRINKET) GCC driver
        dt-bindings: clk: qcom: gcc-sm6125: Document SM6125 GCC driver
        clk: qcom: gcc: Add support for a new frequency for SC7280
        clk: qcom: smd-rpm: Fix wrongly assigned RPM_SMD_PNOC_CLK
        dt-bindings: clock: qcom: rpmcc: Document MSM8226 compatible
        clk: qcom: dispcc-sm8250: Add EDP clocks
        clk: qcom: dispcc-sm8250: Add sc8180x support
        clk: qcom: smd-rpm: De-duplicate identical entries
        clk: qcom: smd-rpm: Switch to parent_data
        clk: qcom: Add MDM9607 GCC driver
        dt-bindings: clock: Add MDM9607 GCC clock bindings
        clk: qcom: cleanup some dev_err_probe() calls
        ...
      
      * clk-versatile:
        clk: versatile: Depend on HAS_IOMEM
        clk: versatile: remove dependency on ARCH_*
      
      * clk-renesas: (22 commits)
        clk: renesas: Add support for R9A07G044 SoC
        clk: renesas: Add CPG core wrapper for RZ/G2L SoC
        dt-bindings: clock: renesas: Document RZ/G2L SoC CPG driver
        dt-bindings: clock: Add r9a07g044 CPG Clock Definitions
        clk: renesas: r8a77995: Add ZA2 clock
        clk: renesas: cpg-mssr: Make srstclr[] comment block consistent
        clk: renesas: cpg-mssr: Remove unused [RM]MSTPCR() definitions
        clk: renesas: r9a06g032: Switch to .determine_rate()
        clk: renesas: div6: Implement range checking
        clk: renesas: div6: Consider all parents for requested rate
        clk: renesas: div6: Switch to .determine_rate()
        clk: renesas: div6: Simplify src mask handling
        clk: renesas: div6: Use clamp() instead of clamp_t()
        clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
        clk: renesas: r8a779a0: Add ISPCS clocks
        clk: renesas: rcar-gen3: Add boost support to Z clocks
        clk: renesas: rcar-gen3: Add custom clock for PLLs
        clk: renesas: rcar-gen3: Increase Z clock accuracy
        clk: renesas: rcar-gen3: Grammar s/dependent of/dependent on/
        clk: renesas: rcar-gen3: Remove superfluous masking in cpg_z_clk_set_rate()
        ...
      
      * clk-sifive:
        clk: analogbits: fix doc warning in wrpll-cln28hpc.c
        clk: sifive: Fix kernel-doc
      
      * clk-ti:
        drivers: ti: remove redundant error message in adpll.c
        clk: keystone: syscon-clk: Add support for AM64 specific epwm-tbclk
        dt-bindings: clock: ehrpwm: Add support for AM64 specific compatible
        clk: ti: add am33xx/am43xx spread spectrum clock support
        ARM: dts: am43xx-clocks: add spread spectrum support
        ARM: dts: am33xx-clocks: add spread spectrum support
        dt-bindings: ti: dpll: add spread spectrum support
        clk: ti: fix typo in routine description
      d915611e
    • Rajan Vaja's avatar
      clk: zynqmp: Handle divider specific read only flag · 03aea91b
      Rajan Vaja authored
      Add support for divider specific read only CCF flag
      (CLK_DIVIDER_READ_ONLY).
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Link: https://lore.kernel.org/r/20210628070122.26217-5-rajan.vaja@xilinx.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      03aea91b
    • Rajan Vaja's avatar
      clk: zynqmp: Use firmware specific mux clock flags · 54530ed1
      Rajan Vaja authored
      Use ZynqMP specific mux clock flags instead of using CCF flags.
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Link: https://lore.kernel.org/r/20210628070122.26217-4-rajan.vaja@xilinx.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      54530ed1
    • Rajan Vaja's avatar
      clk: zynqmp: Use firmware specific divider clock flags · 1b09c308
      Rajan Vaja authored
      Use ZynqMP specific divider clock flags instead of using CCF flags.
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Link: https://lore.kernel.org/r/20210628070122.26217-3-rajan.vaja@xilinx.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      1b09c308
    • Rajan Vaja's avatar
      clk: zynqmp: Use firmware specific common clock flags · 610a5d83
      Rajan Vaja authored
      Currently firmware passes CCF specific flags to ZynqMP clock driver.
      So firmware needs to be updated if CCF flags are changed. The firmware
      should have its own 'flag number space' that is distinct from the
      common clk framework's 'flag number space'. So define and use ZynqMP
      specific common clock flags instead of using CCF flags.
      Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
      Link: https://lore.kernel.org/r/20210628070122.26217-2-rajan.vaja@xilinx.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      610a5d83
    • Stephen Boyd's avatar
      clk: lmk04832: Use of match table · bf68fdfd
      Stephen Boyd authored
      Presumably we want to use this match table so add a module device table
      and set the driver match pointer appropriately.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Liam Beguin <lvb@xiphos.com>
      Fixes: 3bc61cfd ("clk: add support for the lmk04832")
      Link: https://lore.kernel.org/r/20210629060751.3119453-2-sboyd@kernel.orgSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      bf68fdfd
    • Stephen Boyd's avatar
      clk: lmk04832: Depend on SPI · 97a1c5cb
      Stephen Boyd authored
      This driver depends on SPI. Otherwise compilation fails
      
        clk-lmk04832.c:(.text+0x1668): undefined reference to `spi_get_device_id'
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Liam Beguin <lvb@xiphos.com>
      Fixes: 3bc61cfd ("clk: add support for the lmk04832")
      Link: https://lore.kernel.org/r/20210629060751.3119453-1-sboyd@kernel.orgSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      97a1c5cb
  2. 28 Jun, 2021 30 commits