1. 13 3月, 2015 1 次提交
  2. 11 3月, 2015 3 次提交
  3. 06 3月, 2015 1 次提交
  4. 05 1月, 2015 1 次提交
  5. 23 11月, 2014 3 次提交
  6. 16 9月, 2014 2 次提交
    • S
      ARM: imx: add an exclusive gate clock type · 19d86344
      Shawn Guo 提交于
      There are a couple of gate clocks are mutually exclusive on i.MX6, i.e.
      LVDSCLK1_IBEN and LVDSCLK1_OBEN.  They cannot be enabled simultaneously.
      This patches adds an exclusive gate clock type specifically for such
      case.  The clock driver will need to call imx_clk_gate_exclusive() to
      register a gate clock with parameter exclusive_mask indicating the mask
      of gate bits which are mutually exclusive to this gate clock.
      
      Right now, it only handles the exclusive gate clocks which are defined
      in a single hardware register, which is the case we're running into
      today.  But it can be extended to handle exclusive gate clocks defined
      in different registers later if needed.
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      19d86344
    • A
      ARM: i.MX1: Add devicetree support · 24980dc8
      Alexander Shiyan 提交于
      This patch adds basic devicetree support for i.MX1 based SoCs.
      Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      24980dc8
  7. 10 9月, 2014 1 次提交
  8. 01 9月, 2014 3 次提交
  9. 18 8月, 2014 1 次提交
    • A
      ARM: imx6: fix SMP compilation again · 060d517d
      Arnd Bergmann 提交于
      My earlier patch 1fc593fe ("ARM: imx: build i.MX6 functions
      only when needed") fixed a problem with building an i.MX5 kernel,
      but now the problem has returned for the case where we allow
      ARMv6K SMP builds in multiplatform. With CONFIG_CPU_V7 disabled,
      but i.MX3 and SMP enabled, we get this build error:
      
      arch/arm/mach-imx/built-in.o: In function `v7_secondary_startup':
      :(.text+0x5124): undefined reference to `v7_invalidate_l1'
      
      This puts the code inside of an "ifdef CONFIG_SOC_IMX6" to hopefully
      do the right thing in all configurations.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      060d517d
  10. 18 7月, 2014 7 次提交
  11. 16 5月, 2014 1 次提交
  12. 13 5月, 2014 1 次提交
  13. 30 4月, 2014 1 次提交
  14. 05 3月, 2014 7 次提交
  15. 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
  16. 31 12月, 2013 1 次提交
  17. 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
  18. 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
  19. 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
  20. 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