xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/mfd/palmas.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides macros for Palmas device bindings.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Copyright (c) 2013, NVIDIA Corporation.
6*c66ec88fSEmmanuel Vadot  *
7*c66ec88fSEmmanuel Vadot  * Author: Laxman Dewangan <ldewangan@nvidia.com>
8*c66ec88fSEmmanuel Vadot  *
9*c66ec88fSEmmanuel Vadot  */
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_PALMAS_H
12*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_PALMAS_H
13*c66ec88fSEmmanuel Vadot 
14*c66ec88fSEmmanuel Vadot /* External control pins */
15*c66ec88fSEmmanuel Vadot #define PALMAS_EXT_CONTROL_PIN_ENABLE1	1
16*c66ec88fSEmmanuel Vadot #define PALMAS_EXT_CONTROL_PIN_ENABLE2	2
17*c66ec88fSEmmanuel Vadot #define PALMAS_EXT_CONTROL_PIN_NSLEEP	3
18*c66ec88fSEmmanuel Vadot 
19*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_PALMAS_H */
20