]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: ap: add support for the AP Device ID unipro management function message
authorMatt Porter <mporter@linaro.org>
Tue, 21 Oct 2014 05:52:27 +0000 (01:52 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 21 Oct 2014 06:37:21 +0000 (14:37 +0800)
commit98f4ab2df9b51356b48210188b4fbff41789acbb
tree5833bb24473e167a470b639371a8707cc97a5a4a
parent697e55d35dcb441cc5bd800efae0f98ec8d63fd9
greybus: ap: add support for the AP Device ID unipro management function message

The AP needs to know its assigned Device ID in order to establish
Greybus connections between CPorts. We could have pulled the Device
ID from the controller hardware in a driver specific manner, but
instead we define one generic message from the SVC to let the
AP know this information. Add this additional unipro management
message and handle it by setting the supplied Device ID in the
struct greybus_host_device. The greybus core will use this to
populate the source Device ID when establishing a connection
between the AP and another module's CPort.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/svc_msg.h