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