1. 21 5月, 2015 1 次提交
  2. 01 4月, 2015 2 次提交
  3. 27 3月, 2015 2 次提交
  4. 15 1月, 2015 1 次提交
    • T
      ARM: OMAP2+: Fix ti81xx devtype · e226ebe9
      Tony Lindgren 提交于
      Otherwise we get error "Cannot detect omap type!" and many
      things can fail with following:
      
      Unhandled fault: imprecise external abort (0xc06) at 0xc6031fb0
      
      This is because the omap_type is being used to set up th SoC
      specific functions for omaps.
      
      Cc: Brian Hutchinson <b.hutchman@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e226ebe9
  5. 06 1月, 2015 1 次提交
    • L
      ARM: dra7xx: Fix counter frequency drift for AM572x errata i856 · afc9d590
      Lennart Sorensen 提交于
      Errata i856 for the AM572x (DRA7xx) points out that the 32.768KHz external
      crystal is not enabled at power up.  Instead the CPU falls back to using
      an emulation for the 32KHz clock which is SYSCLK1/610.  SYSCLK1 is usually
      20MHz on boards so far (which gives an emulated frequency of 32.786KHz),
      but can also be 19.2 or 27MHz which result in much larger drift.
      
      Since this is used to drive the master counter at 32.768KHz * 375 /
      2 = 6.144MHz, the emulated speed for 20MHz is of by 570ppm, or about 43
      seconds per day, and more than the 500ppm NTP is able to tolerate.
      
      Checking the CTRL_CORE_BOOTSTRAP register can determine if the CPU
      is using the real 32.768KHz crystal or the emulated SYSCLK1/610, and
      by known that the real counter frequency can be determined and used.
      The real speed is then SYSCLK1 / 610 * 375 / 2 or SYSCLK1 * 75 / 244.
      Signed-off-by: NLen Sorensen <lsorense@csclub.uwaterloo.ca>
      Tested-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      afc9d590
  6. 09 7月, 2014 1 次提交
  7. 04 7月, 2014 2 次提交
  8. 20 10月, 2013 1 次提交
  9. 18 6月, 2013 1 次提交
  10. 09 6月, 2013 1 次提交
  11. 18 12月, 2012 1 次提交
  12. 09 11月, 2012 1 次提交
  13. 06 11月, 2012 1 次提交
    • V
      ARM: OMAP4: OPP: add OMAP4460 definitions · df7cded3
      Vishwanath Sripathy 提交于
      Add OMAP4460 OPP definitions for voltage and frequencies based on
      OMAP4460 ES1.0 DM Operating Condition Addendum Version 0.1
      
      The following exceptions are present:
      * Smartreflex support is still on experimental mode: the gains and min
        limits are currently pending characterization data. Currently OMAP4430 values
        are used.
      * Efuse offset for core OPP100-OV setting is not clear in documentation.
      * IVA OPPs beyond OPP100 are disabled due to the delta between max OMAP4460
        current requirements and Phoenix Max supply on VCORE2 in the default
        configuration - boards which have supply which can support this should
        explicitly call opp_enable and enable the same.
      * MPU OPPs > OPPTURBO can easily be detected using a efuse burnt - currently
        disabled pending clock changes to support DCC feature.
      
      [nm@ti.com: cleanups and updates from Datamanual]
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NVishwanath BS <vishwanath.bs@ti.com>
      [t-kristo@ti.com: rebased to linux-3.6-rc5]
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      df7cded3
  14. 23 9月, 2012 1 次提交
    • V
      ARM: AM33XX: cm: Add bit-field width values · a86c0b98
      Vaibhav Hiremath 提交于
      The new common clk framework includes basic definitions for mux and
      divider clocks.  These definitions depend on shift and width values
      instead of the pre-computed masks that the OMAP/AM33XX clk framework
      has traditionally used when accessing the register to control the
      mux or divisor.
      
      To ease this transition the masks are left intact and
      the width field is simply added alongside the shift and mask data.
      Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
      Cc: Rajendra Nayak <rnayak@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Mike Turquette <mturquette@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      a86c0b98
  15. 21 9月, 2012 4 次提交
  16. 13 9月, 2012 1 次提交
  17. 09 7月, 2012 1 次提交
  18. 04 7月, 2012 1 次提交
  19. 19 6月, 2012 1 次提交
    • O
      ARM: OMAP2+: control: new APIs to configure boot address and mode · 90f1380e
      Omar Ramirez Luna 提交于
      SCM contains boot addr and boot mode registers to control
      other processors on different OMAP versions. It controls the
      boot address and mode for DSP based subsystems like: IVA 2.1
      (OMAP2430), IVA 2.2 (OMAP3) and DSP (OMAP4).
      
      If contained within SCM registers, when a processor is
      booting it uses BOOTADDR to start running the code at that
      location. BOOTMOD register specifies a different set of
      modes for the processor to execute when booting (from direct,
      idle, self-loop, user and default).
      
      Since there was no offset associated with OMAP4, this patch
      defines it.
      Signed-off-by: NOmar Ramirez Luna <omar.luna@linaro.org>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      90f1380e
  20. 18 6月, 2012 1 次提交
    • V
      ARM: OMAP2+: control: Add AM33XX control reg & sec clkctrl offset · 2e113c64
      Vaibhav Hiremath 提交于
      Define AM33XX control register, in order to allow access to
      control register address space, also add CONTROL_SEC_CLK_CTRL
      register offset; both are required in clock tree data,
      for wdt0 and timer0 clock source select configuration.
      
      CONTROL.SEC_CLK_CTRL register is provided to select/configure
      clock input for WDT0 and TIMER0.
      Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      [paul@pwsan.com: added include of plat/am33xx.h to fix build break;
       added AM33XX_CONTROL_STATUS bitfields that will be needed for the clock
       tree; fixed some control.h whitespace problems while here]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      2e113c64
  21. 06 3月, 2012 1 次提交
  22. 25 2月, 2012 1 次提交
  23. 14 12月, 2011 1 次提交
    • H
      ARM: OMAP: TI81XX: Prepare for addition of TI814X support · a920360f
      Hemant Pedanekar 提交于
      This patch updates existing macros, functions used for TI816X, to enable
      addition of other SoCs belonging to TI81XX family (e.g., TI814X).
      
      The approach taken is to use TI81XX/ti81xx for code/data going to be common
      across all TI81XX devices.
      
      cpu_is_ti81xx() is introduced to handle code common across TI81XX devices.
      
      In addition, ti8168_evm_map_io() is now replaced with ti81xx_map_io() and moved
      in mach-omap2/common.c as same will be used for TI814X and is not board
      specific.
      Signed-off-by: NHemant Pedanekar <hemantp@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a920360f
  24. 24 6月, 2011 1 次提交
  25. 10 5月, 2011 1 次提交
  26. 17 2月, 2011 1 次提交
  27. 23 12月, 2010 3 次提交
    • T
      OMAP4: Adding voltage driver support · bd38107b
      Thara Gopinath 提交于
      OMAP4 has three scalable voltage domains vdd_mpu, vdd_iva
      and vdd_core. This patch adds the voltage tables and other
      configurable voltage processor and voltage controller
      settings to control these three scalable domains in OMAP4.
      Signed-off-by: NThara Gopinath <thara@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      bd38107b
    • T
      OMAP3: PM: Adding voltage driver support. · 2f34ce81
      Thara Gopinath 提交于
      This patch adds voltage driver support for OMAP3. The driver
      allows  configuring the voltage controller and voltage
      processors during init and exports APIs to enable/disable
      voltage processors, scale voltage and reset voltage.
      The driver maintains the global voltage table on a per
      VDD basis which contains the various voltages supported by the
      VDD along with per voltage dependent data like smartreflex
      efuse offset, errminlimit and voltage processor errorgain.
      The driver also allows the voltage parameters dependent on the
      PMIC to be passed from the PMIC file through an API.
      The driver allows scaling of VDD voltages either through
      "vc bypass method" or through "vp forceupdate method" the
      choice being configurable through the board file.
      
      This patch contains code originally in linux omap pm branch
      smartreflex driver.  Major contributors to this driver are
      Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley,
      Nishant Menon, Kevin Hilman. The separation of PMIC parameters
      into a separate structure which can be populated from
      the PMIC file is based on the work of Lun Chang from Motorola
      in an internal tree.
      Signed-off-by: NThara Gopinath <thara@ti.com>
      [khilman: fixed link error for OMAP2-only defconfig]
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      2f34ce81
    • A
      OMAP3: fix typo in OMAP3_IVA_MASK · 4e012e5f
      Arno Steffen 提交于
      OMAP3_IVA_MASK should use OMAP3_IVA_SHIFT instead of OMAP3_SGX_SHIFT
      Signed-off-by: NArno Steffen <arno.steffen@googlemail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      4e012e5f
  28. 22 12月, 2010 4 次提交
  29. 09 10月, 2010 1 次提交
    • P
      OMAP: control: move plat-omap/control.h to mach-omap2/control.h · 4814ced5
      Paul Walmsley 提交于
      Only OMAP2+ platforms have the System Control Module (SCM) IP block.
      In the past, we've kept the SCM header file in plat-omap.  This has
      led to abuse - device drivers including it; includes being added that
      create implicit dependencies on OMAP2+ builds; etc.
      
      In response, move the SCM headers into mach-omap2/.
      
      As part of this, remove the direct SCM access from the OMAP UDC
      driver.  It was clearly broken.  The UDC code needs an indepth review for
      use on OMAP2+ chips.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Cory Maccarrone <darkstar6262@gmail.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      4814ced5