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