blob: 6d696d2d1508d44744e5a9bb2bf9f405830fb94c [file] [log] [blame]
Thomas Gleixnerc942fdd2019-05-27 08:55:06 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew F. Davisa3828512016-06-27 12:12:16 -05002/*
3 * TI Syscon Reset definitions
4 *
5 * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
Andrew F. Davisa3828512016-06-27 12:12:16 -05006 */
7
8#ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
9#define __DT_BINDINGS_RESET_TI_SYSCON_H__
10
11/*
12 * The reset does not support the feature and corresponding
13 * values are not valid
14 */
15#define ASSERT_NONE (1 << 0)
16#define DEASSERT_NONE (1 << 1)
17#define STATUS_NONE (1 << 2)
18
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)
23
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)
28
29#endif