1. 12 Jul, 2019 9 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-bcm63xx', 'clk-silabs', 'clk-lochnagar' and 'clk-rockchip' into clk-next · b1511f7a
      Stephen Boyd authored
       - Support gated clk controller on MIPS based BCM63XX SoCs
       - Small frequency support for SiLabs Si544 chips
       - Support SiLabs Si5341 and Si5340 chips
      
      * clk-bcm63xx:
        clk: add BCM63XX gated clock controller driver
        devicetree: document the BCM63XX gated clock bindings
      
      * clk-silabs:
        clk: Add Si5341/Si5340 driver
        dt-bindings: clock: Add silabs,si5341
        clk: clk-si544: Implement small frequency change support
      
      * clk-lochnagar:
        clk: lochnagar: Update DT binding doc to include the primary SPDIF MCLK
        clk: lochnagar: Use new parent_data approach to register clock parents
      
      * clk-rockchip:
        clk: rockchip: export HDMIPHY clock on rk3228
        clk: rockchip: add watchdog pclk on rk3328
        clk: rockchip: add clock id for hdmi_phy special clock on rk3228
        clk: rockchip: add clock id for watchdog pclk on rk3328
        clk: rockchip: convert pclk_wdt boilerplat to new SGRF_GATE macro
        clk: rockchip: add a type from SGRF-controlled gate clocks
        clk: rockchip: Remove 48 MHz PLL rate from rk3288
        clk: rockchip: add 1.464GHz cpu-clock rate to rk3228
        clk: rockchip: Slightly more accurate math in rockchip_mmc_get_phase()
        clk: rockchip: Don't yell about bad mmc phases when getting
        clk: rockchip: Use clk_hw_get_rate() in MMC phase calculation
      b1511f7a
    • Stephen Boyd's avatar
      Merge branches 'clk-rpi-cpufreq', 'clk-tegra', 'clk-simplify-provider.h',... · 47c9e0ce
      Stephen Boyd authored
      Merge branches 'clk-rpi-cpufreq', 'clk-tegra', 'clk-simplify-provider.h', 'clk-sprd' and 'clk-at91' into clk-next
      
       - Support for CPU clks on Raspberry Pi devices
       - Slow clk support for AT91 SAM9X60 SoCs
      
      * clk-rpi-cpufreq:
        clk: raspberrypi: register platform device for raspberrypi-cpufreq
        firmware: raspberrypi: register clk device
        clk: bcm283x: add driver interfacing with Raspberry Pi's firmware
        clk: bcm2835: remove pllb
      
      * clk-tegra:
        clk: tegra: Do not enable PLL_RE_VCO on Tegra210
        clk: tegra: Warn if an enabled PLL is in IDDQ
        clk: tegra: Do not warn unnecessarily
        clk: tegra210: fix PLLU and PLLU_OUT1
      
      * clk-simplify-provider.h:
        clk: consoldiate the __clk_get_hw() declarations
        clk: Unexport __clk_of_table
        clk: Remove ifdef for COMMON_CLK in clk-provider.h
      
      * clk-sprd:
        clk: sprd: Add check for return value of sprd_clk_regmap_init()
        clk: sprd: Check error only for devm_regmap_init_mmio()
        clk: sprd: Switch from of_iomap() to devm_ioremap_resource()
      
      * clk-at91:
        clk: at91: sckc: use dedicated functions to unregister clock
        clk: at91: sckc: improve error path for sama5d4 sck registration
        clk: at91: sckc: remove unnecessary line
        clk: at91: sckc: improve error path for sam9x5 sck register
        clk: at91: sckc: add support to free slow clock osclillator
        clk: at91: sckc: add support to free slow rc oscillator
        clk: at91: sckc: add support to free slow oscillator
        clk: at91: sckc: add support for SAM9X60
        dt-bindings: clk: at91: add bindings for SAM9X60's slow clock controller
        clk: at91: sckc: add support to specify registers bit offsets
        clk: at91: sckc: sama5d4 has no bypass support
      47c9e0ce
    • Stephen Boyd's avatar
      Merge branches 'clk-debugfs', 'clk-unused', 'clk-refactor' and 'clk-qoriq' into clk-next · a993be37
      Stephen Boyd authored
       - Add a 'clk_parent' file in clk debugfs
       - Remove dead code in various clk drivers
      
      * clk-debugfs:
        clk: Add clk_parent entry in debugfs
      
      * clk-unused:
        clk: qcom: Fix -Wunused-const-variable
        clk: mmp: frac: Remove set but not used variable 'prev_rate'
        clk: ti: Remove unused functions
        clk: mediatek: mt8516: Remove unused variable
      
      * clk-refactor:
        clk: clk-cdce706: simplify getting the adapter of a client
        clk: Simplify clk_core_can_round()
      
      * clk-qoriq:
        clk: qoriq: add support for lx2160a
      a993be37
    • Stephen Boyd's avatar
      Merge branches 'clk-bulk-optional', 'clk-kirkwood', 'clk-socfpga' and 'clk-docs' into clk-next · dfe1d3a2
      Stephen Boyd authored
       - Add a clk_bulk_get_optional() API (with devm too)
       - Support for Marvell 98DX1135 SoCs
      
      * clk-bulk-optional:
        clk: Document some devm_clk_bulk*() APIs
        clk: Add devm_clk_bulk_get_optional() function
        clk: Add clk_bulk_get_optional() function
      
      * clk-kirkwood:
        clk: kirkwood: Add support for MV98DX1135
        dt-bindings: clock: mvebu: Add compatible string for 98dx1135 core clock
      
      * clk-socfpga:
        clk: socfpga: stratix10: fix divider entry for the emac clocks
        clk: socfpga: stratix10: add additional clocks needed for the NAND IP
      
      * clk-docs:
        clk: Grammar missing "and", Spelling s/statisfied/satisfied/
      dfe1d3a2
    • Stephen Boyd's avatar
      Merge branches 'clk-ti', 'clk-samsung', 'clk-imx' and 'clk-allwinner' into clk-next · e02cb1f5
      Stephen Boyd authored
      * clk-ti:
        clk: ti: Use int to check return value from of_property_count_elems_of_size()
        firmware: ti_sci: extend clock identifiers from u8 to u32
        clk: keystone: sci-clk: extend clock IDs to 32 bits
        clk: keystone: sci-clk: probe clocks from DT instead of firmware
        clk: keystone: sci-clk: split out the fw clock parsing to own function
        clk: keystone: sci-clk: cut down the clock name length
      
      * clk-samsung:
        clk: samsung: Add bus clock for GPU/G3D on Exynos4412
        clk: samsung: add new clocks for DMC for Exynos5422 SoC
        clk: samsung: add BPLL rate table for Exynos 5422 SoC
        clk: samsung: add needed IDs for DMC clocks in Exynos5420
        clk: samsung: exynos5433: Use of_clk_get_parent_count()
      
      * clk-imx: (38 commits)
        clk: imx8mq: Keep uart clocks on during system boot
        clk: imx: Remove __init for imx_register_uart_clocks() API
        clk: imx6q: fix section mismatch warning
        clk: imx8mq: Use devm_platform_ioremap_resource() instead of of_iomap()
        clk: imx8mq: Use imx_check_clocks() API directly
        clk: imx: Remove __init for imx_check_clocks() API
        clk: imx6sll: Switch to clk_hw based API
        clk: imx7d: Switch to clk_hw based API
        clk: imx6ul: Switch to clk_hw based API
        clk: imx6sx: Switch to clk_hw based API
        clk: imx6q: Switch to clk_hw based API
        clk: imx6sl: Switch to clk_hw based API
        clk: imx: Switch wrappers to clk_hw based API
        clk: imx: clk-fixup-mux: Switch to clk_hw based API
        clk: imx: clk-fixup-div: Switch to clk_hw based API
        clk: imx: clk-gate-exclusive: Switch to clk_hw based API
        clk: imx: clk-pfd: Switch to clk_hw based API
        clk: imx: clk-pllv3: Switch to clk_hw based API
        clk: imx: clk-gate2: Switch to clk_hw based API
        clk: imx: clk-cpu: Switch to clk_hw based API
        ...
      
      * clk-allwinner: (29 commits)
        clk: Simplify debugfs printing and add a newline
        clk: sunxi-ng: sun8i-r: Use local parent references for SUNXI_CCU_GATE
        clk: sunxi-ng: a80-usb: Use local parent references for SUNXI_CCU_GATE
        clk: sunxi-ng: gate: Add macros for referencing local clock parents
        clk: sunxi-ng: h6-r: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: h6: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: a64: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: f1c100s: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: sun8i-r: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: v3s: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: r40: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: h3: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: a33: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: a23: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: a31: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: sun5i: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: a10: Use local parent references for CLK_FIXED_FACTOR
        clk: sunxi-ng: sun8i-r: Use local parent references for CLK_HW_INIT_*
        clk: sunxi-ng: switch to of_clk_hw_register() for registering clks
        clk: fixed-factor: Add CLK_FIXED_FACTOR_FW_NAME for DT clock-names parent
        ...
      e02cb1f5
    • Stephen Boyd's avatar
      Merge branches 'clk-qcom-gdsc-warn', 'clk-ingenic', 'clk-qcom-qcs404-reset',... · 1f5d580c
      Stephen Boyd authored
      Merge branches 'clk-qcom-gdsc-warn', 'clk-ingenic', 'clk-qcom-qcs404-reset', 'clk-xgene-limit' and 'clk-meson' into clk-next
      
      * clk-qcom-gdsc-warn:
        clk: qcom: gdsc: WARN when failing to toggle
      
      * clk-ingenic:
        MIPS: Remove dead code
        clk: ingenic: Remove unused functions
        MIPS: jz4740: PM: Let CGU driver suspend clocks and set sleep mode
        clk: ingenic: Handle setting the Low-Power Mode bit
        clk: ingenic: Add missing header in cgu.h
        clk: ingenic/jz4725b: Fix "pll half" divider not read/written properly
        clk: ingenic/jz4725b: Fix incorrect dividers for main clocks
        clk: ingenic/jz4770: Fix incorrect dividers for main clocks
        clk: ingenic/jz4740: Fix incorrect dividers for main clocks
        clk: ingenic: Add support for divider tables
      
      * clk-qcom-qcs404-reset:
        clk: gcc-qcs404: Add PCIe resets
      
      * clk-xgene-limit:
        clk: xgene: Don't build COMMON_CLK_XGENE by default
      
      * clk-meson:
        clk: meson: g12a: mark fclk_div3 as critical
        clk: meson: g12a: Add support for G12B CPUB clocks
        dt-bindings: clk: meson: add g12b periph clock controller bindings
        clk: meson-g12a: add temperature sensor clocks
        dt-bindings: clk: g12a-clkc: add Temperature Sensor clock IDs
        clk: meson: meson8b: add the cts_i958 clock
        clk: meson: meson8b: add the cts_mclk_i958 clocks
        clk: meson: meson8b: add the cts_amclk clocks
        dt-bindings: clock: meson8b: add the audio clocks
        clk: meson: g12a: add controller register init
        clk: meson: eeclk: add init regs
        clk: meson: g12a: add mpll register init sequences
        clk: meson: mpll: add init callback and regs
        clk: meson: axg: spread spectrum is on mpll2
        clk: meson: gxbb: no spread spectrum on mpll0
        clk: meson: mpll: properly handle spread spectrum
        clk: meson: meson8b: fix a typo in the VPU parent names array variable
        clk: meson: fix MPLL 50M binding id typo
      1f5d580c
    • Stephen Boyd's avatar
      Merge branches 'clk-pwm-duty', 'clk-bcm', 'clk-mtk', 'clk-qcom-msm8998-gpu'... · b6bb2bc2
      Stephen Boyd authored
      Merge branches 'clk-pwm-duty', 'clk-bcm', 'clk-mtk', 'clk-qcom-msm8998-gpu' and 'clk-renesas' into clk-next
      
       - Add support to get duty cycle of generic pwm clks
      
      * clk-pwm-duty:
        clk: pwm: implement the .get_duty_cycle callback
      
      * clk-bcm:
        clk: bcm: Allow CLK_BCM2835 for ARCH_BRCMSTB
        clk: bcm: Make BCM2835 clock drivers selectable
      
      * clk-mtk:
        clk: mediatek: Remove MT8183 unused clock
        clk: mediatek: add audsys clock driver for MT8516
        dt-bindings: mediatek: audsys: add support for MT8516
      
      * clk-qcom-msm8998-gpu:
        dt-bindings: clock: Document gpucc for msm8998
      
      * clk-renesas:
        clk: renesas: cpg-mssr: Use [] to denote a flexible array member
        clk: renesas: cpg-mssr: Combine driver-private and clock array allocation
        clk: renesas: mstp: Combine group-private and clock array allocation
        clk: renesas: div6: Combine clock-private and parent array allocation
        clk: renesas: cpg-mssr: Update kerneldoc for struct cpg_mssr_priv
        clk: renesas: r8a774a1: Add TMU clock
        clk: renesas: r8a77995: Add CMM clocks
        clk: renesas: r8a77990: Add CMM clocks
        clk: renesas: r8a77965: Add CMM clocks
        clk: renesas: r8a7795: Add CMM clocks
        clk: renesas: r9a06g032: Add clock domain support
        dt-bindings: clock: renesas: r9a06g032-sysctrl: Document power Domains
        clk: renesas: mstp: Remove error messages on out-of-memory conditions
        clk: renesas: cpg-mssr: Remove error messages on out-of-memory conditions
        clk: renesas: cpg-mssr: Use genpd of_node instead of local copy
        clk: renesas: r8a7796: Add CMM clocks
        clk: renesas: r8a779{5|6|65}: Add TPU clock
      b6bb2bc2
    • Stephen Boyd's avatar
      Merge tag 'v5.3-rockchip-clk1' of... · 55692ced
      Stephen Boyd authored
      Merge tag 'v5.3-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-rockchip
      
      Pull Rockchip clk driver updates from Heiko Stuebner:
      
       - New clock-ids+exports for two clocks
       - Cleanup for some boilerplate code for clocks we cannot really control
         from the kernel, but want to define separately to match the
         hardware-description (watchdog in secure-grf)
       - Improvement in mmc phase calculation and cleanup of some rate defintions
      
      * tag 'v5.3-rockchip-clk1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        clk: rockchip: export HDMIPHY clock on rk3228
        clk: rockchip: add watchdog pclk on rk3328
        clk: rockchip: add clock id for hdmi_phy special clock on rk3228
        clk: rockchip: add clock id for watchdog pclk on rk3328
        clk: rockchip: convert pclk_wdt boilerplat to new SGRF_GATE macro
        clk: rockchip: add a type from SGRF-controlled gate clocks
        clk: rockchip: Remove 48 MHz PLL rate from rk3288
        clk: rockchip: add 1.464GHz cpu-clock rate to rk3228
        clk: rockchip: Slightly more accurate math in rockchip_mmc_get_phase()
        clk: rockchip: Don't yell about bad mmc phases when getting
        clk: rockchip: Use clk_hw_get_rate() in MMC phase calculation
      55692ced
    • Stephen Rothwell's avatar
      clk: consoldiate the __clk_get_hw() declarations · 1df37992
      Stephen Rothwell authored
      Without this we were getting errors like:
      
      In file included from drivers/clk/clkdev.c:22:0:
      drivers/clk/clk.h:36:23: error: static declaration of '__clk_get_hw' follows non-static declaration
      include/linux/clk-provider.h:808:16: note: previous declaration of '__clk_get_hw' was here
      
      Fixes: 59fcdce4 ("clk: Remove ifdef for COMMON_CLK in clk-provider.h")
      fixes: 73e0e496 ("clkdev: Always allocate a struct clk and call __clk_get() w/ CCF")
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      1df37992
  2. 27 Jun, 2019 19 commits
  3. 26 Jun, 2019 6 commits
  4. 25 Jun, 2019 6 commits