diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-03-27 14:32:59 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-04-08 11:04:49 +0200 |
| commit | a0320ef5a99090d5c5ee1f5fd40409b0c0035430 (patch) | |
| tree | c05fda0c694af8aee9e4da4ac68559ef6807ef58 /kernel/debug | |
| parent | f9f57e03d2c661d5f8d46886d407ad648b8b670f (diff) | |
drm/ast: Use constants for WDT registers
WDT is the Watchdog timer. WDC registers are located at the memory
range at [0x1e785000, 0x1e785fff]. There are currently up to 8
watchdog timers in the range, of which 2 are being used by AST2500.
Refer to them with macros named AST_REG_WDT<n>, where <n> is the byte
offset into the watchdog timer's memory range. Each macro also takes
the index of the watchdog timer to access. A new watchdog timer starts
at each 0x40 byte offset.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260327133532.79696-8-tzimmermann@suse.de
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
