Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
777 B
C
30 lines
777 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* TI Syscon Reset definitions
|
|
*
|
|
* Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__
|
|
#define __DT_BINDINGS_RESET_TI_SYSCON_H__
|
|
|
|
/*
|
|
* The reset does not support the feature and corresponding
|
|
* values are not valid
|
|
*/
|
|
#define ASSERT_NONE (1 << 0)
|
|
#define DEASSERT_NONE (1 << 1)
|
|
#define STATUS_NONE (1 << 2)
|
|
|
|
/* When set this function is activated by setting(vs clearing) this bit */
|
|
#define ASSERT_SET (1 << 3)
|
|
#define DEASSERT_SET (1 << 4)
|
|
#define STATUS_SET (1 << 5)
|
|
|
|
/* The following are the inverse of the above and are added for consistency */
|
|
#define ASSERT_CLEAR (0 << 3)
|
|
#define DEASSERT_CLEAR (0 << 4)
|
|
#define STATUS_CLEAR (0 << 5)
|
|
|
|
#endif
|