1. 17 Sep, 2021 1 commit
    • Dave Gerlach's avatar
      clk: ti: k3-pll: Change DIV_CTRL programming to read-modify-write · d3c56e2a
      Dave Gerlach authored and Tom Rini's avatar Tom Rini committed
      There are three different divider values in the DIV_CTRL register
      controlled by the k3-pll driver. Currently the ti_pll_clk_set_rate
      function writes the entire register when programming plld, even though
      plld only resides in the lower 6 bits.
      
      Change the plld programming to read-modify-write to only affect the
      relevant bits for plld and to preserve the other two divider values
      present in the upper 16 bits, otherwise they will always get set to zero
      when programming plld.
      
      Fixes: 0aa2930c
      
       ("clk: add support for TI K3 SoC PLL")
      Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
      d3c56e2a
  2. 11 Jun, 2021 3 commits
  3. 12 May, 2021 4 commits
  4. 22 Feb, 2021 1 commit
  5. 02 Feb, 2021 1 commit
    • Simon Glass's avatar
      common: Drop asm/global_data.h from common header · 401d1c4f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      
      Move this out of the common header and include it only where needed.  In
      a number of cases this requires adding "struct udevice;" to avoid adding
      another large header or in other cases replacing / adding missing header
      files that had been pulled in, very indirectly.   Finally, we have a few
      cases where we did not need to include <asm/global_data.h> at all, so
      remove that include.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      401d1c4f
  6. 15 Jan, 2021 1 commit
    • Dario Binacchi's avatar
      dm: fix build errors generated by last merges · b0db69b4
      Dario Binacchi authored and Tom Rini's avatar Tom Rini committed
      
      
      Something was wrong in the merge process into the mainline.
      Some added patches access driver structure fields and functions that
      have been modified by previous patches.
      The patch renames:
       - dev_get_platdata to dev_get_plat
       - dev_get_uclass_platdata to dev_get_uclass_plat
       - ofdata_to_platdata to of_to_plat
       - plat_data_alloc_size to plat_auto
       - priv_auto_alloc_size to priv_auto
       - video_uc_platdata to video_uc_plat
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      b0db69b4
  7. 12 Jan, 2021 7 commits
    • Dario Binacchi's avatar
      clk: move clk-ti-sci driver to 'ti' directory · 52b61c94
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      The patch moves the clk-ti-sci.c file to the 'ti' directory along with
      all the other TI's drivers, and renames it clk-sci.c.
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      52b61c94
    • Dario Binacchi's avatar
      clk: ti: omap4: add clock manager driver · 06c94c24
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      This minimal driver is only used to bind child devices.
      
      For DT binding details see Linux doc:
      - Documentation/devicetree/bindings/arm/omap/prcm.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      06c94c24
    • Dario Binacchi's avatar
      clk: ti: add support for clkctrl clocks · 215bd541
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      Until now the clkctrl clocks have been enabled/disabled through platform
      routines. Thanks to this patch they can be enabled and configured directly
      by the probed devices that need to use them.
      
      For DT binding details see Linux doc:
      - Documentation/devicetree/bindings/clock/ti-clkctrl.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      215bd541
    • Dario Binacchi's avatar
      clk: ti: add gate clock driver · 58e1af97
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      The patch adds support for TI gate clock binding. The code is based on
      the drivers/clk/ti/gate.c driver of the Linux kernel version 5.9-rc7.
      For DT binding details see:
      - Documentation/devicetree/bindings/clock/ti/gate.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      58e1af97
    • Dario Binacchi's avatar
      clk: ti: add divider clock driver · ea45b8f2
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      The patch adds support for TI divider clock binding. The driver uses
      routines provided by the common clock framework (ccf).
      
      The code is based on the drivers/clk/ti/divider.c driver of the Linux
      kernel version 5.9-rc7.
      For DT binding details see:
      - Documentation/devicetree/bindings/clock/ti/divider.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      ea45b8f2
    • Dario Binacchi's avatar
      clk: ti: am33xx: add DPLL clock drivers · 756d64e4
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      The digital phase-locked loop (DPLL) provides all interface clocks and
      functional clocks to the processor of the AM33xx device. The AM33xx
      device integrates five different DPLLs:
       * Core DPLL
       * Per DPLL
       * LCD DPLL
       * DDR DPLL
       * MPU DPLL
      
      The patch adds support for the compatible strings:
       * "ti,am3-dpll-core-clock"
       * "ti,am3-dpll-no-gate-clock"
       * "ti,am3-dpll-no-gate-j-type-clock"
       * "ti,am3-dpll-x2-clock"
      
      The code is loosely based on the drivers/clk/ti/dpll.c drivers of the
      Linux kernel version 5.9-rc7.
      For DT binding details see:
      - Documentation/devicetree/bindings/clock/ti/dpll.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      756d64e4
    • Dario Binacchi's avatar
      clk: ti: add mux clock driver · d09f063a
      Dario Binacchi authored and Lokesh Vutla's avatar Lokesh Vutla committed
      
      
      The driver manages a register-mapped multiplexer with multiple input
      clock signals or parents, one of which can be selected as output. It
      uses routines provided by the common clock framework (ccf).
      
      The code is based on the drivers/clk/ti/mux.c driver of the Linux
      kernel version 5.9-rc7.
      For DT binding details see:
      - Documentation/devicetree/bindings/clock/ti/mux.txt
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      d09f063a