1. 29 10月, 2010 1 次提交
    • M
      MAX8952 PMIC Driver Initial Release · 202f4f53
      MyungJoo Ham 提交于
      MAX8952 PMIC is used to provide voltage output between 770mV - 1400mV
      with DVS support. In this initial release, users can set voltages for
      four DVS modes, RAMP delay values, and SYNC frequency.
      Controlling FPWM/SYNC_MODE/Pull-Down/Ramp Modes and reading CHIP_ID
      is not supported in this release.
      
      If GPIO of EN is not valid in platform data, the driver assumes that it
      is always-on. If GPIO of VID0 or VID1 is invalid, the driver pulls down
      VID0 and VID1 to fix DVS mode as 0 and disables DVS support.
      
      We assume that V_OUT is capable to provide every voltage from 770mV to
      1.40V in 10mV steps although the data sheet has some ambiguity on it.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      --
      v2:
      	- Style correction
      	- Can accept platform_data with invalid GPIOs
      	- Removed unnecessary features
      	- Improved error handling
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      202f4f53