1. 16 Apr, 2013 1 commit
  2. 13 Jan, 2013 1 commit
  3. 24 Dec, 2012 1 commit
  4. 23 Nov, 2012 1 commit
  5. 19 Nov, 2012 1 commit
  6. 15 Nov, 2012 1 commit
  7. 13 Nov, 2012 1 commit
  8. 01 Nov, 2012 1 commit
  9. 15 Oct, 2012 2 commits
  10. 17 Sep, 2012 1 commit
  11. 10 Sep, 2012 1 commit
  12. 28 Aug, 2012 1 commit
    • Gyungoh Yoo's avatar
      regulator: add MAX8907 driver · ffee1909
      Gyungoh Yoo authored
      The MAX8907 is an I2C-based power-management IC containing voltage
      regulators, a reset controller, a real-time clock, and a touch-screen
      controller.
      
      The original driver was written by:
      * Gyungoh Yoo <jack.yoo@maxim-ic.com>
      
      Various fixes and enhancements by:
      * Jin Park <jinyoungp@nvidia.com>
      * Tom Cherry <tcherry@nvidia.com>
      * Prashant Gaikwad <pgaikwad@nvidia.com>
      * Dan Willemsen <dwillemsen@nvidia.com>
      * Laxman Dewangan <ldewangan@nvidia.com>
      
      During upstreaming, I (swarren):
      * Converted to regmap.
      * Allowed probing from device tree.
      * Reworked the regulator driver to be represented as a single device that
        provides multiple regulators, rather than as a device per regulator.
      * Replaced many regulator ops with standard functions.
      * Added ability to specify supplies for each regulator.
      * Removed the WLED regulator. If/when we expose this in the driver, it
        should be a backlight object not a regulator object.
      * Renamed from max8907c->max8907, since the driver covers at least the
        C and B revisions.
      * General cleanup.
      Signed-off-by: default avatarGyungoh Yoo <jack.yoo@maxim-ic.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      ffee1909
  13. 04 Aug, 2012 1 commit
  14. 03 Aug, 2012 1 commit
  15. 20 Jul, 2012 1 commit
  16. 16 Jul, 2012 1 commit
  17. 11 Jul, 2012 1 commit
  18. 21 Jun, 2012 1 commit
  19. 20 Jun, 2012 2 commits
  20. 19 Jun, 2012 1 commit
  21. 03 Jun, 2012 1 commit
  22. 19 May, 2012 1 commit
  23. 04 Apr, 2012 1 commit
  24. 02 Apr, 2012 1 commit
  25. 01 Apr, 2012 1 commit
  26. 14 Mar, 2012 1 commit
  27. 11 Mar, 2012 2 commits
  28. 07 Mar, 2012 1 commit
  29. 20 Jan, 2012 4 commits
  30. 14 Dec, 2011 1 commit
  31. 23 Nov, 2011 1 commit
  32. 12 Oct, 2011 1 commit
  33. 09 Oct, 2011 1 commit
    • Heiko Stübner's avatar
      regulator: Add driver for gpio-controlled regulators · 3f0292ae
      Heiko Stübner authored
      This patch adds support for regulators that can be controlled via gpios.
      
      Examples for such regulators are the TI-tps65024x voltage regulators
      with 4 fixed and 1 runtime-switchable voltage regulators
      or the TI-bq240XX charger regulators.
      
      The number of controlling gpios is not limited, the mapping between
      voltage/current and target gpio state is done via the states map
      and the driver can be used for either voltage or current regulators.
      
      A mapping for a regulator with two GPIOs could look like:
      
      gpios = {
      	{ .gpio = GPIO1, .flags = GPIOF_OUT_INIT_HIGH, .label = "gpio name 1" },
      	{ .gpio = GPIO2, .flags = GPIOF_OUT_INIT_LOW,  .label = "gpio name 2" },
      }
      
      The flags element of the gpios array determines the initial state of
      the gpio, set during probe. The initial state of the regulator is also
      calculated from these values
      
      states = {
      	{ .value = volt_or_cur1, .gpios = (0 << 1) | (0 << 0) },
      	{ .value = volt_or_cur2, .gpios = (0 << 1) | (1 << 0) },
      	{ .value = volt_or_cur3, .gpios = (1 << 1) | (0 << 0) },
      	{ .value = volt_or_cur4, .gpios = (1 << 1) | (1 << 0) },
      }
      
      The target-state for the n-th gpio is determined by the n-th bit
      in the bitfield of the target-value.
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      3f0292ae
  34. 31 Jul, 2011 1 commit