Source
x
static int rk808_set_suspend_voltage_range(struct regulator_dev *rdev, int uv)
/*
* Regulator driver for Rockchip RK805/RK808/RK818
*
* Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd
*
* Author: Chris Zhong <zyw@rock-chips.com>
* Author: Zhang Qing <zhangqing@rock-chips.com>
*
* Copyright (C) 2016 PHYTEC Messtechnik GmbH
*
* Author: Wadim Egorov <w.egorov@phytec.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
/* Field Definitions */
/* Ramp rate definitions for buck1 / buck2 only */
/* Offset from XXX_ON_VSEL to XXX_SLP_VSEL */
/* Offset from XXX_ON_VSEL to XXX_DVS_VSEL */
/* Offset from XXX_EN_REG to SLEEP_SET_OFF_XXX */
/* max steps for increase voltage of Buck1/2, equal 100mv*/