1. 05 Feb, 2016 2 commits
    • Paul Kocialkowski's avatar
      regulator: lp872x: Add enable GPIO pin support · 7e6213f4
      Paul Kocialkowski authored
      LP872x regulators are made active via the EN pin, which might be hooked to a
      GPIO. This adds support for driving the GPIO high when the driver is in use.
      Signed-off-by: Paul Kocialkowski's avatarPaul Kocialkowski <contact@paulk.fr>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      7e6213f4
    • Paul Kocialkowski's avatar
      regulator: lp872x: Remove warning about invalid DVS GPIO · 690f44ba
      Paul Kocialkowski authored
      Some devices don't hook the DVS pin to a GPIO but to ground or VCC.
      In those cases, it is not a problem to have no DVS GPIO provided, as the current
      code will already switch to software-only DVS selection:
      
      When the DVS GPIO is invalid, lp872x_init_dvs jumps to the set_default_dvs_mode
      label, which instructs the chip not to use the DVS pin at all and do it all in
      software instead (by clearing the LP8720_EXT_DVS_M bit in the
      LP872X_GENERAL_CFG register).
      
      That is reflected later in the code, when setting the bucks (the DVS pin only
      applies to the bucks) by checking for the LP8720_EXT_DVS_M bit on the
      LP872X_GENERAL_CFG register (in lp872x_select_buck_vout_addr) to decide whether
      to use software or hardware DVS selection.
      
      Thus, there is no need to print a warning when the DVS GPIO is invalid.
      Signed-off-by: Paul Kocialkowski's avatarPaul Kocialkowski <contact@paulk.fr>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      690f44ba
  2. 23 Dec, 2015 2 commits
  3. 25 Aug, 2015 2 commits
  4. 14 Jul, 2015 1 commit
  5. 26 Jan, 2015 1 commit
  6. 28 Jul, 2014 1 commit
  7. 19 Feb, 2014 1 commit
  8. 30 Sep, 2013 1 commit
  9. 30 Jul, 2013 1 commit
  10. 15 Jul, 2013 1 commit
  11. 20 May, 2013 1 commit
  12. 25 Apr, 2013 1 commit
  13. 10 Dec, 2012 1 commit
  14. 20 Nov, 2012 2 commits
  15. 05 Sep, 2012 5 commits
  16. 28 Aug, 2012 1 commit
  17. 16 Jul, 2012 1 commit
  18. 21 Jun, 2012 1 commit
  19. 20 Jun, 2012 1 commit
  20. 19 Jun, 2012 1 commit