android_kernel_oneplus_msm8998/include/dt-bindings/regulator/max20010.h
Tirupathi Reddy 1a9dfe24c5 regulator: max20010: Add max20010 regulator driver
The max20010 external buck supplies VDD_GFX for msm8996-auto
boards. Add max20010 regulator device driver to program the
necessary configuration as per the board specific requirements.

CRs-Fixed: 2062515
Change-Id: I68ad73e0c7cff1a87d218dc4677801f9e0206db6
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-16 15:18:48 +05:30

20 lines
756 B
C

/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that 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.
*/
#ifndef _DT_BINDINGS_REGULATOR_MAX20010_H
#define _DT_BINDINGS_REGULATOR_MAX20010_H
/* Regulator operating modes */
#define MAX20010_OPMODE_SYNC 0
#define MAX20010_OPMODE_FPWM 8
#endif /* _DT_BINDINGS_REGULATOR_MAX20010_H */