summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-08-30 22:15:48 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-31 08:43:32 +0200
commit84b89f6400d1cecf4ee9395c279e0dfc2b5247a7 (patch)
tree5be7a5129c027f438c491ae60a73f73a8122589e /include
parent901fd8de33cfe41023367455259927f74c6a3b4f (diff)
downloadbarebox-84b89f6400d1cecf4ee9395c279e0dfc2b5247a7.tar.gz
barebox-84b89f6400d1cecf4ee9395c279e0dfc2b5247a7.tar.xz
mfd: rave-sp: Add mapping for legacy EEPROM command
This is needed to make rave-sp-eeprom driver work on "legacy" firmware. This is a backport of Linux kernel patch [1] [1] https://lore.kernel.org/lkml/20180707024108.32373-5-andrew.smirnov@gmail.com/T/#mae2272763ae092b5b11ab128f5c22039d55557cb Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/rave-sp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/rave-sp.h b/include/linux/mfd/rave-sp.h
index e0d97a55d9..50c9865c00 100644
--- a/include/linux/mfd/rave-sp.h
+++ b/include/linux/mfd/rave-sp.h
@@ -21,6 +21,7 @@ enum rave_sp_command {
RAVE_SP_CMD_STATUS = 0xA0,
RAVE_SP_CMD_SW_WDT = 0xA1,
RAVE_SP_CMD_PET_WDT = 0xA2,
+ RAVE_SP_CMD_RMB_EEPROM = 0xA4,
RAVE_SP_CMD_SET_BACKLIGHT = 0xA6,
RAVE_SP_CMD_RESET = 0xA7,
RAVE_SP_CMD_RESET_REASON = 0xA8,