Skip to content
Snippets Groups Projects
  1. Sep 11, 2018
    • Andreas Dannenberg's avatar
      clk: Introduce TI System Control Interface (TI SCI) clock driver · e585bef1
      Andreas Dannenberg authored
      
      Some TI Keystone 2 and K3 family of SoCs contain a system controller
      (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
      the Device Management and Security Controller on AM65x SoCs) that manage
      the low-level device control (like clocks, resets etc) for the various
      hardware modules present on the SoC. These device control operations are
      provided to the host processor OS through a communication protocol
      called the TI System Control Interface (TI SCI) protocol.
      
      This patch adds a clock driver that communicates to the system
      controller over the TI SCI protocol for performing clock management of
      various devices present on the SoC. Various clock functionality is
      achieved by the means of different TI SCI device operations provided by
      the TI SCI framework.
      
      This code is loosely based on the drivers/clk/keystone/sci-clk.c driver
      of the Linux kernel.
      
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Signed-off-by: default avatarAndreas Dannenberg <dannenberg@ti.com>
      Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      e585bef1
  2. Jul 20, 2018
  3. Mar 19, 2018
  4. Dec 11, 2017
  5. Sep 22, 2017
  6. Aug 13, 2017
    • Philipp Tomsich's avatar
      rockchip: rk3368: add DRAM controller driver with DRAM initialisation · 403e9cbc
      Philipp Tomsich authored
      
      This adds a DRAM controller driver for the RK3368 and places it in
      drivers/ram/rockchip (where the other DM-enabled DRAM controller
      drivers for rockchip devices should also be moved eventually).
      
      At this stage, only the following feature-set is supported:
       - DDR3
       - 32-bit configuration (i.e. fully populated)
       - dual-rank (i.e. no auto-detection of ranks)
       - DDR3-1600K speed-bin
      
      This driver expects to run from a TPL stage that will later return to
      the RK3368 BROM.  It communicates with later stages through the
      os_reg2 in the pmugrf (i.e. using the same mechanism as Rockchip's DDR
      init code).
      
      Unlike other DMC drivers for RK32xx and RK33xx parts, the required
      timings are calculated within the driver based on a target frequency
      and a DDR3 speed-bin (only the DDR3-1600K speed-bin is support at this
      time).
      
      The RK3368 also has the DDRC0_CON0 (DDR ch. 0, control-register 0)
      register for controlling the operation of its (single-channel) DRAM
      controller in the GRF block.  This provides for selecting DDR3, mobile
      DDR modes, and control low-power operation.
      As part of this change, DDRC0_CON0 is also added to the GRF structure
      definition (at offset 0x600).
      
      Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      403e9cbc
  7. Mar 17, 2017
  8. Mar 16, 2017
  9. Feb 01, 2016
  10. Sep 03, 2015
  11. Mar 29, 2012
Loading