Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / include / dt-bindings / reset / ti-syscon.h
blobeacc0f18083eef00dbb15254b1d714507d99e816
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * TI Syscon Reset definitions
5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
6 */
8 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
9 #define __DT_BINDINGS_RESET_TI_SYSCON_H__
12 * The reset does not support the feature and corresponding
13 * values are not valid
15 #define ASSERT_NONE (1 << 0)
16 #define DEASSERT_NONE (1 << 1)
17 #define STATUS_NONE (1 << 2)
19 /* When set this function is activated by setting(vs clearing) this bit */
20 #define ASSERT_SET (1 << 3)
21 #define DEASSERT_SET (1 << 4)
22 #define STATUS_SET (1 << 5)
24 /* The following are the inverse of the above and are added for consistency */
25 #define ASSERT_CLEAR (0 << 3)
26 #define DEASSERT_CLEAR (0 << 4)
27 #define STATUS_CLEAR (0 << 5)
29 #endif