1. 16 6月, 2011 1 次提交
  2. 14 6月, 2011 1 次提交
    • P
      serial: sh-sci: Abstract register maps. · 61a6976b
      Paul Mundt 提交于
      This takes a bit of a sledgehammer to the horribly CPU subtype
      ifdef-ridden header and abstracts all of the different register layouts
      in to distinct types which in turn can be overriden on a per-port basis,
      or permitted to default to the map matching the port type at probe time.
      
      In the process this ultimately fixes up inumerable bugs with mismatches
      on various CPU types (particularly the legacy ones that were obviously
      broken years ago and no one noticed) and provides a more tightly coupled
      and consolidated platform for extending and implementing generic
      features.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      61a6976b
  3. 08 6月, 2011 1 次提交
    • P
      serial: sh-sci: Consolidate RXD pin handling. · 514820eb
      Paul Mundt 提交于
      Non-SCI parts do not have the special port reg necessary for cases where
      the RX and SCI pins are muxed and need to be manually polled, so these
      like always fall back on the normal FIFO processing paths. SH7760 is in a
      class in and of itself with regards to mapping its SIM card interface via
      the SCI port class despite not having any of the RXD lines wired up and
      so implicitly behaving more like a SCIF in this regard. Out of the other
      CPUs, some support the port check via the same block while others do it
      through an external SuperI/O, so it's not even possible to perform the
      check relative to the ioremapped cookie offset, so the separate read
      semantics are preserved here, too.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      514820eb
  4. 23 5月, 2011 1 次提交
  5. 21 5月, 2011 1 次提交
    • L
      sanitize <linux/prefetch.h> usage · 268bb0ce
      Linus Torvalds 提交于
      Commit e66eed65 ("list: remove prefetching from regular list
      iterators") removed the include of prefetch.h from list.h, which
      uncovered several cases that had apparently relied on that rather
      obscure header file dependency.
      
      So this fixes things up a bit, using
      
         grep -L linux/prefetch.h $(git grep -l '[^a-z_]prefetchw*(' -- '*.[ch]')
         grep -L 'prefetchw*(' $(git grep -l 'linux/prefetch.h' -- '*.[ch]')
      
      to guide us in finding files that either need <linux/prefetch.h>
      inclusion, or have it despite not needing it.
      
      There are more of them around (mostly network drivers), but this gets
      many core ones.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      268bb0ce
  6. 29 4月, 2011 1 次提交
    • R
      shmobile: Use power domains for platform runtime PM · 38ade3a1
      Rafael J. Wysocki 提交于
      shmobile platforms replace the runtime PM callbacks of the platform
      bus type with their own routines, but this means that the callbacks
      are replaced system-wide.  This may not be the right approach if the
      platform devices on the system are not of the same type (e.g. some
      of them belong to an SoC and the others are located in separate
      chips), because in those cases they may require different handling.
      Thus it is better to use power domains to override the platform bus
      type's PM handling, as it generally is possible to use different
      power domains for devices with different PM requirements.
      
      Define a default power domain for shmobile in both the SH and ARM
      falvors and use it to override the platform bus type's PM callbacks.
      Since the suspend and hibernate callbacks of the new "default" power
      domains need to be the same and the platform bus type's suspend and
      hibernate callbacks for the time being, export those callbacks so
      that can be used outside of the platform bus type code.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      38ade3a1
  7. 18 4月, 2011 1 次提交
  8. 31 3月, 2011 1 次提交
  9. 29 3月, 2011 1 次提交
  10. 11 3月, 2011 4 次提交
  11. 01 2月, 2011 2 次提交
    • N
      sh: sh7750: Fix incompatible pointer type · 0ce08870
      Nobuhiro Iwamatsu 提交于
      It is necessary to set array of struct platform_device in
      early_platform_add_devices().
      
      arch/sh/kernel/cpu/sh4/setup-sh7750.c: In function ‘plat_early_device_setup’:
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:260: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:262: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      arch/sh/kernel/cpu/sh4/setup-sh7750.c:263: warning: passing argument 1 of ‘early_platform_add_devices’ from incompatible pointer type
      include/linux/platform_device.h:159: note: expected ‘struct platform_device **’ but argument is of type ‘struct platform_device *’
      Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0ce08870
    • N
      sh: sh7750: move machtypes.h to include/generated · 5939d25f
      Nobuhiro Iwamatsu 提交于
      By commit 3252b11f,
      machtypes.h moved to include/generated.
      However, this forgot kernel/cpu/sh4/setup-sh7750.
      Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5939d25f
  12. 25 1月, 2011 1 次提交
  13. 13 1月, 2011 2 次提交
  14. 12 1月, 2011 5 次提交
  15. 11 1月, 2011 1 次提交
  16. 24 12月, 2010 2 次提交
    • P
      sh: Fix up SH7201 clkfwk build. · 27f1accc
      Paul Mundt 提交于
      The master clock initialization for SH7201 was wholly bogus. Users of the
      legacy API must initialize the clock rate through the struct clk itself
      rather than returning the clock frequency. Given that the init function
      itself is void, returning the frequency isn't terribly effective.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      27f1accc
    • P
      sh: Fix up SH4-202 clkfwk build. · 638fa4aa
      Paul Mundt 提交于
      Some of the SH4-202 code was overlooked in the set_rate() API conversion,
      resulting in:
      
      arch/sh/kernel/cpu/sh4/clock-sh4-202.c: error: too many arguments to function 'clk->ops->set_rate'
      
      Fix it up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      638fa4aa
  17. 29 11月, 2010 1 次提交
  18. 26 11月, 2010 2 次提交
  19. 16 11月, 2010 1 次提交
  20. 15 11月, 2010 1 次提交
  21. 09 11月, 2010 2 次提交
  22. 08 11月, 2010 1 次提交
  23. 02 11月, 2010 1 次提交
  24. 27 10月, 2010 4 次提交
  25. 26 10月, 2010 1 次提交