Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * TI Syscon Reset definitions
0004  *
0005  * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
0006  */
0007 
0008 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
0009 #define __DT_BINDINGS_RESET_TI_SYSCON_H__
0010 
0011 /*
0012  * The reset does not support the feature and corresponding
0013  * values are not valid
0014  */
0015 #define ASSERT_NONE (1 << 0)
0016 #define DEASSERT_NONE   (1 << 1)
0017 #define STATUS_NONE (1 << 2)
0018 
0019 /* When set this function is activated by setting(vs clearing) this bit */
0020 #define ASSERT_SET  (1 << 3)
0021 #define DEASSERT_SET    (1 << 4)
0022 #define STATUS_SET  (1 << 5)
0023 
0024 /* The following are the inverse of the above and are added for consistency */
0025 #define ASSERT_CLEAR    (0 << 3)
0026 #define DEASSERT_CLEAR  (0 << 4)
0027 #define STATUS_CLEAR    (0 << 5)
0028 
0029 #endif