1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * TI Syscon Reset definitions 3 * TI Syscon Reset definitions 4 * 4 * 5 * Copyright (C) 2015-2016 Texas Instruments I 5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 6 */ 6 */ 7 7 8 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__ 8 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__ 9 #define __DT_BINDINGS_RESET_TI_SYSCON_H__ 9 #define __DT_BINDINGS_RESET_TI_SYSCON_H__ 10 10 11 /* 11 /* 12 * The reset does not support the feature and 12 * The reset does not support the feature and corresponding 13 * values are not valid 13 * values are not valid 14 */ 14 */ 15 #define ASSERT_NONE (1 << 0) 15 #define ASSERT_NONE (1 << 0) 16 #define DEASSERT_NONE (1 << 1) 16 #define DEASSERT_NONE (1 << 1) 17 #define STATUS_NONE (1 << 2) 17 #define STATUS_NONE (1 << 2) 18 18 19 /* When set this function is activated by sett 19 /* When set this function is activated by setting(vs clearing) this bit */ 20 #define ASSERT_SET (1 << 3) 20 #define ASSERT_SET (1 << 3) 21 #define DEASSERT_SET (1 << 4) 21 #define DEASSERT_SET (1 << 4) 22 #define STATUS_SET (1 << 5) 22 #define STATUS_SET (1 << 5) 23 23 24 /* The following are the inverse of the above 24 /* The following are the inverse of the above and are added for consistency */ 25 #define ASSERT_CLEAR (0 << 3) 25 #define ASSERT_CLEAR (0 << 3) 26 #define DEASSERT_CLEAR (0 << 4) 26 #define DEASSERT_CLEAR (0 << 4) 27 #define STATUS_CLEAR (0 << 5) 27 #define STATUS_CLEAR (0 << 5) 28 28 29 #endif 29 #endif 30 30
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.