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