1. 04 6月, 2013 1 次提交
  2. 04 1月, 2013 1 次提交
    • G
      Drivers: amba: remove __dev* attributes. · c571b211
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed, as well as the use of CONFIG_HOTPLUG.
      
      This patch does both, removing the use of CONFIG_HOTPLUG in the
      amba/bus.c file, and __devinit and __devinitconst in the tegra-ahb.c
      driver.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c571b211
  3. 03 12月, 2012 1 次提交
  4. 29 6月, 2012 1 次提交
  5. 03 5月, 2012 1 次提交
  6. 20 4月, 2012 1 次提交
  7. 13 4月, 2012 1 次提交
    • M
      ARM: 7366/3: amba: Remove AMBA level regulator support · 1e45860f
      Mark Brown 提交于
      The AMBA bus regulator support is being used to model on/off switches
      for power domains which isn't terribly idiomatic for modern kernels with
      the generic power domain code and creates integration problems on platforms
      which don't use regulators for their power domains as it's hard to tell
      the difference between a regulator that is needed but failed to be provided
      and one that isn't supposed to be there (though DT does make that easier).
      
      Platforms that wish to use the regulator API to manage their power domains
      can indirect via the power domain interface.
      
      This feature is only used with the vape supply of the db8500 PRCMU
      driver which supplies the UARTs and MMC controllers, none of which have
      support for managing vcore at runtime in mainline (only pl022 SPI
      controller does).  Update that supply to have an always_on constraint
      until the power domain support for the system is updated so that it is
      enabled for these users, this is likely to have no impact on practical
      systems as probably at least one of these devices will be active and
      cause AMBA to hold the supply on anyway.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1e45860f
  8. 25 1月, 2012 3 次提交
  9. 22 12月, 2011 1 次提交
  10. 22 11月, 2011 1 次提交
    • D
      ARM: amba: Auto-generate AMBA driver module aliases during modpost · 523817bd
      Dave Martin 提交于
      This patch adds the necessary support in file2alias.c to define
      suitable aliases based on the amba_id table in AMBA driver modules.
      
      This should be sufficient to allow such modules to be auto-loaded
      via udev.  The AMBA bus driver's uevent hotplug code is also
      modified to pass an approriate MODALIAS string in the event.
      
      For simplicity, the AMBA ID is treated an an opaque 32-bit numeber.
      Module alises use patterns as appropriate to describe the value-
      mask pairs described in the driver's amba_id list.
      
      The proposed alias format is (extended regex):
      
          ^amba:d(HEX){8}$
      
      Where HEX is a single upper-case HEX digit or a pattern (? or []
      expression) matching a single upper-case HEX digit, as expected by
      udev.
      
      "d" is short for "device", following existing alias naming
      conventions for other device types.  This adds some flexibility for
      unambiguously extending the alias format in the future by adding
      additional leading and trailing fields, if this turns out to be
      necessary.
      Signed-off-by: NDave Martin <dave.martin@linaro.org>
      Acked-by: NPawel Moll <pawel.moll@arm.com>
      523817bd
  11. 27 9月, 2011 1 次提交
  12. 22 9月, 2011 1 次提交
  13. 26 5月, 2011 1 次提交
  14. 12 4月, 2011 1 次提交
    • R
      PM / Hibernate: Introduce CONFIG_HIBERNATE_CALLBACKS · 1f112cee
      Rafael J. Wysocki 提交于
      Xen save/restore is going to use hibernate device callbacks for
      quiescing devices and putting them back to normal operations and it
      would need to select CONFIG_HIBERNATION for this purpose.  However,
      that also would cause the hibernate interfaces for user space to be
      enabled, which might confuse user space, because the Xen kernels
      don't support hibernation.  Moreover, it would be wasteful, as it
      would make the Xen kernels include a substantial amount of code that
      they would never use.
      
      To address this issue introduce new power management Kconfig option
      CONFIG_HIBERNATE_CALLBACKS, such that it will only select the code
      that is necessary for the hibernate device callbacks to work and make
      CONFIG_HIBERNATION select it.  Then, Xen save/restore will be able to
      select CONFIG_HIBERNATE_CALLBACKS without dragging the entire
      hibernate code along with it.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Tested-by: NShriram Rajagopalan <rshriram@cs.ubc.ca>
      1f112cee
  15. 31 3月, 2011 1 次提交
  16. 24 2月, 2011 3 次提交
  17. 26 11月, 2010 1 次提交
    • L
      ARM: 6467/1: amba: optional PrimeCell core voltage switch · 65500fa9
      Linus Walleij 提交于
      On some contemporary sub-micron SoCs, peripherals on the chip have
      power domain switches, i.e. the voltage to the core may be turned
      off to conserve power. In the Ux500 we have this for out PrimeCell
      derivates.
      
      This patch makes it possible to specify an (optional) regulator to
      handle the voltage domain switch on AMBA PrimeCells, modeled very
      similar to how block clocks are handled.
      
      Additional amba_vcore_[enable|disable] calls are supplied to make
      it possible introduce optional powering off of the core voltage.
      Using this will require code to spool/unspool any core HW state.
      
      Cc: Rabin Vincent <rabin.vincent@stericsson.com>
      Cc: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
      Cc: Jonas Aaberg <jonas.aberg@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      65500fa9
  18. 08 10月, 2010 1 次提交
  19. 31 7月, 2010 1 次提交
    • R
      ARM: AMBA: Add pclk support to AMBA bus infrastructure · 7cfe2494
      Russell King 提交于
      Some platforms gate the pclk (APB - the bus - clock) to the peripherals
      for power saving, along with the functional clock.  When devices are
      accessed without pclk enabled, the kernel will oops.
      
      This gives them two options:
      
      1. Leave all clocks on all the time.
      2. Attempt to gate pclk along with the functional clock.
      
      (With some hardware, pclk and the functional clock are gated by a single
      bit in a register.)
      
      (1) has the disadvantage that it causes increased power usage, which is
      bad news for battery operated devices.  (2) can lead to kernel oops if
      registers are accessed without the functional clock being enabled.
      
      So, introduce the apb_pclk signal in such a way existing drivers don't
      need to be updated.  Essentially, this means we guarantee that:
      
      1. pclk will be enabled whenever the driver is bound to a device -
         from probe() to remove() time.
      2. pclk will also be enabled when reading the primecell IDs from the device.
      
      In order to allow drivers to be incrementally updated to achieve greater
      power savings, we provide two additional calls to allow drivers to
      manage the pclk - amba_pclk_enable()/amba_pclk_disable().
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7cfe2494
  20. 02 9月, 2009 1 次提交
  21. 06 7月, 2009 1 次提交
  22. 25 3月, 2009 1 次提交
  23. 09 1月, 2009 1 次提交
  24. 13 10月, 2007 1 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
  25. 28 4月, 2007 1 次提交
  26. 30 11月, 2006 1 次提交
  27. 28 6月, 2006 1 次提交
  28. 09 1月, 2006 1 次提交
  29. 07 1月, 2006 2 次提交
  30. 05 1月, 2006 1 次提交
  31. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  32. 21 6月, 2005 1 次提交
  33. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4