1*ccaa83f8SJorge Ramirez-Ortiz /*
2*ccaa83f8SJorge Ramirez-Ortiz  * TI Syscon Reset definitions
3*ccaa83f8SJorge Ramirez-Ortiz  *
4*ccaa83f8SJorge Ramirez-Ortiz  * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
5*ccaa83f8SJorge Ramirez-Ortiz  *
6*ccaa83f8SJorge Ramirez-Ortiz  * This program is free software; you can redistribute it and/or modify
7*ccaa83f8SJorge Ramirez-Ortiz  * it under the terms of the GNU General Public License as published by
8*ccaa83f8SJorge Ramirez-Ortiz  * the Free Software Foundation; either version 2 of the License, or
9*ccaa83f8SJorge Ramirez-Ortiz  * (at your option) any later version.
10*ccaa83f8SJorge Ramirez-Ortiz  *
11*ccaa83f8SJorge Ramirez-Ortiz  * This program is distributed in the hope that it will be useful,
12*ccaa83f8SJorge Ramirez-Ortiz  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13*ccaa83f8SJorge Ramirez-Ortiz  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*ccaa83f8SJorge Ramirez-Ortiz  * GNU General Public License for more details.
15*ccaa83f8SJorge Ramirez-Ortiz  */
16*ccaa83f8SJorge Ramirez-Ortiz 
17*ccaa83f8SJorge Ramirez-Ortiz #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
18*ccaa83f8SJorge Ramirez-Ortiz #define __DT_BINDINGS_RESET_TI_SYSCON_H__
19*ccaa83f8SJorge Ramirez-Ortiz 
20*ccaa83f8SJorge Ramirez-Ortiz /*
21*ccaa83f8SJorge Ramirez-Ortiz  * The reset does not support the feature and corresponding
22*ccaa83f8SJorge Ramirez-Ortiz  * values are not valid
23*ccaa83f8SJorge Ramirez-Ortiz  */
24*ccaa83f8SJorge Ramirez-Ortiz #define ASSERT_NONE	(1 << 0)
25*ccaa83f8SJorge Ramirez-Ortiz #define DEASSERT_NONE	(1 << 1)
26*ccaa83f8SJorge Ramirez-Ortiz #define STATUS_NONE	(1 << 2)
27*ccaa83f8SJorge Ramirez-Ortiz 
28*ccaa83f8SJorge Ramirez-Ortiz /* When set this function is activated by setting(vs clearing) this bit */
29*ccaa83f8SJorge Ramirez-Ortiz #define ASSERT_SET	(1 << 3)
30*ccaa83f8SJorge Ramirez-Ortiz #define DEASSERT_SET	(1 << 4)
31*ccaa83f8SJorge Ramirez-Ortiz #define STATUS_SET	(1 << 5)
32*ccaa83f8SJorge Ramirez-Ortiz 
33*ccaa83f8SJorge Ramirez-Ortiz /* The following are the inverse of the above and are added for consistency */
34*ccaa83f8SJorge Ramirez-Ortiz #define ASSERT_CLEAR	(0 << 3)
35*ccaa83f8SJorge Ramirez-Ortiz #define DEASSERT_CLEAR	(0 << 4)
36*ccaa83f8SJorge Ramirez-Ortiz #define STATUS_CLEAR	(0 << 5)
37*ccaa83f8SJorge Ramirez-Ortiz 
38*ccaa83f8SJorge Ramirez-Ortiz #endif
39