blob: eacc0f18083eef00dbb15254b1d714507d99e816 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * TI Syscon Reset definitions
4 *
Olivier Deprez157378f2022-04-04 15:47:50 +02005 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
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