1. 04 Jun, 2018 6 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-allwinner', 'clk-rockchip', 'clk-tegra', 'clk-berlin' and... · 45ba3875
      Stephen Boyd authored
      Merge branches 'clk-allwinner', 'clk-rockchip', 'clk-tegra', 'clk-berlin' and 'clk-qcom-mmagic' into clk-next
      
      * clk-allwinner:
        clk: sunxi-ng: r40: export a regmap to access the GMAC register
        clk: sunxi-ng: r40: rewrite init code to a platform driver
        clk: sunxi-ng: add support for H6 PRCM CCU
      
      * clk-rockchip:
        clk: rockchip: remove deprecated gate-clk code and dt-binding
        clk: rockchip: use match_string() helper
      
      * clk-tegra:
        clk: tegra: Add quirk for getting CDEV1/2 clocks on Tegra20
        clk: tegra20: Correct parents of CDEV1/2 clocks
        clk: tegra20: Add DEV1/DEV2 OSC dividers
      
      * clk-berlin:
        clk: berlin: switch to SPDX license identifier
      
      * clk-qcom-mmagic:
        clk: qcom: mmcc-msm8996: leave all mmagic gdscs and clocks always enabled
        clk: qcom: Register the gdscs before the clocks
        clk: qcom: gdsc: Add support for ALWAYS_ON gdscs
      45ba3875
    • Stephen Boyd's avatar
      Merge branches 'clk-hisi-usb', 'clk-silent-bulk', 'clk-mtk-hdmi',... · 7fa50aa5
      Stephen Boyd authored
      Merge branches 'clk-hisi-usb', 'clk-silent-bulk', 'clk-mtk-hdmi', 'clk-mtk-mali' and 'clk-imx6ul-ccosr' into clk-next
      
      * clk-hisi-usb:
        clk: hisilicon: add missing usb3 clocks for Hi3798CV200 SoC
      
      * clk-silent-bulk:
        clk: bulk: silently error out on EPROBE_DEFER
      
      * clk-mtk-hdmi:
        clk: mediatek: correct the clocks for MT2701 HDMI PHY module
      
      * clk-mtk-mali:
        clk: mediatek: add g3dsys support for MT2701 and MT7623
        dt-bindings: reset: mediatek: add entry for Mali-450 node to refer
        dt-bindings: clock: mediatek: add entry for Mali-450 node to refer
        dt-bindings: clock: mediatek: add g3dsys bindings
      
      * clk-imx6ul-ccosr:
        clk: imx: Add new clo01 and clo2 controlled by CCOSR
      7fa50aa5
    • Stephen Boyd's avatar
      Merge branches 'clk-stm32mp1', 'clk-samsung', 'clk-uniphier-mpeg',... · b7c82cec
      Stephen Boyd authored
      Merge branches 'clk-stm32mp1', 'clk-samsung', 'clk-uniphier-mpeg', 'clk-stratix10' and 'clk-aspeed' into clk-next
      
      * clk-stm32mp1:
        clk: stm32mp1: Fix a memory leak in 'clk_stm32_register_gate_ops()'
        clk: stm32mp1: Add CLK_IGNORE_UNUSED to ck_sys_dbg clock
        clk: stm32mp1: remove ck_apb_dbg clock
        clk: stm32mp1: set stgen_k clock as critical
        clk: stm32mp1: add missing tzc2 clock
        clk: stm32mp1: fix SAI3 & SAI4 clocks
        clk: stm32mp1: remove unused dfsdm_src[] const
        clk: stm32mp1: add missing static
      
      * clk-samsung:
        clk: samsung: simplify getting .drvdata
      
      * clk-uniphier-mpeg:
        clk: uniphier: add LD11/LD20 stream demux system clock
      
      * clk-stratix10:
        clk: socfpga: stratix10: suppress unbinding platform's clock driver
        clk: socfpga: stratix10: use platform driver APIs
      
      * clk-aspeed:
        clk:aspeed: Fix reset bits for PCI/VGA and PECI
        clk: aspeed: Support second reset register
      b7c82cec
    • Stephen Boyd's avatar
      Merge branches 'clk-qcom-rpmh', 'clk-npcm7xx', 'clk-of-parent-count' and... · 872e47f7
      Stephen Boyd authored
      Merge branches 'clk-qcom-rpmh', 'clk-npcm7xx', 'clk-of-parent-count' and 'clk-qcom-rcg-fix' into clk-next
      
      * clk-qcom-rpmh:
        dt-bindings: clock: Introduce QCOM RPMh clock bindings
      
      * clk-npcm7xx:
        clk: npcm7xx: fix return value check in npcm7xx_clk_init()
        clk: npcm7xx: add clock controller
        dt-binding: clk: npcm750: Add binding for Nuvoton NPCM7XX Clock
      
      * clk-of-parent-count:
        pinctrl: sunxi: Use of_clk_get_parent_count() instead of open coding
        soc/tegra: pmc: Use of_clk_get_parent_count() instead of open coding
        soc: rockchip: power-domain: Use of_clk_get_parent_count() instead of open coding
        ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding
        clk: Extract OF clock helpers in <linux/of_clk.h>
      
      * clk-qcom-rcg-fix:
        clk: qcom: Base rcg parent rate off plan frequency
      872e47f7
    • Stephen Boyd's avatar
      Merge branch 'clk-actions' into clk-next · 43705f52
      Stephen Boyd authored
      * clk-actions:
        clk: actions: Add S900 SoC clock support
        clk: actions: Add pll clock support
        clk: actions: Add composite clock support
        clk: actions: Add fixed factor clock support
        clk: actions: Add factor clock support
        clk: actions: Add divider clock support
        clk: actions: Add mux clock support
        clk: actions: Add gate clock support
        clk: actions: Add common clock driver support
        dt-bindings: clock: Add Actions S900 clock bindings
      43705f52
    • Stephen Boyd's avatar
      Merge branches 'clk-warn', 'clk-core', 'clk-spear' and 'clk-qcom-msm8998' into clk-next · 101cfc9f
      Stephen Boyd authored
      * clk-warn:
        clk: Print the clock name and warning cause
      
      * clk-core:
        clk: Remove clk_init_cb typedef
      
      * clk-spear:
        clk: spear: fix WDT clock definition on SPEAr600
      
      * clk-qcom-msm8998:
        clk: qcom: Add MSM8998 Global Clock Control (GCC) driver
      101cfc9f
  2. 01 Jun, 2018 7 commits
  3. 23 May, 2018 1 commit
    • Heiko Stuebner's avatar
      clk: rockchip: remove deprecated gate-clk code and dt-binding · 1d646229
      Heiko Stuebner authored
      Initially we tried modeling clocks via the devicetree before switching
      to clocks declared in the clock drivers and only exporting specific
      ids to the devicetree.
      
      As the old code was in the kernel for 1-2 releases when the new mode
      of operation was added we kept it for backwards compatibility.
      
      That deprecation notice is in the binding since july 2014, so nearly
      4 years now and I think it's time to drop the old cruft.
      
      Especially as at the time using the mainline kernel on Rockchip devices
      was not really possible, except for experiments on the really old socs of
      the rk3066 + rk3188 line, so there shouldn't be any devicetrees still
      around that rely on that code.
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      1d646229
  4. 22 May, 2018 1 commit
  5. 18 May, 2018 3 commits
  6. 17 May, 2018 2 commits
  7. 15 May, 2018 16 commits
  8. 10 May, 2018 1 commit
    • Evan Green's avatar
      clk: qcom: Base rcg parent rate off plan frequency · c7d2a0eb
      Evan Green authored
      _freq_tbl_determine_rate uses the pre_div found in the clock plan
      multiplied by the requested rate from the caller to determine the
      best parent rate to set. If the requested rate is not exactly equal
      to the rate that was found in the clock plan, then using the requested
      rate in parent rate calculations is incorrect. For instance, if 150MHz
      was requested, but 200MHz was the match found, and that plan had a
      pre_div of 3, then the parent should be set to 600MHz, not 450MHz.
      Signed-off-by: default avatarEvan Green <evgreen@chromium.org>
      Fixes: bcd61c0f ("clk: qcom: Add support for root clock generators (RCGs)")
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      c7d2a0eb
  9. 04 May, 2018 1 commit
    • Icenowy Zheng's avatar
      clk: sunxi-ng: add support for H6 PRCM CCU · b7c7b050
      Icenowy Zheng authored
      The H6 has clock/reset controls in PRCM part, like old SoCs such as H3
      and A64. However, the PRCM CCU is rearranged; the register arragement
      is now similar to the main CCU of H6, and the PRCM now has two APB
      buses to control -- one is clocked from AHB clock derivde from AR100
      clock, the other is clocked from the same mux with AR100 clock.
      Therefore a new driver is written for it.
      
      As there's no official document about the PRCM in H6, all the information
      are indirectly collected from BSP and parts of the document, and the
      information source is noted as comments in the driver's source code. If
      reliable information is provided furtherly, the driver needs to be
      rechecked.
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      b7c7b050
  10. 02 May, 2018 2 commits