summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/arche_platform.h
diff options
context:
space:
mode:
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>2016-02-13 02:04:08 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-02-15 13:18:40 -0800
commit7691fed20e7301bd89b04d38f88262c83279817a (patch)
treed994cdcf74e63de23b8caab1d5c25b99cd256274 /drivers/staging/greybus/arche_platform.h
parent2923c58eb5acb019e6781dc05662b896e14339f6 (diff)
downloadop-kernel-dev-7691fed20e7301bd89b04d38f88262c83279817a.zip
op-kernel-dev-7691fed20e7301bd89b04d38f88262c83279817a.tar.gz
greybus: arche-platform: Introduce FW_FLASHING state
Introduce FW_FLASHING state to arche-platform driver, to enable user space to flash/upgrade SVC firmware. Command to enter into flashing state: # echo fw_flashing > /sys/devices/arche_platform.*/state Testing Done: Tested on EVT1.2 and DB3.5 platform. Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/arche_platform.h')
-rw-r--r--drivers/staging/greybus/arche_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/arche_platform.h b/drivers/staging/greybus/arche_platform.h
index 33c4bb8..27deeb7 100644
--- a/drivers/staging/greybus/arche_platform.h
+++ b/drivers/staging/greybus/arche_platform.h
@@ -14,6 +14,7 @@ enum arche_platform_state {
ARCHE_PLATFORM_STATE_OFF,
ARCHE_PLATFORM_STATE_ACTIVE,
ARCHE_PLATFORM_STATE_STANDBY,
+ ARCHE_PLATFORM_STATE_FW_FLASHING,
};
int arche_apb_ctrl_probe(struct platform_device *pdev);
OpenPOWER on IntegriCloud