1. 09 4月, 2012 1 次提交
    • M
      regulator: core: Use a struct to pass in regulator runtime configuration · c172708d
      Mark Brown 提交于
      Rather than adding new arguments to regulator_register() every time we
      want to add a new bit of dynamic information at runtime change the function
      to take these via a struct. By doing this we avoid needing to do further
      changes like the recent addition of device tree support which required each
      regulator driver to be updated to take an additional parameter.
      
      The regulator_desc which should (mostly) be static data is still passed
      separately as most drivers are able to configure this statically at build
      time.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c172708d
  2. 04 4月, 2012 1 次提交
  3. 29 3月, 2012 1 次提交
    • A
      regulator: Only update [LDOx|DCx]_HIB_MODE bits in wm8350_[ldo|dcdc]_set_suspend_disable · cee1a799
      Axel Lin 提交于
      What we want is to disable output by setting [LDOx|DCx]_HIB_MODE bits.
      Current code also clears other bits in LDOx/DCDCx Low Power register.
      
      R202 (CAh) LDO1 Low Power
      BIT[13:12] LDO1 Hibernate behaviour:
      00 = Select voltage image settings
      01 = disable output
      10 = reserved
      11 = reserved
      
      R182 (B6h) DCDC1 Low Power
      BIT[14:12] DC-DC1 Hibernate behaviour:
      000 = Use current settings (no change)
      001 = Select voltage image settings
      010 = Force standby mode
      011 = Force standby mode and voltage image settings.
      100 = Force LDO mode
      101 = Force LDO mode and voltage image settings.
      110 = Reserved.
      111 = Disable output
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      cee1a799
  4. 28 3月, 2012 2 次提交
  5. 27 3月, 2012 2 次提交
  6. 12 3月, 2012 1 次提交
  7. 02 2月, 2012 1 次提交
  8. 24 11月, 2011 1 次提交
  9. 12 1月, 2011 2 次提交
  10. 06 9月, 2010 1 次提交
  11. 27 7月, 2010 1 次提交
  12. 08 3月, 2010 1 次提交
  13. 03 3月, 2010 1 次提交
  14. 01 2月, 2010 1 次提交
  15. 14 12月, 2009 2 次提交
  16. 22 9月, 2009 1 次提交
  17. 15 6月, 2009 1 次提交
  18. 31 3月, 2009 4 次提交
  19. 31 1月, 2009 1 次提交
  20. 08 1月, 2009 1 次提交
    • M
      leds: Add WM8350 LED driver · 0081e802
      Mark Brown 提交于
      The voltage and current regulators on the WM8350 AudioPlus PMIC can be
      used in concert to provide a power efficient LED driver.  This driver
      implements support for this within the standard LED class.
      
      Platform initialisation code should configure the LED hardware in the
      init callback provided by the WM8350 core driver.  The callback should
      use wm8350_isink_set_flash(), wm8350_dcdc25_set_mode() and
      wm8350_dcdc_set_slot() to configure the operating parameters of the
      regulators for their hardware and then then use wm8350_register_led() to
      instantiate the LED driver.
      
      This driver was originally written by Liam Girdwood, though it has been
      extensively modified since then.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      0081e802
  21. 04 1月, 2009 1 次提交
  22. 14 10月, 2008 1 次提交