Skip to content
Snippets Groups Projects
  1. Dec 04, 2016
    • Suman Anna's avatar
      ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP · 1b42ab3e
      Suman Anna authored
      
      This patch adds support to update the device-tree blob to adjust the
      DSP and IVA DPLL clocks pertinent to the selected OPP choice, with
      the default being OPP_NOM. The voltage settings are done in u-boot,
      but the actual clock configuration itself is done in kernel because
      of the following reasons:
      1. SoC definition constraints us to NOT to do dynamic voltage
         scaling ever after the initial avs0 setting in bootloader
         - so the voltage must be set in bootloader.
      2. The voltage level must be set even if the IP blocks like
         GPU/DSP are unused.
      3. The IVA, GPU and DSP DPLLs are not essential for u-boot functionality,
         and similar DPLL clock configuration code has been cleaned up in
         v2014.10 u-boot release. See commit, 02c41535 ("ARM: OMAP4/5:
         Remove dead code against CONFIG_SYS_CLOCKS_ENABLE_ALL").
      
      The non-essential DPLLs are configured within the kernel during
      the clock init step when parsing the device tree and creating
      the clock devices. This approach meets both the u-boot and kernel
      needs.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarSubhajit Paul <subhajit_paul@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      1b42ab3e
    • Suman Anna's avatar
      ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig · fba82eb7
      Suman Anna authored
      
      Redefine the macros used to define the voltage values and the
      efuse register offsets based on OPP for all the voltage domains.
      This is done using Kconfig macros that can be set in a defconfig
      or selected during a config step. This allows a voltage domain
      to be configured/set to a corresponding voltage value depending
      on the OPP selection choice.
      
      The Kconfig choices have been added for MPU, DSPEVE, IVA and GPU
      voltage domains, with the MPU domain restricted to OPP_NOM. The
      OPP_OD and OPP_HIGH options will be added when the support for
      configuring the MPU clock frequency is added. The clock
      configuration for other voltage domains is out of scope in
      u-boot code.
      
      The CORE voltage domain does not have separate voltage values
      and efuse register offset at different OPPs, while the MPU
      voltage domain only has different efuse register offsets for
      different OPPs, but uses the same voltage value. Any different
      choices of OPPs for voltage domains on common ganged-rails
      is automatically taken care to select the corresponding
      highest OPP voltage value.
      
      Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      fba82eb7
    • Lokesh Vutla's avatar
      ARM: OMAP4+: Add support for dynamically selecting OPPs · beb71279
      Lokesh Vutla authored
      
      It can be expected that different paper spins of a SoC can have
      different definitions for OPP and can have their own constraints
      on the boot up OPP for each voltage rail. In order to have this
      flexibility, add support for dynamically selecting the OPP voltage
      based on the board to handle any such exceptions.
      
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      beb71279
    • Tom Rini's avatar
      omap4_sdp4430: Disable SPL_OS_BOOT · f2388331
      Tom Rini authored
      
      We are tight on space on this board so drop SPL_OS_BOOT
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      f2388331
    • Tom Rini's avatar
      73eed452
  2. Dec 03, 2016
Loading