]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: svc: implement svc_intf_activate
authorJeffrey Carlyle <jcarlyle@google.com>
Fri, 6 May 2016 19:43:53 +0000 (12:43 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 9 May 2016 06:47:18 +0000 (08:47 +0200)
commit140026b32f953593eb8678d67fcc95534efe1b49
tree3b9a52bd6cede5e9cb4eb5b65444a5150d820ca4
parent144763bf8efd8bfc6b0c582fdf3f77564fc0296f
greybus: svc: implement svc_intf_activate

With upcoming firmware changes we will switch from an SVC-driven module
boot sequence to an AP-driven module sequence. This operation allows the
AP to request the SVC to boot a module to which the AP has previouslt
requested power be applied. This operation will also determine if the
remote interface is a dummy module, UniPro-only module, or full Greybus
module.

Testing done: Tested together with "new" firmware boot sequence to
              verify that modules are detected and booted as expected.

Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/svc.c