mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
5356e0da49
Add a header file for the max77802 constants that could be shared between the regulator driver and Device Tree source files. Also, remove standby and off opmodes since only normal and low power are valid operating modes. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
19 lines
549 B
C
19 lines
549 B
C
/*
|
|
* Copyright (C) 2014 Google, Inc
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Device Tree binding constants for the Maxim 77802 PMIC regulators
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H
|
|
#define _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H
|
|
|
|
/* Regulator operating modes */
|
|
#define MAX77802_OPMODE_LP 1
|
|
#define MAX77802_OPMODE_NORMAL 3
|
|
|
|
#endif /* _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H */
|