Commit 405dfd48 authored by Andrey Smirnov's avatar Andrey Smirnov Committed by Lee Jones

mfd: rave-sp: Add legacy watchdog ping command translation

This is needed to make rave-sp-wdt driver to properly ping the
watchdog on "legacy" firmware.
Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 2b8de8a8
...@@ -631,6 +631,8 @@ static int rave_sp_default_cmd_translate(enum rave_sp_command command) ...@@ -631,6 +631,8 @@ static int rave_sp_default_cmd_translate(enum rave_sp_command command)
return 0x14; return 0x14;
case RAVE_SP_CMD_SW_WDT: case RAVE_SP_CMD_SW_WDT:
return 0x1C; return 0x1C;
case RAVE_SP_CMD_PET_WDT:
return 0x1D;
case RAVE_SP_CMD_RESET: case RAVE_SP_CMD_RESET:
return 0x1E; return 0x1E;
case RAVE_SP_CMD_RESET_REASON: case RAVE_SP_CMD_RESET_REASON:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment