1 /* $NetBSD: ti-syscon.h,v 1.1.1.3 2021/11/07 16:49:57 jmcneill Exp $ */ 2 3 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 /* 5 * TI Syscon Reset definitions 6 * 7 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 8 */ 9 10 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__ 11 #define __DT_BINDINGS_RESET_TI_SYSCON_H__ 12 13 /* 14 * The reset does not support the feature and corresponding 15 * values are not valid 16 */ 17 #define ASSERT_NONE (1 << 0) 18 #define DEASSERT_NONE (1 << 1) 19 #define STATUS_NONE (1 << 2) 20 21 /* When set this function is activated by setting(vs clearing) this bit */ 22 #define ASSERT_SET (1 << 3) 23 #define DEASSERT_SET (1 << 4) 24 #define STATUS_SET (1 << 5) 25 26 /* The following are the inverse of the above and are added for consistency */ 27 #define ASSERT_CLEAR (0 << 3) 28 #define DEASSERT_CLEAR (0 << 4) 29 #define STATUS_CLEAR (0 << 5) 30 31 #endif 32