1. 20 May, 2015 2 commits
  2. 15 May, 2015 23 commits
    • Rob Herring's avatar
      clk: mmp: add PXA1928 clock support · df5338d9
      Rob Herring authored
      Add initial clock support for Marvell PXA1928. The PXA1928 is a mobile
      SOC and is similar to other MMP/PXA series of SOCs, so a lot of the
      existing infrastructure is reused here.
      
      Currently the PLLs are just fixed clocks, and not all leaf clocks are
      implemented.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      df5338d9
    • Rob Herring's avatar
      dt-bindings: Add pxa1928 clock binding · 8a3d9c16
      Rob Herring authored
      This adds the clock binding documentation for the Marvell PXA1928 SOC.
      The PXA1928 has 3 clock control blocks for different subsystems of the
      chip.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Kumar Gala <galak@codeaurora.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      8a3d9c16
    • Chanwoo Choi's avatar
      clk: Show correct information when fail to set clock rate · 2885c3b2
      Chanwoo Choi authored
      This patch shows the correct information for debugging when fail
      to set clock rate because original error message shows the error
      value instead of current clock rate.
      
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
      Acked-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      2885c3b2
    • Stephen Boyd's avatar
      clk: Kconfig: Move bcm Kconfig into clk menu · 64a12c56
      Stephen Boyd authored
      Having this Kconfig sourced outside the clk menu means the option
      is under the "Device Drivers" menu instead of the "Common Clock
      Framework" menu. Move it so that the bcm clock config options are
      in the right place.
      
      Cc: Alex Elder <elder@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      64a12c56
    • Stephen Boyd's avatar
      clk: u300: Silence sparse warnings · 6c417816
      Stephen Boyd authored
      drivers/clk/clk-u300.c:1175:13: warning: symbol 'u300_clk_init' was not declared. Should it be static?
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      6c417816
    • Stephen Boyd's avatar
      clk: moxart: Silence sparse warnings · 61ad23a1
      Stephen Boyd authored
      drivers/clk/clk-moxart.c:18:13: warning: symbol 'moxart_of_pll_clk_init' was not declared. Should it be static?
      drivers/clk/clk-moxart.c:56:13: warning: symbol 'moxart_of_apb_clk_init' was not declared. Should it be static?
      
      Cc: Jonas Jensen <jonas.jensen@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      61ad23a1
    • Stephen Boyd's avatar
      clk: xgene: Silence sparse warnings · 6ae5fd38
      Stephen Boyd authored
      drivers/clk/clk-xgene.c:77:43: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/clk-xgene.c:77:43:    expected void *csr
      drivers/clk/clk-xgene.c:77:43:    got void [noderef] <asn:2>*
      ...
      drivers/clk/clk-xgene.c: In function ‘xgene_clk_enable’:
      drivers/clk/clk-xgene.c:237:3: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘phys_addr_t’ [-Wformat]
      drivers/clk/clk-xgene.c:248:3: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘phys_addr_t’ [-Wformat]
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      6ae5fd38
    • Stephen Boyd's avatar
      clk: mmp: Silence sparse warnings · 52127755
      Stephen Boyd authored
      drivers/clk/mmp/clk-apbc.c:118:16: warning: symbol 'clk_apbc_ops' was not declared. Should it be static?
      drivers/clk/mmp/clk-apmu.c:64:16: warning: symbol 'clk_apmu_ops' was not declared. Should it be static?
      
      Cc: Chao Xie <chao.xie@marvell.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      52127755
    • Stephen Boyd's avatar
      clk: socfpga: Silence sparse warning · e45310bf
      Stephen Boyd authored
      drivers/clk/socfpga/clk-periph.c:79:39: warning: Using plain integer as NULL pointer
      
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      e45310bf
    • Stephen Boyd's avatar
      clk: versatile: Silence sparse warnings · 11bee5e1
      Stephen Boyd authored
      drivers/clk/versatile/clk-sp810.c:159:29: error: incompatible types for operation (<=)
      drivers/clk/versatile/clk-sp810.c:159:29:    left side has type char const *<noident>
      drivers/clk/versatile/clk-sp810.c:159:29:    right side has type int
      drivers/clk/versatile/clk-sp810.c:159:53: error: incompatible types for operation (<=)
      drivers/clk/versatile/clk-sp810.c:159:53:    left side has type char const *<noident>
      drivers/clk/versatile/clk-sp810.c:159:53:    right side has type int
      drivers/clk/versatile/clk-sp810.c:138:13: warning: symbol 'clk_sp810_of_setup' was not declared. Should it be static?
      
      Acked: Pawel Moll <pawel.moll@arm.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      11bee5e1
    • Stephen Boyd's avatar
      clk: ti: Silence sparse warnings · 412d6b47
      Stephen Boyd authored
      drivers/clk/ti/clk.c:125:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:125:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:125:31:    got void *
      drivers/clk/ti/clk.c:132:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:132:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:132:31:    got void *
      drivers/clk/ti/dpll.c:180:14: warning: symbol '_get_reg' was not declared. Should it be static?
      drivers/clk/ti/fapll.c:624:32: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:625:31: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:630:40: warning: Using plain integer as NULL pointer
      drivers/clk/ti/clk-dra7-atl.c:158:22: warning: symbol 'atl_clk_ops' was not declared. Should it be static?
      drivers/clk/ti/clk-dra7-atl.c:170:39: warning: Using plain integer as NULL pointer
      Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      412d6b47
    • Stephen Boyd's avatar
      clk: st: Silence sparse warnings · 8e6dd77c
      Stephen Boyd authored
      drivers/clk/st/clkgen-mux.c:134:4: warning: symbol 'clkgena_divmux_get_parent' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:171:15: warning: symbol 'clkgena_divmux_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:218:12: warning: symbol 'clk_register_genamux' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:388:13: warning: symbol 'st_of_clkgena_divmux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:488:13: warning: symbol 'st_of_clkgena_prediv_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:625:13: warning: symbol 'st_of_clkgen_mux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:702:13: warning: symbol 'st_of_clkgen_vcc_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:273:15: warning: symbol 'recalc_stm_pll800c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:300:15: warning: symbol 'recalc_stm_pll1600c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:324:15: warning: symbol 'recalc_stm_pll3200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:346:15: warning: symbol 'recalc_stm_pll1200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:565:19: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:565:19:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:565:19:    got void *
      drivers/clk/st/clkgen-pll.c:576:18: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:576:18:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:576:18:    got void *
      drivers/clk/st/clkgen-pll.c:693:53: warning: incorrect type in argument 2 (different address spaces)
      drivers/clk/st/clkgen-pll.c:693:53:    expected void *[noderef] <asn:2>reg
      drivers/clk/st/clkgen-pll.c:693:53:    got void [noderef] <asn:2>*[assigned] pll_base
      drivers/clk/st/clkgen-fsyn.c:495:5: warning: symbol 'clk_fs660c32_vco_get_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-fsyn.c:522:5: warning: symbol 'clk_fs660c32_vco_get_params' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:119:15: warning: symbol 'flexgen_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:177:12: warning: symbol 'clk_register_flexgen' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:263:13: warning: symbol 'st_of_flexgen_setup' was not declared. Should it be static?
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      8e6dd77c
    • Stephen Boyd's avatar
      clk: socfpga: Silence sparse warning · b011d386
      Stephen Boyd authored
      drivers/clk/socfpga/clk-gate.c:227:40: warning: Using plain integer as NULL pointer
      
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      b011d386
    • Stephen Boyd's avatar
      clk: sirf: Silence sparse warnings · f53f551b
      Stephen Boyd authored
      These are __iomem pointers. Mark them appropriately so we don't
      get sparse errors like
      
      drivers/clk/sirf/clk-common.c:60:16: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/sirf/clk-common.c:60:16:    expected void const volatile [noderef] <asn:2>*addr
      drivers/clk/sirf/clk-common.c:60:16:    got void *
      
      Cc: Barry Song <Baohua.Song@csr.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      f53f551b
    • Stephen Boyd's avatar
      clk: emev2: Silence sparse warnings · 43f53570
      Stephen Boyd authored
      drivers/clk/shmobile/clk-emev2.c:37:14: warning: symbol 'smu_base' was not declared. Should it be static?
      
      Cc: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
      Cc: Magnus Damm <damm@opensource.se>
      Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      43f53570
    • Stephen Boyd's avatar
      clk: samsung: Silence sparse warnings · f6704f9e
      Stephen Boyd authored
      drivers/clk/samsung/clk-exynos5260.c:138:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:328:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:392:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:494:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:583:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:644:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:779:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:898:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:962:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1018:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1165:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1373:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1829:40: warning: Using plain integer as NULL pointer
      Acked-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      f6704f9e
    • Stephen Boyd's avatar
      clk: hix5hd2: Silence sparse warnings · 4a77f817
      Stephen Boyd authored
      drivers/clk/hisilicon/clk-hix5hd2.c:255:13: warning: symbol 'hix5hd2_clk_register_complex' was not declared. Should it be static?
      Acked-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      4a77f817
    • Stephen Boyd's avatar
      clk: berlin: Silence sparse warning · 47c18e4c
      Stephen Boyd authored
      drivers/clk/berlin/berlin2-pll.c:94:12: warning: symbol 'berlin2_pll_register' was not declared. Should it be static?
      
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Acked-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      47c18e4c
    • Stephen Boyd's avatar
      clk: bcm/kona: Remove ccu_list · 7926b3f8
      Stephen Boyd authored
      This list doesn't look to be used. Let's remove it and any
      associated code that would be manipulating this list. This also
      silences this error:
      
      drivers/clk/bcm/clk-kona-setup.c:24:1: warning: symbol 'ccu_list' was not declared. Should it be static?
      Reviewed-by: default avatarAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      7926b3f8
    • Stephen Boyd's avatar
      clk: bcm/kona: Silence sparse warnings · 4cca1be4
      Stephen Boyd authored
      drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1)
      Reviewed-by: default avatarAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      4cca1be4
    • Stephen Boyd's avatar
      clk: max-gen: Silence sparse warnings · 9a39222d
      Stephen Boyd authored
      drivers/clk/clk-max-gen.c:82:16: warning: symbol 'max_gen_clk_ops' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:109:5: warning: symbol 'max_gen_clk_probe' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:183:5: warning: symbol 'max_gen_clk_remove' was not declared. Should it be static?
      Acked-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      9a39222d
    • Stephen Boyd's avatar
      clk: Silence sparse warnings about __clk_{get,put}() · 562ef0b0
      Stephen Boyd authored
      drivers/clk/clk.c:2700:5: warning: symbol '__clk_get' was not declared. Should it be static?
      drivers/clk/clk.c:2713:6: warning: symbol '__clk_put' was not declared. Should it be static?
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      562ef0b0
    • Stephen Boyd's avatar
      clk: gpio-gate: Don't export __init functions · 2bb5d1b8
      Stephen Boyd authored
      This function is marked as __init, so exposing it to modules
      doesn't make any sense and it isn't used by modules anyway.
      
      drivers/clk/clk-gpio-gate.c:192:13: warning: symbol 'of_gpio_gate_clk_setup' was not declared. Should it be static?
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      2bb5d1b8
  3. 14 May, 2015 2 commits
  4. 13 May, 2015 6 commits
  5. 08 May, 2015 3 commits
  6. 07 May, 2015 4 commits