mfd: rave-sp: Add parameters to query IP address/netmask
Unlike LCD type information, IP address as well as netmaks are not
stored in an easily usable format in RAVE SP EEPROM. In order to obtain
them we need to issue a special command to RAVE SP. For that purpose add
device "sp" and expose that data as a device parameters (sp.ipaddr and
sp.netmask, correspondingly)

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a926e68 commit 448406354501f494a0086ef49daf668f2790308b
@Andrey Smirnov Andrey Smirnov authored on 10 Dec 2018
Sascha Hauer committed on 13 Dec 2018
Showing 2 changed files
View
drivers/mfd/rave-sp.c
View
include/linux/mfd/rave-sp.h