1. 10 11月, 2014 1 次提交
  2. 27 3月, 2014 3 次提交
  3. 22 3月, 2014 1 次提交
    • A
      ARM: ixp4xx: fix gpio rework · 48ba81f6
      Arnd Bergmann 提交于
      Commit 098e30f6 "ARM: ixp4xx: stop broadcasting the custom GPIO API"
      changed the internal gpio code of ixp4xx to be accessible only from
      common.c, but unfortunately that broke the Goramo MultiLink code, which
      uses this API.
      
      This tries to restore the previous state without exposing the
      API globally again. A better solution might be needed.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      48ba81f6
  4. 18 3月, 2014 1 次提交
  5. 12 3月, 2014 1 次提交
  6. 19 2月, 2014 1 次提交
    • U
      ARM: ixp4xx: fix timer latch calculation · fb3174e4
      Uwe Kleine-König 提交于
      In commit f0402f9b ("ARM: ixp4xx: stop using <mach/timex.h>")
      I didn't intend to implement a functional change, but as Olof noticed I
      failed---at least a bit. Before this commit the following was used to
      determine the latch value used:
      
      	#define IXP4XX_TIMER_FREQ 66666000
      	#define CLOCK_TICK_RATE \
      		(((IXP4XX_TIMER_FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
      	#define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)
      
      The complicated calculation was done "b/c the timer register ignores the
      bottom 2 bits of the LATCH value." With HZ=100 CLOCK_TICK_RATE used to
      calculate to 66666100 and so LATCH to 666661. In ixp4xx_set_mode the
      term
      
      	LATCH & ~IXP4XX_OST_RELOAD_MASK
      
      was used to write to the relevant register (with IXP4XX_OST_RELOAD_MASK
      being 3) and so effectively 666660 was used.
      
      In commit f0402f9b I translated that to:
      
      	#define IXP4XX_TIMER_FREQ 66666000
      	#define IXP4XX_LATCH DIV_ROUND_CLOSEST(IXP4XX_TIMER_FREQ, HZ)
      
      which results in the same register writes, but still doesn't bear in
      mind that the two least significant bits cannot be specified (which is
      relevant only when HZ or IXP4XX_TIMER_FREQ are changed).
      
      Instead of reverting back to the old approach use a more obvious and
      also more correct way to calculate LATCH. (Regarding the more
      correct claim: With IXP4XX_TIMER_FREQ == 66665999, the old code resulted
      in LATCH = 666657 corresponding to a cycle time of 0.009999940149400597
      seconds (error: -6.0e-8 s) while the new approach results in LATCH =
      666660 and so a cycle time of 0.010000000150001503 seconds
      (error: 1.5e-10 s).)
      
      Fixes: f0402f9b ("ARM: ixp4xx: stop using <mach/timex.h>")
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      fb3174e4
  7. 02 1月, 2014 1 次提交
  8. 20 12月, 2013 1 次提交
  9. 22 11月, 2013 1 次提交
  10. 27 9月, 2013 2 次提交
  11. 10 7月, 2013 1 次提交
  12. 13 6月, 2013 1 次提交
  13. 23 5月, 2013 1 次提交
  14. 08 4月, 2013 1 次提交
  15. 15 1月, 2013 1 次提交
  16. 25 12月, 2012 1 次提交
  17. 22 11月, 2012 2 次提交
  18. 19 9月, 2012 1 次提交
    • A
      ARM: ixp4xx: use __iomem pointers for MMIO · 13ec32f4
      Arnd Bergmann 提交于
      ARM is moving to stricter checks on readl/write functions,
      so we need to use the correct types everywhere.
      
      At the moment, this patch conflicts with other patches in linux-next,
      need to sort this out.
      
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      13ec32f4
  19. 24 5月, 2012 1 次提交
  20. 31 3月, 2012 1 次提交
    • O
      ARM: fix builds due to missing <asm/system_misc.h> includes · 86dfe446
      Olof Johansson 提交于
      This does a sweeping change fixing up all the missing system_misc.h and
      system_info.h includes from the system.h split-up change. These were the
      ones I came across when building all defconfigs in arch/arm/configs, there
      might be more but they lack adequate build coverage to be easily caught.
      
      I'm expecting to get a lot of these piecemeal by each maintainer, so we
      might just as well do one sweeping change to get them all at once.
      
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      86dfe446
  21. 07 3月, 2012 1 次提交
  22. 21 1月, 2012 1 次提交
  23. 05 1月, 2012 1 次提交
  24. 19 12月, 2011 1 次提交
  25. 01 11月, 2011 1 次提交
  26. 16 7月, 2011 1 次提交
  27. 24 5月, 2011 1 次提交
  28. 29 3月, 2011 2 次提交
  29. 06 2月, 2011 1 次提交
  30. 14 1月, 2011 1 次提交
  31. 23 12月, 2010 3 次提交
  32. 15 5月, 2010 1 次提交
  33. 28 1月, 2010 1 次提交