1. 03 Apr, 2020 2 commits
    • Stephen Boyd's avatar
      Merge branches 'clk-phase-errors', 'clk-amlogic', 'clk-renesas' and 'clk-allwinner' into clk-next · 2d11e9a1
      Stephen Boyd authored
       - Don't show clk phase when it is invalid
      
      * clk-phase-errors:
        clk: rockchip: fix mmc get phase
        clk: Fix phase init check
        clk: Bail out when calculating phase fails during clk registration
        clk: Move rate and accuracy recalc to mostly consumer APIs
        clk: Use 'parent' to shorten lines in __clk_core_init()
        clk: Don't cache errors from clk_ops::get_phase()
      
      * clk-amlogic:
        clk: meson: meson8b: set audio output clock hierarchy
        clk: meson: g12a: add support for the SPICC SCLK Source clocks
        dt-bindings: clk: g12a-clkc: add SPICC SCLK Source clock IDs
        clk: meson: gxbb: set audio output clock hierarchy
        clk: meson: gxbb: add the gxl internal dac gate
        dt-bindings: clk: meson: add the gxl internal dac gate
      
      * clk-renesas:
        dt-bindings: clock: renesas: cpg-mssr: Convert to json-schema
        clk: renesas: rcar-usb2-clock-sel: Add reset_control
        clk: renesas: rcar-usb2-clock-sel: Add multiple clocks management
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add power-domains and resets properties
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix clock[-name]s properties
        clk: renesas: Remove use of ARCH_R8A7795
        clk: renesas: r8a77965: Add RPC clocks
        clk: renesas: r8a7796: Add RPC clocks
        clk: renesas: r8a7795: Add RPC clocks
        clk: renesas: rcar-gen3: Add CCREE clocks
      
      * clk-allwinner:
        clk: sunxi-ng: sun8i-de2: Sort structures
        clk: sunxi-ng: sun8i-de2: Add R40 specific quirks
        clk: sunxi-ng: sun8i-de2: Add rotation core clocks and reset for A83T
        clk: sunxi-ng: sun8i-de2: Don't reuse A83T resets
        clk: sunxi-ng: sun8i-de2: H6 doesn't have rotate core
        clk: sunxi-ng: sun8i-de2: Add rotation core clocks and reset for A64
        clk: sunxi-ng: sun8i-de2: Split out H5 definitions
        clk: sunxi-ng: a64: Export MBUS clock
      2d11e9a1
    • Stephen Boyd's avatar
      Merge branches 'clk-samsung', 'clk-formatting', 'clk-si5341' and 'clk-socfpga' into clk-next · ea0a1fb7
      Stephen Boyd authored
      * clk-samsung:
        clk: samsung: Remove redundant check in samsung_cmu_register_one
      
      * clk-formatting:
        clk: Fix continuation of of_clk_detect_critical()
      
      * clk-si5341:
        clk, clk-si5341: Support multiple input ports
      
      * clk-socfpga:
        clk: socfpga: stratix10: simplify parameter passing
        clk: stratix10: use do_div() for 64-bit calculation
      ea0a1fb7
  2. 16 Mar, 2020 2 commits
    • Stephen Boyd's avatar
      Merge tag 'sunxi-clk-for-5.7' of... · 8ca1f3c0
      Stephen Boyd authored
      Merge tag 'sunxi-clk-for-5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into clk-allwinner
      
      Pull Allwinner clk driver updates from Chen-Yu Tsai:
      
      Changes consist mainly of cleanups for the display engine clock driver,
      correcting clocks that don't exist. Also, the MBUS clock on the A64 is
      exported for the device tree to consume.
      
      * tag 'sunxi-clk-for-5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        clk: sunxi-ng: sun8i-de2: Sort structures
        clk: sunxi-ng: sun8i-de2: Add R40 specific quirks
        clk: sunxi-ng: sun8i-de2: Add rotation core clocks and reset for A83T
        clk: sunxi-ng: sun8i-de2: Don't reuse A83T resets
        clk: sunxi-ng: sun8i-de2: H6 doesn't have rotate core
        clk: sunxi-ng: sun8i-de2: Add rotation core clocks and reset for A64
        clk: sunxi-ng: sun8i-de2: Split out H5 definitions
        clk: sunxi-ng: a64: Export MBUS clock
      8ca1f3c0
    • Stephen Boyd's avatar
      Merge tag 'clk-renesas-for-v5.7-tag2' of... · f58272b6
      Stephen Boyd authored
      Merge tag 'clk-renesas-for-v5.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into clk-renesas
      
      Pull more Renesas clk driver updates from Geert Uytterhoeven:
      
        - Improved clock/reset handling for the R-Car USB2 Clock Selector
        - Conversion to json-schema of the Renesas CPG/MSSR DT bindings
      
      * tag 'clk-renesas-for-v5.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers:
        dt-bindings: clock: renesas: cpg-mssr: Convert to json-schema
        clk: renesas: rcar-usb2-clock-sel: Add reset_control
        clk: renesas: rcar-usb2-clock-sel: Add multiple clocks management
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add power-domains and resets properties
        dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix clock[-name]s properties
      f58272b6
  3. 11 Mar, 2020 1 commit
  4. 09 Mar, 2020 4 commits
  5. 06 Mar, 2020 3 commits
  6. 28 Feb, 2020 1 commit
    • Maxime Ripard's avatar
      clk: Fix phase init check · c3944ec8
      Maxime Ripard authored
      Commit 27608786 ("clk: Bail out when calculating phase fails during
      clk registration") introduced a check on error values at the time the
      clock is registered to bail out when such an error occurs. However, it
      doesn't check whether the returned value is positive which will happen
      if the driver returns a non-zero phase. Since a phase is usually a
      non-zero positive number this ends up returning something that isn't 0
      to the caller of __clk_core_init(), making most clks fail to register
      if they implement a phase clk op and return anything besides 0 for the
      phase.
      
      Fix this by returning the error if phase is less than zero or just
      return zero if the phase is a positive number.
      
      Fixes: 27608786 ("clk: Bail out when calculating phase fails during clk registration")
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://lkml.kernel.org/r/20200225134248.919889-1-maxime@cerno.techReported-by: default avatar"kernelci.org bot" <bot@kernelci.org>
      [sboyd@kernel.org: Reword commit text to provide clarity]
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      c3944ec8
  7. 21 Feb, 2020 2 commits
  8. 19 Feb, 2020 3 commits
  9. 13 Feb, 2020 3 commits
  10. 12 Feb, 2020 15 commits
  11. 11 Feb, 2020 1 commit
  12. 10 Feb, 2020 3 commits