1. 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
  2. 13 Apr, 2017 4 commits
  3. 12 Apr, 2017 22 commits
  4. 07 Apr, 2017 8 commits
  5. 04 Apr, 2017 4 commits
    • Kevin Hilman's avatar
      Merge branch 'v4.12/clk-drivers' into v4.12/clk · 3a429818
      Kevin Hilman authored
      * v4.12/clk-drivers:
        clk: meson-gxbb: Add GXL/GXM GP0 Variant
        clk: meson-gxbb: Add GP0 PLL init parameters
        clk: meson: Add support for parameters for specific PLLs
        clk: meson-gxbb: Add MALI clocks
        clk: meson: mpll: correct N2 maximum value
        clk: meson8b: add the mplls clocks 0, 1 and 2
        clk: meson: gxbb: mpll: use rw operation
        clk: meson: mpll: add rw operation
        clk: gxbb: put dividers and muxes in tables
        clk: meson8b: put dividers and muxes in tables
        clk: meson: add missing const qualifiers on gate arrays
        clk: meson: fix SET_PARM macro
      3a429818
    • Neil Armstrong's avatar
      clk: meson-gxbb: Add GXL/GXM GP0 Variant · 0d48fc55
      Neil Armstrong authored
      The clock tree in the Amlogic GXBB and GXL/GXM SoCs is shared, but the GXL/GXM
      SoCs embeds a different GP0 PLL, and needs different parameters with a vendor
      provided reduced rate table.
      
      This patch adds the GXL GP0 variant, and adds a GXL DT compatible in order
      to use the GXL GP0 PLL instead of the GXBB specific one.
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/1490178747-14837-4-git-send-email-narmstrong@baylibre.com
      0d48fc55
    • Neil Armstrong's avatar
      clk: meson-gxbb: Add GP0 PLL init parameters · e194401c
      Neil Armstrong authored
      Tha Amlogic GXBB SoC GP0 PLL needs some vendor provided parameters to be
      initializated in the the GP0 control registers before configuring the rate
      with the rate table provided parameters.
      
      GXBB GP0 PLL tweaks are also selected to respect the vendor init procedure.
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/1490178747-14837-3-git-send-email-narmstrong@baylibre.com
      e194401c
    • Neil Armstrong's avatar
      clk: meson: Add support for parameters for specific PLLs · 45fcbec7
      Neil Armstrong authored
      In recent Amlogic GXBB, GXL and GXM SoCs, the GP0 PLL needs some specific
      parameters in order to initialize and lock correctly.
      
      This patch adds an optional PARAM table used to initialize the PLL to a
      default value with it's parameters in order to achieve to desired frequency.
      
      The GP0 PLL in GXBB, GXL/GXM also needs some tweaks in the initialization
      steps, and these are exposed along the PARAM table.
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Signed-off-by: default avatarMichael Turquette <mturquette@baylibre.com>
      Link: lkml.kernel.org/r/1490178747-14837-2-git-send-email-narmstrong@baylibre.com
      45fcbec7