1. 22 9月, 2009 1 次提交
    • M
      regulator: Allow consumer supplies to be set up with dev_name() · 40f9244f
      Mark Brown 提交于
      Follow the approach suggested by Russell King and implemented by him in
      the clkdev API and allow consumer device supply mapings to be set up
      using the dev_name() for the consumer instead of the struct device.
      In order to avoid making existing machines instabuggy and creating merge
      issues the use of struct device is still supported for the time being.
      
      This resolves problems working with buses such as I2C which make the
      struct device available late providing that the final device name is
      known, which is the case for most embedded systems with fixed setups.
      
      Consumers must still use the struct device when calling regulator_get().
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      40f9244f
  2. 17 9月, 2009 1 次提交
  3. 29 4月, 2009 4 次提交
  4. 31 3月, 2009 14 次提交
  5. 09 1月, 2009 11 次提交
  6. 14 10月, 2008 5 次提交
  7. 30 7月, 2008 1 次提交
    • L
      regulator: regulator framework core · 414c70cb
      Liam Girdwood 提交于
      This adds the regulator framework core.
      
      This framework is designed to provide a generic interface to voltage
      and current regulators within the Linux kernel. It's intended to
      provide voltage and current control to client or consumer drivers and
      also provide status information to user space applications through a
      sysfs interface.
      
      The intention is to allow systems to dynamically control regulator
      output in order to save power and prolong battery life. This applies
      to both voltage regulators (where voltage output is controllable) and
      current sinks (where current output is controllable).
      
      This framework safely compiles out if not selected so that client
      drivers can still be used in systems with no software controllable
      regulators.
      Signed-off-by: NLiam Girdwood <lg@opensource.wolfsonmicro.com>
      Signed-off-by: NGreg Kroah-Hartman <greg@kroah.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      414c70cb