• MyungJoo Ham's avatar
    MAX8952 PMIC Driver Initial Release · 202f4f53
    MyungJoo Ham authored
    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: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
    Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
    Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    --
    v2:
    	- Style correction
    	- Can accept platform_data with invalid GPIOs
    	- Removed unnecessary features
    	- Improved error handling
    Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
    202f4f53
Makefile 1.62 KB