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>
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/****************************************************************************/
|
|
|
|
/*
|
|
* mcfslt.h -- ColdFire internal Slice (SLT) timer support defines.
|
|
*
|
|
* (C) Copyright 2004, Greg Ungerer (gerg@snapgear.com)
|
|
* (C) Copyright 2009, Philippe De Muyter (phdm@macqel.be)
|
|
*/
|
|
|
|
/****************************************************************************/
|
|
#ifndef mcfslt_h
|
|
#define mcfslt_h
|
|
/****************************************************************************/
|
|
|
|
/*
|
|
* Define the SLT timer register set addresses.
|
|
*/
|
|
#define MCFSLT_STCNT 0x00 /* Terminal count */
|
|
#define MCFSLT_SCR 0x04 /* Control */
|
|
#define MCFSLT_SCNT 0x08 /* Current count */
|
|
#define MCFSLT_SSR 0x0C /* Status */
|
|
|
|
/*
|
|
* Bit definitions for the SCR control register.
|
|
*/
|
|
#define MCFSLT_SCR_RUN 0x04000000 /* Run mode (continuous) */
|
|
#define MCFSLT_SCR_IEN 0x02000000 /* Interrupt enable */
|
|
#define MCFSLT_SCR_TEN 0x01000000 /* Timer enable */
|
|
|
|
/*
|
|
* Bit definitions for the SSR status register.
|
|
*/
|
|
#define MCFSLT_SSR_BE 0x02000000 /* Bus error condition */
|
|
#define MCFSLT_SSR_TE 0x01000000 /* Timeout condition */
|
|
|
|
/****************************************************************************/
|
|
#endif /* mcfslt_h */
|