ti-syscon.h 777 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * TI Syscon Reset definitions
  4. *
  5. * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
  8. #define __DT_BINDINGS_RESET_TI_SYSCON_H__
  9. /*
  10. * The reset does not support the feature and corresponding
  11. * values are not valid
  12. */
  13. #define ASSERT_NONE (1 << 0)
  14. #define DEASSERT_NONE (1 << 1)
  15. #define STATUS_NONE (1 << 2)
  16. /* When set this function is activated by setting(vs clearing) this bit */
  17. #define ASSERT_SET (1 << 3)
  18. #define DEASSERT_SET (1 << 4)
  19. #define STATUS_SET (1 << 5)
  20. /* The following are the inverse of the above and are added for consistency */
  21. #define ASSERT_CLEAR (0 << 3)
  22. #define DEASSERT_CLEAR (0 << 4)
  23. #define STATUS_CLEAR (0 << 5)
  24. #endif