1. 04 Jun, 2015 11 commits
  2. 03 Jun, 2015 6 commits
  3. 21 May, 2015 5 commits
  4. 20 May, 2015 4 commits
  5. 15 May, 2015 14 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