mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Javier Martinez Canillas](/assets/img/avatar_default.png)
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>
18 lines
549 B
C
18 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 */
|