1. 21 1月, 2015 3 次提交
  2. 18 1月, 2015 6 次提交
  3. 14 1月, 2015 2 次提交
  4. 29 12月, 2014 2 次提交
    • H
      clk: rockchip: fix rk3288 cpuclk core dividers · 9880d427
      Heiko Stuebner 提交于
      Commit 0e5bdb3f (clk: rockchip: switch to using the new cpuclk type
      for armclk) didn't take into account that the divider used on rk3288
      are of the (n+1) type.
      
      The rk3066 and rk3188 socs use more complex divider types making it
      necessary for the list-elements to be the real register-values to write.
      
      Therefore reduce divider values in the table accordingly so that they
      really are the values that should be written to the registers and match
      the dividers actually specified for the rk3288.
      Reported-by: NSonny Rao <sonnyrao@chromium.org>
      Fixes: 0e5bdb3f ("clk: rockchip: switch to using the new cpuclk type for armclk")
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: NDoug Anderson <dianders@chromium.org>
      Cc: stable@vger.kernel.org
      9880d427
    • H
      clk: rockchip: fix rk3066 pll lock bit location · 12551f02
      Heiko Stuebner 提交于
      The bit locations indicating the locking status of the plls on rk3066 are
      shifted by one to the right when compared to the rk3188, bits [7:4] instead
      of [8:5] on the rk3188, thus indicating the locking state of the wrong pll
      or a completely different information in case of the gpll.
      
      The recently introduced pll init code exposed that problem on some rk3066
      boards when it tried to bring the boot-pll value in line with the value
      from the rate table.
      
      Fix this by defining separate pll definitions for rk3066 with the correct
      locking indices.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Fixes: 2c14736c ("clk: rockchip: add clock driver for rk3188 and rk3066 clocks")
      Tested-by: NFUKAUMI Naoki <naobsd@gmail.com>
      Cc: stable@vger.kernel.org
      12551f02
  5. 21 12月, 2014 2 次提交
  6. 17 12月, 2014 1 次提交
  7. 16 12月, 2014 1 次提交
  8. 12 12月, 2014 1 次提交
  9. 04 12月, 2014 5 次提交
  10. 02 12月, 2014 6 次提交
    • K
      clk: samsung: Fix double add of syscore ops after driver rebind · c31844ff
      Krzysztof Kozlowski 提交于
      During driver unbind the syscore ops were not unregistered which lead to
      double add on syscore list:
      
      $ echo "3810000.audss-clock-controller" > /sys/bus/platform/drivers/exynos-audss-clk/unbind
      $ echo "3810000.audss-clock-controller" > /sys/bus/platform/drivers/exynos-audss-clk/bind
      [ 1463.044061] ------------[ cut here ]------------
      [ 1463.047255] WARNING: CPU: 0 PID: 1 at lib/list_debug.c:36 __list_add+0x8c/0xc0()
      [ 1463.054613] list_add double add: new=c06e52c0, prev=c06e52c0, next=c06d5f84.
      [ 1463.061625] Modules linked in:
      [ 1463.064623] CPU: 0 PID: 1 Comm: bash Tainted: G        W      3.18.0-rc5-next-20141121-00005-ga8fab06eab42-dirty #1022
      [ 1463.075338] [<c0014e2c>] (unwind_backtrace) from [<c0011d80>] (show_stack+0x10/0x14)
      [ 1463.083046] [<c0011d80>] (show_stack) from [<c048bb70>] (dump_stack+0x70/0xbc)
      [ 1463.090236] [<c048bb70>] (dump_stack) from [<c00233d4>] (warn_slowpath_common+0x74/0xb0)
      [ 1463.098295] [<c00233d4>] (warn_slowpath_common) from [<c00234a4>] (warn_slowpath_fmt+0x30/0x40)
      [ 1463.106962] [<c00234a4>] (warn_slowpath_fmt) from [<c020fe80>] (__list_add+0x8c/0xc0)
      [ 1463.114760] [<c020fe80>] (__list_add) from [<c0282094>] (register_syscore_ops+0x30/0x3c)
      [ 1463.122819] [<c0282094>] (register_syscore_ops) from [<c0392f20>] (exynos_audss_clk_probe+0x36c/0x460)
      [ 1463.132091] [<c0392f20>] (exynos_audss_clk_probe) from [<c0283084>] (platform_drv_probe+0x48/0xa4)
      [ 1463.141013] [<c0283084>] (platform_drv_probe) from [<c0281a14>] (driver_probe_device+0x13c/0x37c)
      [ 1463.149852] [<c0281a14>] (driver_probe_device) from [<c0280560>] (bind_store+0x90/0xe0)
      [ 1463.157822] [<c0280560>] (bind_store) from [<c027fd10>] (drv_attr_store+0x20/0x2c)
      [ 1463.165363] [<c027fd10>] (drv_attr_store) from [<c0143898>] (sysfs_kf_write+0x4c/0x50)
      [ 1463.173252] [<c0143898>] (sysfs_kf_write) from [<c0142c80>] (kernfs_fop_write+0xbc/0x198)
      [ 1463.181395] [<c0142c80>] (kernfs_fop_write) from [<c00e2be0>] (vfs_write+0xa0/0x1a8)
      [ 1463.189104] [<c00e2be0>] (vfs_write) from [<c00e2f00>] (SyS_write+0x40/0x8c)
      [ 1463.196122] [<c00e2f00>] (SyS_write) from [<c000f2a0>] (ret_fast_syscall+0x0/0x48)
      [ 1463.203655] ---[ end trace 08f6710c9bc8d8f3 ]---
      [ 1463.208244] exynos-audss-clk 3810000.audss-clock-controller: setup completed
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Fixes: 1241ef94 ("clk: samsung: register audio subsystem clocks using common clock framework")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      c31844ff
    • A
      clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi · df019a5c
      Andrzej Hajda 提交于
      sclk_hdmiphy clock is generated by HDMI-PHY and depends on hdmi gate clock.
      The patch models this dependency using parent/child hirerarchy.
      
      The patch fixes issue with system hangs during mixer device access, mixer uses
      sclk_hdmiphy descendant clock.
      Signed-off-by: NAndrzej Hajda <a.hajda@samsung.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      df019a5c
    • K
      clk: samsung: exynos4415: Fix build with PM_SLEEP disabled · b5f56e14
      Krzysztof Kozlowski 提交于
      Fix following build errors when PM_SLEEP is disabled (e.g. by disabling
      SUSPEND and HIBERNATION):
      
      drivers/clk/samsung/clk-exynos4415.c: In function ‘exynos4415_cmu_init’:
      drivers/clk/samsung/clk-exynos4415.c:982:2: error: ‘exynos4415_ctx’ undeclared (first use in this function)
      drivers/clk/samsung/clk-exynos4415.c:982:2: note: each undeclared identifier is reported only once for each function it appears in
      drivers/clk/samsung/clk-exynos4415.c: In function ‘exynos4415_cmu_dmc_init’:
      drivers/clk/samsung/clk-exynos4415.c:1123:2: error: ‘exynos4415_dmc_ctx’ undeclared (first use in this function)
      make[3]: *** [drivers/clk/samsung/clk-exynos4415.o] Error 1
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      b5f56e14
    • P
      clk: samsung: remove unnecessary inclusion of header files from clk.h · 8b2f6360
      Pankaj Dubey 提交于
      Let's remove unnecessary include of header files from clk.h and add
      required one in clk.c
      Signed-off-by: NPankaj Dubey <pankaj.dubey@samsung.com>
      [s.nawrocki@samsung.com: dropped removal of '#include <linux/syscore_ops.h>']
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      8b2f6360
    • P
      clk: samsung: remove unnecessary CONFIG_OF from clk.c · 7882857e
      Pankaj Dubey 提交于
      Remove unnecessary CONFIG_OF from samsung/clk.c.
      Signed-off-by: NPankaj Dubey <pankaj.dubey@samsung.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      7882857e
    • P
      clk: samsung: Spelling s/bwtween/between/ · 2e41b9fc
      Pankaj Dubey 提交于
      Fix a typo in comment section of "struct samsung_clk_provider".
      Signed-off-by: NPankaj Dubey <pankaj.dubey@samsung.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      2e41b9fc
  11. 01 12月, 2014 1 次提交
  12. 28 11月, 2014 3 次提交
  13. 27 11月, 2014 1 次提交
  14. 26 11月, 2014 2 次提交
  15. 25 11月, 2014 4 次提交