greybus: arche-platform: Export gpio (reset & sys_boot) to user
authorVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Wed, 6 Jan 2016 06:01:20 +0000 (11:31 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 7 Jan 2016 04:00:35 +0000 (20:00 -0800)
commit6da86df3a4aa6dfbb9af350df4a908a7a9254be0
tree708cec490c4e215c1b844e02de7c7193a5c93a2b
parent1f67ee5c04c9690c4c99fc4d31f4add46ea7be73
greybus: arche-platform: Export gpio (reset & sys_boot) to user

In order to allow user to flash the firmware to,

SVC:
user need to assert the reset first, set sysboot pin and
deassert reset. And then issue a flashing command.

And APB:
User need to assert the reset first, and then issue flashing
command.

So this patch exports the gpio's to user.

Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-apb-ctrl.c
drivers/staging/greybus/arche-platform.c