diff options
author | Tirupathi Reddy <tirupath@codeaurora.org> | 2017-05-08 11:52:59 +0530 |
---|---|---|
committer | Tirupathi Reddy <tirupath@codeaurora.org> | 2017-06-16 15:18:48 +0530 |
commit | 1a9dfe24c52e53ae7b89c2d96b75744cc9d1a178 (patch) | |
tree | cd280e349b35e4bfebdaf314009f1eeccbd35e37 /include/dt-bindings | |
parent | 085ef3652a1022611d7696837604953a55775db9 (diff) |
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>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/regulator/max20010.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dt-bindings/regulator/max20010.h b/include/dt-bindings/regulator/max20010.h new file mode 100644 index 000000000000..492e7287216f --- /dev/null +++ b/include/dt-bindings/regulator/max20010.h @@ -0,0 +1,20 @@ +/* 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 */ |