diff options
author | Shaokun Zhang <[email protected]> | 2021-05-17 20:10:08 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:48:58 +0200 |
commit | abd3ac7902fb77f8386f485f7284253fc0c4d803 (patch) | |
tree | b748b7b53247fda635bdd77d780323df681f0177 /lib/string_helpers.c | |
parent | d1fb8bbd769f11e406955ee1a81413d8d78b957b (diff) |
watchdog: sbsa: Support architecture version 1
For Armv8.6, The frequency of CNTFRQ_EL0 is standardized to a
frequency of 1GHz, so Arm Base System Architecture 1.0[1] has
introduced watchdog revision 1 that increases the length the
watchdog offset register to 48 bit, while other operation of
the watchdog remains the same.
The driver can determine which version of the watchdog is
implemented through the watchdog interface identification
register (W_IID). If the version is 0x1, the watchdog
offset register will be 48 bit, otherwise it will be 32 bit.
[1] https://developer.arm.com/documentation/den0094/latest
Cc: Wim Van Sebroeck <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Al Stone <[email protected]>
Cc: Jianchao Hu <[email protected]>
Cc: Huiqiang Wang <[email protected]>
Signed-off-by: Shaokun Zhang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions