xref: /kernel/linux/linux-6.6/include/dt-bindings/reset/ti-syscon.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/dt-bindings/reset/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * TI Syscon Reset definitions
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
962306a36Sopenharmony_ci#define __DT_BINDINGS_RESET_TI_SYSCON_H__
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/*
1262306a36Sopenharmony_ci * The reset does not support the feature and corresponding
1362306a36Sopenharmony_ci * values are not valid
1462306a36Sopenharmony_ci */
1562306a36Sopenharmony_ci#define ASSERT_NONE	(1 << 0)
1662306a36Sopenharmony_ci#define DEASSERT_NONE	(1 << 1)
1762306a36Sopenharmony_ci#define STATUS_NONE	(1 << 2)
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci/* When set this function is activated by setting(vs clearing) this bit */
2062306a36Sopenharmony_ci#define ASSERT_SET	(1 << 3)
2162306a36Sopenharmony_ci#define DEASSERT_SET	(1 << 4)
2262306a36Sopenharmony_ci#define STATUS_SET	(1 << 5)
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci/* The following are the inverse of the above and are added for consistency */
2562306a36Sopenharmony_ci#define ASSERT_CLEAR	(0 << 3)
2662306a36Sopenharmony_ci#define DEASSERT_CLEAR	(0 << 4)
2762306a36Sopenharmony_ci#define STATUS_CLEAR	(0 << 5)
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#endif
30

Indexes created Thu Nov 07 10:32:03 CST 2024