1. 23 Jul, 2009 4 commits
    • Magnus Damm's avatar
      sh: convert processor device setup functions to arch_initcall() · 955c9863
      Magnus Damm authored
      Convert the processor platform device setup
      functions from __initcall() and sometimes
      device_initcall() to arch_initcall().
      
      This makes sure that the platform devices are
      registered a bit earlier so the devices are
      available when drivers register using initcall
      levels earlier than device_initcall().
      
      A good example is platform devices needed by
      i2c-sh_mobile.c which registers a bit earlier
      using subsys_initcall().
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      955c9863
    • Magnus Damm's avatar
      i2c: change i2c-sh_mobile.c module_init() to subsys_initcall() · c690be1c
      Magnus Damm authored
      Convert the i2c-sh_mobile i2c bus driver to use
      subsys_initcall() instead of module_init().
      
      This change makes the driver register a bit earlier which
      together with earlier platform data moves the time for probe().
      The earlier probe() makes it possible to use i2c_get_adapter()
      and i2c_transfer() from device_initcall().
      
      The same strategy is used by other i2c bus drivers such as
      i2c-pxa.c and i2c-s3c2410.c.
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      c690be1c
    • Magnus Damm's avatar
      usb: m66592-udc platform data on_chip support · 2c59b0b7
      Magnus Damm authored
      Convert the m66592-udc driver to use the on_chip flag
      from platform data to enable on chip behaviour instead
      of relying on CONFIG_SUPERH_BUILT_IN_M66592 ugliness.
      
      This makes the code cleaner and also allows us to support
      both external and internal m66592 with the same kernel.
      
      It also makes the Kconfig part more future proof since
      we with this patch can add support for new processors
      with on-chip m66592 without modifying the Kconfig.
      
      The patch adds a m66592 header file for platform data
      and ties in platform data to the existing m66592 devices.
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      2c59b0b7
    • Magnus Damm's avatar
      usb: move r8a66597 register defines · cf4f1e76
      Magnus Damm authored
      Move r8a66597 hardware register definitions from the host
      controller header file to the platform data header file.
      
      With this change in place we can easily share register
      definitions between the host controller driver and a future
      gadget driver.
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      cf4f1e76
  2. 22 Jul, 2009 1 commit
  3. 21 Jul, 2009 2 commits
  4. 20 Jul, 2009 12 commits
  5. 19 Jul, 2009 5 commits
  6. 18 Jul, 2009 4 commits
  7. 17 Jul, 2009 12 commits