greybus: Add control protocol support
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 Jun 2015 11:12:26 +0000 (16:42 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 24 Jun 2015 06:16:15 +0000 (23:16 -0700)
commitcdee4f7505dbb06671a41f63b295d3d7680d760c
tree31dda554c994f8443a94d89dd29dd2b9377992df
parentb08488bea5929f14b1e08d701652427bf63a9b47
greybus: Add control protocol support

Add control protocol driver that is responsible for handling operations
on control CPort. The AP also needs to support incoming requests on its
control port. Features not implemented yet are marked as TODO for now.

NOTE: This also fixes cport-bundle-id to 0 and cport-id to 2 for control
protocol.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/control.c [new file with mode: 0644]
drivers/staging/greybus/control.h [new file with mode: 0644]
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/interface.h