1. 13 3月, 2013 3 次提交
    • M
      ARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.S · ec0d84a8
      Magnus Damm 提交于
      Rename headsmp-sh73a0.S into headsmp-scu.S and
      introduce shmobile_secondary_vector_scu().
      
      The goal is to be able to share the function
      above between all mach-shmobile SoCs that use
      SCU for SMP. So far only sh73a0 use this.
      
      At this time the SCU base address is still hard
      coded in headsmp-scu.S to 0xf0000000, but this
      will be changed in the future.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      ec0d84a8
    • S
      ARM: mach-shmobile: r8a7779: Minimal setup using DT · 10e8d4f6
      Simon Horman 提交于
      Allow a minimal setup of the r8a7779 SoC using a flattened device tree.
      In particular, configure the i2c and ethernet controllers using a
      flattened device tree.
      
      SCI serial controller and TMU clock source, whose drivers do not yet
      support configuration using a flattened device tree, are still configured
      using C code in order to allow booting of a board with this SoC.
      
      The ethernet controller also requires a regulator which is a board property.
      A sample snippet DT for the marzen board is as follows:
      
      /dts-v1/;
      /include/ "r8a7779.dtsi"
      
      / {
      	fixedregulator3v3: fixedregulator@0 {
      		compatible = "regulator-fixed";
      		regulator-name = "fixed-3.3V";
      		regulator-min-microvolt = <3300000>;
      		regulator-max-microvolt = <3300000>;
      		regulator-boot-on;
      		regulator-always-on;
      	};
      };
      
      &lan0 {
      	vddvario-supply = <&fixedregulator3v3>;
      	vdd33a-supply = <&fixedregulator3v3>;
      };
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      10e8d4f6
    • S
      ARM: mach-shmobile: r8a7779: Allow initialisation of GIC by DT · c58a1545
      Simon Horman 提交于
      This allows the GIC interrupt controller of the  r8a7779 SoC to be
      initialised using a flattened device tree blob.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      
      ---
      
      v3
      * Fix copy-paste error and use unique reg values for each CPU
      
      v2
      As suggested by Mark Rutland
      * Add reg and device_type to cpus
      * Remove #address-cells from gic
      c58a1545
  2. 30 1月, 2013 1 次提交
  3. 25 1月, 2013 6 次提交
  4. 25 12月, 2012 1 次提交
  5. 06 11月, 2012 2 次提交
  6. 09 10月, 2012 1 次提交
    • A
      ARM: shmobile: mark shmobile_init_late as __init · b3796d92
      Arnd Bergmann 提交于
      Patch 35f2b0bd "ARM: shmobile: Move definition of shmobile_init_late()
      to header" moved the definition of the shmobile_init_late function, but
      dropped the __init annotation, which is now causing warnings because
      the function calls shmobile_suspend_init, which is also marked init.
      
      Without this patch, building kota2_defconfig results in:
      
      WARNING: vmlinux.o(.text+0xb7c8): Section mismatch in reference from the function shmobile_init_late() to the function .init.text:shmobile_suspend_init()
      The function shmobile_init_late() references
      the function __init shmobile_suspend_init().
      This is often because shmobile_init_late lacks a __init
      annotation or the annotation of shmobile_suspend_init is wrong.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Magnus Damm <damm@opensource.se>
      Cc: Simon Horman <horms@verge.net.au>
      b3796d92
  7. 14 9月, 2012 1 次提交
  8. 04 9月, 2012 2 次提交
    • R
      ARM: shmobile: Make sh7372 cpuidle handling more straightforward · 5b41147c
      Rafael J. Wysocki 提交于
      The sh7372 cpuidle code uses the same artificially designed routine
      shmobile_cpuidle_enter() as the .enter() callback for all of its
      cpuidle states.  However, shmobile_cpuidle_enter() calls a different
      "enter" function for each state using an array of function pointers
      populated by the sh7372 PM initialization code.  Moreover, the
      states[] array of the shmobile cpuidle driver is populated by that
      code as well, although in principle it just might have been filled
      with static data.
      
      All of that complexity goes away if the sh7372 cpuidle code is
      allowed to define its own cpuidle driver structure that can be passed
      for registration to the common shmobile cpuidle initialization
      routine, so modify the code accordingly.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      5b41147c
    • R
      ARM: shmobile: Move definition of shmobile_init_late() to header · 35f2b0bd
      Rafael J. Wysocki 提交于
      The role of the only function in the common.c file in
      arch/arm/mach-shmobile, shmobile_init_late(), is to call two
      initializers whose definitions depend on kernel configuration
      options.  Those initializers may very well be called from a static
      inline function in arm/mach-shmobile/include/mach/common.h,
      though, in which makes the code a bit easier to read.  Moreover,
      the common.c may be dropped entirely then.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      35f2b0bd
  9. 20 6月, 2012 1 次提交
  10. 13 5月, 2012 2 次提交
  11. 08 5月, 2012 1 次提交
  12. 11 4月, 2012 1 次提交
  13. 13 3月, 2012 9 次提交
  14. 12 1月, 2012 1 次提交
    • M
      ARM: mach-shmobile: r8a7779 SMP support V3 · f40aaf6d
      Magnus Damm 提交于
      This patch contains r8a7779 SMP support V3 - now including
      CPU hotplug offine and online support. The r8a7779 power
      domain code is tied together with SMP glue code which allows
      us to control the power domains via CPU hotplug.
      
      At this point the kernel boots with the 4 Cortex-A9 cores in
      SMP mode and all CPU cores except CPU0 can be hotplugged.
      
      The code in platsmp.c is quite far from pretty, but it is
      kept like that intentionally to avoid creating layers of
      code that will go away in the near future anyway. The code
      needs to be updated when some per-SoC handling code will be
      added to the ARM architecture, see the following patch for
      more information:
       "[RFC PATCH 0/3] Per SoC descriptor"
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f40aaf6d
  15. 10 1月, 2012 1 次提交
  16. 09 1月, 2012 3 次提交
  17. 26 12月, 2011 1 次提交
  18. 06 12月, 2011 1 次提交
  19. 16 11月, 2011 1 次提交
  20. 11 11月, 2011 1 次提交