1. 18 7月, 2014 3 次提交
  2. 16 5月, 2014 1 次提交
  3. 13 5月, 2014 1 次提交
  4. 30 4月, 2014 1 次提交
  5. 05 3月, 2014 7 次提交
  6. 19 2月, 2014 1 次提交
    • S
      ARM: imx6: build pm-imx6q.c independently of CONFIG_PM · 28a9f3b0
      Shawn Guo 提交于
      When building a kernel image with only CONFIG_CPU_IDLE but no CONFIG_PM,
      we will get the following link error.
      
        LD      init/built-in.o
      arch/arm/mach-imx/built-in.o: In function `imx6q_enter_wait':
      platform-spi_imx.c:(.text+0x25c0): undefined reference to `imx6q_set_lpm'
      platform-spi_imx.c:(.text+0x25d4): undefined reference to `imx6q_set_lpm'
      arch/arm/mach-imx/built-in.o: In function `imx6q_cpuidle_init':
      platform-spi_imx.c:(.init.text+0x75d4): undefined reference to `imx6q_set_chicken_bit'
      make[1]: *** [vmlinux] Error 1
      
      Since pm-imx6q.c has been a collection of library functions that access
      CCM low-power registers used by not only suspend but also cpuidle and
      other drivers, let's build pm-imx6q.c independently of CONFIG_PM to fix
      above error.
      Reported-by: NLucas Stach <l.stach@pengutronix.de>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: stable@vger.kernel.org
      Acked-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      28a9f3b0
  7. 31 12月, 2013 1 次提交
  8. 09 12月, 2013 1 次提交
    • G
      ARM: imx: add support code for IMX50 based machines · 374daac4
      Greg Ungerer 提交于
      Add machine support code for the Freescale IMX50 SoC.
      
      The IMX50 is quite similar to the Freescale IMX53, and contains many of the
      same periperhal hardware modules, at the same address offsets as the IMX53.
      (Notable exceptions are that the IMX50 contains no CAN bus hardware, less
      GPIO, no VPU, it does contain an Electrophoretic display controller though).
      
      This support code uses some of the IMX53 setup code to reduce duplication
      of what would be identical init IO setup.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      374daac4
  9. 11 11月, 2013 1 次提交
    • S
      ARM: imx: v7_cpu_resume() is needed by imx6sl build · 5d482172
      Shawn Guo 提交于
      Building a kernel with the following options,
      
        CONFIG_SMP=n
        CONFIG_PM=y
        CONFIG_SOC_IMX6SL=y
        CONFIG_SOC_IMX6Q=n
      
      we will see the build error below.
      
        arch/arm/mach-imx/built-in.o: In function `imx6q_pm_enter':
        platform-spi_imx.c:(.text+0x2648): undefined reference to `v7_cpu_resume'
        make[1]: *** [vmlinux] Error 1
      
      This is because that v7_cpu_resume() implemented in headsmp.S is also
      needed by imx6sl build.  Let's build headsmp.S for CONFIG_SOC_IMX6SL as
      well.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      5d482172
  10. 21 10月, 2013 1 次提交
    • S
      ARM: imx: enable suspend for imx6sl · 9ba64fe3
      Shawn Guo 提交于
      The imx6sl low power mode implementation inherits imx6q/dl one,
      and pm-imx6q.c can just work for imx6sl with some minor updates.
      Let's enable imx6sl suspend support by reusing pm-imx6q.c and use
      cpu_is_imxXX() to handle the those minor differences between imx6sl
      and imx6q/dl.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      9ba64fe3
  11. 16 8月, 2013 2 次提交
    • L
      ARM: imx: add common clock support for fixup mux · a49e6c4b
      Liu Ying 提交于
      One register may have several fields to control some clocks. It
      is possible that the read/write values of some fields may map to
      different real functional values, so writing to the other fields
      in the same register may break a working clock tree. A real case
      is the aclk_podf field in the register 'CCM Serial Clock Multiplexer
      Register 1' of i.MX6Q/SDL SoC. This patch introduces a fixup hook
      for multiplexer clock which is called before writing a value to
      clock registers to support this kind of multiplexer clocks.
      Signed-off-by: NLiu Ying <Ying.Liu@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      a49e6c4b
    • L
      ARM: imx: add common clock support for fixup div · cbe7fc8a
      Liu Ying 提交于
      One register may have several fields to control some clocks. It
      is possible that the read/write values of some fields may map to
      different real functional values, so writing to the other fields
      in the same register may break a working clock tree. A real case
      is the aclk_podf field in the register 'CCM Serial Clock Multiplexer
      Register 1' of i.MX6Q/SDL SoC. This patch introduces a fixup hook
      for divider clock which is called before writing a value to clock
      registers to support this kind of divider clocks.
      Signed-off-by: NLiu Ying <Ying.Liu@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      cbe7fc8a
  12. 17 6月, 2013 3 次提交
  13. 10 5月, 2013 1 次提交
    • F
      ARM: imx: Select GENERIC_ALLOCATOR · 60371952
      Fabio Estevam 提交于
      Since commit 657eee7d (media: coda: use genalloc API) the following build
      error happens with imx_v4_v5_defconfig:
      
      drivers/built-in.o: In function 'coda_remove':
      clk-composite.c:(.text+0x112180): undefined reference to 'gen_pool_free'
      drivers/built-in.o: In function 'coda_probe':
      clk-composite.c:(.text+0x112310): undefined reference to 'of_get_named_gen_pool'
      clk-composite.c:(.text+0x1123f4): undefined reference to 'gen_pool_alloc'
      clk-composite.c:(.text+0x11240c): undefined reference to 'gen_pool_virt_to_phys'
      clk-composite.c:(.text+0x112458): undefined reference to 'dev_get_gen_pool'
      
      Select GENERIC_ALLOCATOR and get rid of the custom IRAM_ALLOC.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      60371952
  14. 23 4月, 2013 1 次提交
  15. 12 4月, 2013 1 次提交
  16. 01 4月, 2013 1 次提交
  17. 30 1月, 2013 1 次提交
  18. 29 1月, 2013 3 次提交
  19. 12 11月, 2012 1 次提交
  20. 15 10月, 2012 3 次提交
  21. 12 9月, 2012 1 次提交
  22. 11 9月, 2012 1 次提交
  23. 24 8月, 2012 1 次提交
  24. 23 8月, 2012 2 次提交
    • A
      ARM: imx: build i.MX6 functions only when needed · 1fc593fe
      Arnd Bergmann 提交于
      The head-v7.S contains a call to the generic cpu_suspend function,
      which is only available when selected by the i.MX6 code. As
      pointed out by Shawn Guo, i.MX5 does not actually use any
      functions defined in head-v7.S. It is also needed only for
      the i.MX6 power management code and for the SMP code, so
      we can restrict building this file to situations in which
      at least one of those two is present.
      
      Finally, other platforms with a similar file call it headsmp.S,
      so we can rename it to the same for consistency.
      
      Without this patch, building imx5 standalone results in:
      
      arch/arm/mach-imx/built-in.o: In function `v7_cpu_resume':
      arch/arm/mach-imx/head-v7.S:104: undefined reference to `cpu_resume'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: Eric Miao <eric.miao@linaro.org>
      Cc: stable@vger.kernel.org
      1fc593fe
    • A
      ARM: imx: build pm-imx5 code only when PM is enabled · a28eecef
      Arnd Bergmann 提交于
      This moves the imx5 pm code out of the list of unconditionally
      compiled files for imx5, mirroring what we already do for imx6
      and how it was done before the code was move from mach-mx5 to
      mach-imx in v3.3.
      
      Without this patch, building with CONFIG_PM disabled results in:
      
      arch/arm/mach-imx/pm-imx5.c:202:116: error: redefinition of 'imx51_pm_init'
      arch/arm/mach-imx/include/mach-imx/common.h:154:91: note: previous definition of 'imx51_pm_init' was here
      arch/arm/mach-imx/pm-imx5.c:209:116: error: redefinition of 'imx53_pm_init'
      arch/arm/mach-imx/include/mach-imx/common.h:155:91: note: previous definition of 'imx53_pm_init' was here
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: stable@vger.kernel.org
      a28eecef