1. 22 Jul, 2012 1 commit
  2. 12 Jul, 2012 2 commits
  3. 06 Jul, 2012 1 commit
  4. 05 Jul, 2012 1 commit
  5. 03 Jul, 2012 2 commits
    • Mark Brown's avatar
      regulator: core: Check that the selector from map_voltage() is valid · e113d792
      Mark Brown authored
      Lots of regulator drivers have checks in their map_voltage() functions
      to verify that the result of the mapping is in the range originally
      specified. Factor these out in the core and provide a bit of extra
      defensiveness for other drivers by doing the check in the core.
      
      Since we're now doing a list_voltage() earlier move the current mapping
      back to a voltage out into the set_voltage() call to save redoing it.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      e113d792
    • Mark Brown's avatar
      regulator: core: Support fixed voltages in regulator_is_supported_voltage() · c5f3939b
      Mark Brown authored
      Currently regulator_is_supported_voltage() works by enumerating the set
      of voltages which can be set by the regulator but the checks we're doing
      to impose constraints mean that if we can't vary the voltage we'll not
      report any voltages as supported even though the regulator is actually
      set at that voltage.
      
      We could fix the voltage listing but this would mean that list_voltage()
      could end up going to the hardware to get the current voltage which isn't
      expected (it's supposed to be very cheap) so instead special case things
      when we can't change the voltage and compare the requested range against
      the current voltage.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      c5f3939b
  6. 01 Jul, 2012 1 commit
  7. 30 Jun, 2012 13 commits
  8. 29 Jun, 2012 13 commits
  9. 28 Jun, 2012 6 commits