1. 03 3月, 2015 1 次提交
  2. 19 2月, 2015 1 次提交
  3. 20 1月, 2015 2 次提交
  4. 13 1月, 2015 2 次提交
  5. 09 1月, 2015 1 次提交
  6. 06 1月, 2015 1 次提交
  7. 05 1月, 2015 6 次提交
    • A
      ARM: imx: support arm power off in cpuidle for i.mx6sx · 05136f08
      Anson Huang 提交于
      This patch introduces an independent cpuidle driver for
      i.MX6SX, and supports arm power off in idle, totally
      3 levels of cpuidle are supported as below:
      
      1. ARM WFI;
      2. SOC in WAIT mode;
      3. SOC in WAIT mode + ARM power off.
      
      ARM power off can save at least 5mW power.
      
      This patch also replaces imx6q_enable_rbc with imx6_enable_rbc.
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      05136f08
    • A
      ARM: imx: remove unnecessary setting for DSM · df096fde
      Anson Huang 提交于
      Now we support DSM in OCRAM for all i.MX6 SoCs,
      the resume entry point is set in asm code of
      suspend-imx6.S, so no need to set the resume
      entry point for SRC in pre-suspend flow.
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      df096fde
    • F
      ARM: imx6sx: Set PLL2 as parent of QSPI clocks · 7c168ed8
      Fabio Estevam 提交于
      The default qspi2_clk_sel field of register CCM_CS2CDR contains '110' which is
      marked as 'reserved', so we can't rely on the default value.
      
      Provide a proper parent for QSPI clocks to avoid a kernel oops:
      
      [    1.037920] Division by zero in kernel.
      [    1.041807] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc7-next-20141204-00002-g5aa23e1 #2143
      [    1.050967] Hardware name: Freescale i.MX6 SoloX (Device Tree)
      [    1.056853] Backtrace:
      [    1.059360] [<80011ea0>] (dump_backtrace) from [<8001203c>] (show_stack+0x18/0x1c)
      [    1.066982]  r6:00000000 r5:00000000 r4:00000000 r3:00000000
      [    1.072754] [<80012024>] (show_stack) from [<806b7100>] (dump_stack+0x88/0xa4)
      [    1.080038] [<806b7078>] (dump_stack) from [<80011d20>] (__div0+0x18/0x20)
      [    1.086958]  r5:be018500 r4:be017c00
      [    1.090600] [<80011d08>] (__div0) from [<802aa418>] (Ldiv0+0x8/0x10)
      [    1.097012] [<80504fbc>] (clk_divider_set_rate) from [<80503ddc>] (clk_change_rate+0x14c/0x17c)
      [    1.105759]  r7:00000000 r6:00000000 r5:be018500 r4:00000000
      [    1.111516] [<80503c90>] (clk_change_rate) from [<80503ea0>] (clk_set_rate+0x94/0x98)
      [    1.119391]  r8:be7e0368 r7:00000000 r6:be11a000 r5:be018500 r4:00000000 r3:00000000
      [    1.127290] [<80503e0c>] (clk_set_rate) from [<80410558>] (fsl_qspi_probe+0x23c/0x75c)
      [    1.135260]  r5:be11a010 r4:be350010
      [    1.138900] [<8041031c>] (fsl_qspi_probe) from [<80385a18>] (platform_drv_probe+0x50/0xac)
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      7c168ed8
    • A
      ARM: imx: correct the hardware clock gate setting for shared nodes · 3d27bc5c
      Anson Huang 提交于
      For those clk gates which hold share count, since its is_enabled
      callback is only checking the share count rather than reading
      the hardware register setting, in the late phase of kernel bootup,
      the clk_disable_unused action will NOT handle the scenario of
      share_count is 0 but the hardware setting is enabled, actually,
      U-Boot normally enables all clk gates, then those shared clk gates
      will be always enabled until they are used by some modules.
      
      So the problem would be: when kernel boot up, the usecount cat
      from clk tree is 0, but the clk gates actually is enabled in
      hardware register, it will confuse user and bring unnecessary power
      consumption.
      
      This patch adds .disable_unused callback and using hardware register
      check for .is_enabled callback of shared nodes to handle such scenario
      in late phase of kernel boot up, then the hardware status will match the
      clk tree info.
      Signed-off-by: NAnson Huang <b20788@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      3d27bc5c
    • S
      ARM: imx: pllv3: add shift for frequency multiplier · 60ad8467
      Stefan Agner 提交于
      Add shift capabilties for the frequency multiplier (DIV_SELECT) to
      support Vybrid's USB PLL oddity. The PLL3 and PLL7 are the only
      PLL control registers which have the DIV_SELECT bit shifted by
      one. Be aware, there are known documentation errors in the
      reference manual too.
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      60ad8467
    • S
      ARM vf610: add compatibilty strings of supported Vybrid SoC's · da06aae8
      Stefan Agner 提交于
      The Vybrid SoC family (in the kernel known as vf610) is a familiy
      of multiple similar SoC's. The VF5xx series comes without secondary
      Cortex-M4 core, while the second number VFx1x indicates the presence
      of a L2 cache controller.
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      da06aae8
  8. 01 1月, 2015 1 次提交
  9. 29 12月, 2014 1 次提交
  10. 05 12月, 2014 2 次提交
  11. 23 11月, 2014 12 次提交
  12. 22 11月, 2014 5 次提交
  13. 13 11月, 2014 1 次提交
    • D
      cpuidle: Invert CPUIDLE_FLAG_TIME_VALID logic · b82b6cca
      Daniel Lezcano 提交于
      The only place where the time is invalid is when the ACPI_CSTATE_FFH entry
      method is not set. Otherwise for all the drivers, the time can be correctly
      measured.
      
      Instead of duplicating the CPUIDLE_FLAG_TIME_VALID flag in all the drivers
      for all the states, just invert the logic by replacing it by the flag
      CPUIDLE_FLAG_TIME_INVALID, hence we can set this flag only for the acpi idle
      driver, remove the former flag from all the drivers and invert the logic with
      this flag in the different governor.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b82b6cca
  14. 04 11月, 2014 1 次提交
    • S
      ARM: imx: clk-vf610: define PLL's clock tree · c72c5532
      Stefan Agner 提交于
      So far, the required PLL's (PLL1/PLL2/PLL5) have been initialized
      by boot loader and the kernel code defined fixed rates according
      to those default configurations. Beginning with the USB PLL7 the
      code started to initialize the PLL's itself (using imx_clk_pllv3).
      
      However, since commit dc4805c2
      (ARM: imx: remove ENABLE and BYPASS bits from clk-pllv3 driver)
      imx_clk_pllv3 no longer takes care of the ENABLE and BYPASS bits,
      hence the USB PLL were not configured correctly anymore.
      
      This patch not only fixes those USB PLL's, but also makes use of
      the imx_clk_pllv3 for all PLL's and alignes the code with the PLL
      support of the i.MX6 series.
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      c72c5532
  15. 25 10月, 2014 1 次提交
  16. 20 10月, 2014 1 次提交
  17. 03 10月, 2014 1 次提交