1. 22 Apr, 2017 2 commits
    • Arnd Bergmann's avatar
      clk: ti: fix building without legacy omap3 · fc04f27d
      Arnd Bergmann authored
      When CONFIG_ATAGS or CONFIG_OMAP3 is disabled, we get a build error:
      
      In file included from include/linux/clk-provider.h:15:0,
                       from drivers/clk/ti/clk.c:19:
      drivers/clk/ti/clk.c: In function 'ti_clk_add_aliases':
      drivers/clk/ti/clk.c:438:29: error: 'simple_clk_match_table' undeclared (first use in this function); did you mean 'simple_attr_write'?
      
      Moving the match table down fixes it.
      
      Fixes: c17435c5 ("clk: ti: add API for creating aliases automatically for simple clock types")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      fc04f27d
    • Arnd Bergmann's avatar
      clk: ti: fix linker error with !SOC_OMAP4 · 2158a093
      Arnd Bergmann authored
      When none of the OMAP4-generation SoCs are enabled, we run into a link
      error for am43xx/am43xx:
      
      drivers/clk/ti/dpll.o: In function `of_ti_am3_dpll_x2_setup':
      dpll.c:(.init.text+0xd8): undefined reference to `clkhwops_omap4_dpllmx'
      
      This is easily fixed by adding another #ifdef.
      
      While looking at the code, I also spotted another problem with the
      assignment of hw_ops variable that is not used again later. I'm
      changing this to setting clk_hw->ops instead, which I guess is what
      was intended here.
      
      Fixes: 473adbf4 ("clk: ti: dpll44xx: fix clksel register initialization")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      [sboyd@codeaurora.org: Replaced fixes tag with correct one]
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      2158a093
  2. 19 Apr, 2017 25 commits
  3. 17 Apr, 2017 2 commits
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-next · e609f9f2
      Stephen Boyd authored
      * clk-fixes:
        clk: sunxi-ng: a33: gate then ungate PLL CPU clk after rate change
        clk: sunxi-ng: Add clk notifier to gate then ungate PLL clocks
        clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver
        clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER
        clk: stm32f4: fix: exclude values 0 and 1 for PLLQ
      e609f9f2
    • Stephen Boyd's avatar
      Merge tag 'sunxi-clk-fixes-for-4.11-2-bis' of... · e7590308
      Stephen Boyd authored
      Merge tag 'sunxi-clk-fixes-for-4.11-2-bis' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into clk-fixes
      
      Pull Allwinner clock fixes for 4.11 from Maxime Ripard:
      
      Two build errors fixes for the sunxi-ng drivers.
      
      The two other patches fix random CPU crashes happening on the A33 since
      CPUFreq has been enabled in 4.11.
      
      * tag 'sunxi-clk-fixes-for-4.11-2-bis' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        clk: sunxi-ng: a33: gate then ungate PLL CPU clk after rate change
        clk: sunxi-ng: Add clk notifier to gate then ungate PLL clocks
        clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver
        clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER
      e7590308
  4. 13 Apr, 2017 4 commits
  5. 12 Apr, 2017 7 commits