1. 06 Apr, 2018 1 commit
    • Stephen Boyd's avatar
      Merge branches 'clk-ti', 'clk-amlogic', 'clk-tegra' and 'clk-samsung' into clk-next · 15afa044
      Stephen Boyd authored
      * clk-ti:
        clk: keystone: sci-clk: add support for dynamically probing clocks
        clk: ti: add support for clock latching to mux clocks
        clk: ti: add support for clock latching to divider clocks
        clk: ti: add generic support for clock latching
        clk: ti: add support for register read-modify-write low-level operation
        dt-bindings: clock: ti: add latching support to mux and divider clocks
      
      * clk-amlogic: (50 commits)
        clk: meson: Drop unused local variable and add static
        clk: meson: clean-up clk81 clocks
        clk: meson: add fdiv clock gates
        clk: meson: add mpll pre-divider
        clk: meson: axg: add hifi pll clock
        clk: meson: axg: add hifi clock bindings
        clk: meson: add ROUND_CLOSEST to the pll driver
        clk: meson: add gp0 frac parameter for axg and gxl
        clk: meson: improve pll driver results with frac
        clk: meson: remove special gp0 lock loop
        clk: meson: poke pll CNTL last
        clk: meson: add fractional part of meson8b fixed_pll
        clk: meson: use hhi syscon if available
        clk: meson: remove obsolete cpu_clk
        clk: meson: rework meson8b cpu clock
        clk: meson: split divider and gate part of mpll
        clk: meson: migrate plls clocks to clk_regmap
        clk: meson: migrate the audio divider clock to clk_regmap
        clk: meson: migrate mplls clocks to clk_regmap
        clk: meson: add regmap helpers for parm
        ...
      
      * clk-tegra:
        clk: tegra: Fix pll_u rate configuration
        clk: tegra: Specify VDE clock rate
        clk: tegra20: Correct PLL_C_OUT1 setup
        clk: tegra: Mark HCLK, SCLK and EMC as critical
        clk: tegra: MBIST work around for Tegra210
        clk: tegra: add fence_delay for clock registers
        clk: tegra: Add la clock for Tegra210
      
      * clk-samsung: (22 commits)
        clk: samsung: Mark a few things static
        clk: samsung: Add fout=196608001 Hz EPLL rate entry for exynos4412
        clk: samsung: exynos5250: Add missing clocks for FIMC LITE SYSMMU devices
        clk: samsung: exynos5420: Add more entries to EPLL rate table
        clk: samsung: exynos5420: Add CLK_SET_RATE_PARENT flag to mout_mau_epll_clk
        clk: samsung: exynos5250: Move PD-dependent clocks to Exynos5 sub-CMU
        clk: samsung: exynos5420: Move PD-dependent clocks to Exynos5 sub-CMU
        clk: samsung: Add Exynos5 sub-CMU clock driver
        soc: samsung: pm_domains: Add blacklisting clock handling
        clk: samsung: Add compile time PLL rate validators
        clk: samsung: s3c2410: Fix PLL rates
        clk: samsung: exynos7: Fix PLL rates
        clk: samsung: exynos5433: Fix PLL rates
        clk: samsung: exynos5260: Fix PLL rates
        clk: samsung: exynos5250: Fix PLL rates
        clk: samsung: exynos3250: Fix PLL rates
        clk: exynos5433: Extend list of available AUD_PLL output frequencies
        clk: exynos5433: Add CLK_IGNORE_UNUSED flag to sclk_ioclk_i2s1_bclk
        clk: samsung: Add a git tree entry to MAINTAINERS
        clk: samsung: Remove redundant dev_err call in exynos_audss_clk_probe()
        ...
      15afa044
  2. 16 Mar, 2018 3 commits
    • Stephen Boyd's avatar
      clk: samsung: Mark a few things static · 1871f0fc
      Stephen Boyd authored
      Running sparse on the samsung clk directory has some noise that we can
      fix to look for future problems easier.
      
      drivers/clk/samsung/clk-s3c2443.c:111:26: warning: symbol 's3c2443_common_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:139:26: warning: symbol 's3c2443_common_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:152:27: warning: symbol 's3c2443_common_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:186:28: warning: symbol 's3c2443_common_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:241:26: warning: symbol 's3c2416_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:247:26: warning: symbol 's3c2416_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:253:27: warning: symbol 's3c2416_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:263:28: warning: symbol 's3c2416_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:291:26: warning: symbol 's3c2443_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:296:27: warning: symbol 's3c2443_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:305:28: warning: symbol 's3c2443_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:321:26: warning: symbol 's3c2450_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:328:26: warning: symbol 's3c2450_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:334:27: warning: symbol 's3c2450_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:345:28: warning: symbol 's3c2450_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:368:33: warning: symbol 's3c2443_common_frate_clks' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2443.c:464:49: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2443.c:470:49: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2443.c:476:49: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2412.c:96:26: warning: symbol 's3c2412_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:108:35: warning: symbol 's3c2412_ffactor' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:128:26: warning: symbol 's3c2412_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:146:27: warning: symbol 's3c2412_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:177:28: warning: symbol 's3c2412_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:227:33: warning: symbol 's3c2412_common_frate_clks' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2412.c:292:43: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2410.c:98:26: warning: symbol 's3c2410_common_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:114:26: warning: symbol 's3c2410_common_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:119:27: warning: symbol 's3c2410_common_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:138:28: warning: symbol 's3c2410_common_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:203:26: warning: symbol 's3c2410_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:207:35: warning: symbol 's3c2410_ffactor' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:218:28: warning: symbol 's3c2410_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:272:26: warning: symbol 's3c244x_common_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:277:35: warning: symbol 's3c244x_common_ffactor' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:294:26: warning: symbol 's3c244x_common_dividers' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:302:27: warning: symbol 's3c244x_common_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:306:28: warning: symbol 's3c244x_common_aliases' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:321:26: warning: symbol 's3c2440_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:325:27: warning: symbol 's3c2440_gates' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:331:35: warning: symbol 's3c2442_ffactor' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:337:26: warning: symbol 's3c2442_muxes' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:346:33: warning: symbol 's3c2410_common_frate_clks' was not declared. Should it be static?
      drivers/clk/samsung/clk-s3c2410.c:471:49: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2410.c:477:49: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-s3c2410.c:483:49: warning: Using plain integer as NULL pointer
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      1871f0fc
    • Stephen Boyd's avatar
      Merge tag 'clk-v4.17-samsung' of... · c7e4e0d7
      Stephen Boyd authored
      Merge tag 'clk-v4.17-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk into clk-samsung
      
      Pull samsung clk driver updates from Sylwester Nawrocki:
      
      This change set includes the PLL rate definition fixes and an addition
      of compile time PLL rate validation macros. It adds definitions of some
      missing clocks and extends the PLL rate tables required in the sound
      subsystem.
      
      In order to handle dependencies of clocks on the power domains a clock
      provider sub-driver is added for Exynos5 SoCs. In newer Exynos SoCs
      there is no need to do such things as the clocks/power domain relations
      are more clearly defined and better documented.
      
      * tag 'clk-v4.17-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk: (21 commits)
        clk: samsung: Add fout=196608001 Hz EPLL rate entry for exynos4412
        clk: samsung: exynos5250: Add missing clocks for FIMC LITE SYSMMU devices
        clk: samsung: exynos5420: Add more entries to EPLL rate table
        clk: samsung: exynos5420: Add CLK_SET_RATE_PARENT flag to mout_mau_epll_clk
        clk: samsung: exynos5250: Move PD-dependent clocks to Exynos5 sub-CMU
        clk: samsung: exynos5420: Move PD-dependent clocks to Exynos5 sub-CMU
        clk: samsung: Add Exynos5 sub-CMU clock driver
        soc: samsung: pm_domains: Add blacklisting clock handling
        clk: samsung: Add compile time PLL rate validators
        clk: samsung: s3c2410: Fix PLL rates
        clk: samsung: exynos7: Fix PLL rates
        clk: samsung: exynos5433: Fix PLL rates
        clk: samsung: exynos5260: Fix PLL rates
        clk: samsung: exynos5250: Fix PLL rates
        clk: samsung: exynos3250: Fix PLL rates
        clk: exynos5433: Extend list of available AUD_PLL output frequencies
        clk: exynos5433: Add CLK_IGNORE_UNUSED flag to sclk_ioclk_i2s1_bclk
        clk: samsung: Add a git tree entry to MAINTAINERS
        clk: samsung: Remove redundant dev_err call in exynos_audss_clk_probe()
        clk: samsung: Remove redundant dev_err call in exynos5433_cmu_probe()
        ...
      c7e4e0d7
    • Stephen Boyd's avatar
      Merge tag 'tegra-for-4.17-clk' of... · 91fab9d2
      Stephen Boyd authored
      Merge tag 'tegra-for-4.17-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-tegra
      
      Pull tegra clk driver updates from Thierry Reding:
      
      This contains preliminary work for the MBIST workaround implemented in
      the Tegra PMC driver. There's also some fixes to various clocks for bugs
      that went unnoticed for a long time.
      
      * tag 'tegra-for-4.17-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        clk: tegra: Fix pll_u rate configuration
        clk: tegra: Specify VDE clock rate
        clk: tegra20: Correct PLL_C_OUT1 setup
        clk: tegra: Mark HCLK, SCLK and EMC as critical
        clk: tegra: MBIST work around for Tegra210
        clk: tegra: add fence_delay for clock registers
        clk: tegra: Add la clock for Tegra210
      91fab9d2
  3. 15 Mar, 2018 1 commit
  4. 14 Mar, 2018 4 commits
    • Stephen Boyd's avatar
      clk: meson: Drop unused local variable and add static · 5d1c04dd
      Stephen Boyd authored
      Fixes the following warnings:
      
      drivers/clk/meson/meson8b.c:512:19: warning: symbol 'meson8b_mpeg_clk_div' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c:526:19: warning: symbol 'meson8b_clk81' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c:540:19: warning: symbol 'meson8b_cpu_in_sel' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c:591:19: warning: symbol 'meson8b_cpu_scale_div' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c:608:19: warning: symbol 'meson8b_cpu_scale_out_sel' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c:626:19: warning: symbol 'meson8b_cpu_clk' was not declared. Should it be static?
      drivers/clk/meson/gxbb.c:392:27: warning: symbol 'gxbb_gp0_init_regs' was not declared. Should it be static?
      drivers/clk/meson/gxbb.c:439:27: warning: symbol 'gxl_gp0_init_regs' was not declared. Should it be static?
      drivers/clk/meson/axg.c:195:27: warning: symbol 'axg_gp0_init_regs' was not declared. Should it be static?
      drivers/clk/meson/axg.c:248:27: warning: symbol 'axg_hifi_init_regs' was not declared. Should it be static?
      drivers/clk/meson/meson8b.c: In function 'meson8b_clkc_probe':
      drivers/clk/meson/meson8b.c:1052:14: warning: unused variable 'clk' [-Wunused-variable]
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      5d1c04dd
    • Stephen Boyd's avatar
      Merge tag 'clk-for-v4.17-1' of https://github.com/BayLibre/clk-meson into clk-amlogic · 186dcd4a
      Stephen Boyd authored
      Pull amlogic clk driver updates from Neil Armstrong:
      
       - pll fixes for GXBB, GXL and AXG
       - use regmap in clock controllers for GXBB, GXL and AXG
       - general clock updates for Meson8, GXBB, GXL and AXG
      
      (Based on the clk-helpers topic branch as a dependency)
      
      * tag 'clk-for-v4.17-1' of https://github.com/BayLibre/clk-meson: (49 commits)
        clk: meson: clean-up clk81 clocks
        clk: meson: add fdiv clock gates
        clk: meson: add mpll pre-divider
        clk: meson: axg: add hifi pll clock
        clk: meson: axg: add hifi clock bindings
        clk: meson: add ROUND_CLOSEST to the pll driver
        clk: meson: add gp0 frac parameter for axg and gxl
        clk: meson: improve pll driver results with frac
        clk: meson: remove special gp0 lock loop
        clk: meson: poke pll CNTL last
        clk: meson: add fractional part of meson8b fixed_pll
        clk: meson: use hhi syscon if available
        clk: meson: remove obsolete cpu_clk
        clk: meson: rework meson8b cpu clock
        clk: meson: split divider and gate part of mpll
        clk: meson: migrate plls clocks to clk_regmap
        clk: meson: migrate the audio divider clock to clk_regmap
        clk: meson: migrate mplls clocks to clk_regmap
        clk: meson: add regmap helpers for parm
        clk: meson: migrate muxes to clk_regmap
        ...
      186dcd4a
    • Stephen Boyd's avatar
      Merge tag 'ti-clk-for-4.17' of https://github.com/t-kristo/linux-pm into clk-ti · 401fd20f
      Stephen Boyd authored
      Pull TI SoC clock updates for 4.17 from Tero Kristo:
      
      * tag 'ti-clk-for-4.17' of https://github.com/t-kristo/linux-pm:
        clk: keystone: sci-clk: add support for dynamically probing clocks
        clk: ti: add support for clock latching to mux clocks
        clk: ti: add support for clock latching to divider clocks
        clk: ti: add generic support for clock latching
        clk: ti: add support for register read-modify-write low-level operation
        dt-bindings: clock: ti: add latching support to mux and divider clocks
      401fd20f
    • Marek Szyprowski's avatar
      clk: samsung: exynos5250: Add missing clocks for FIMC LITE SYSMMU devices · 5b23fcee
      Marek Szyprowski authored
      FIMC LITE SYSMMU devices are defined in exynos5250.dtsi, but clocks for
      them are not instantiated by Exynos5250 clock provider driver. Add needed
      definitions for those clocks to fix IOMMU probe failure:
      
      ERROR: could not get clock /soc/sysmmu@13c40000:sysmmu(0)
      exynos-sysmmu 13c40000.sysmmu: Failed to get device clock(s)!
      exynos-sysmmu: probe of 13c40000.sysmmu failed with error -38
      ERROR: could not get clock /soc/sysmmu@13c50000:sysmmu(0)
      exynos-sysmmu 13c50000.sysmmu: Failed to get device clock(s)!
      exynos-sysmmu: probe of 13c50000.sysmmu failed with error -38
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Fixes: bfed1074 ("clk: exynos5250: Add missing sysmmu clocks for DISP and ISP blocks")
      Acked-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      5b23fcee
  5. 13 Mar, 2018 31 commits