summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_id.h
Commit message (Collapse)AuthorAgeFilesLines
* greybus: fix vendor and product matchingJohan Hovold2015-11-211-2/+2
| | | | | | | | | | | Fix vendor and product matching by matching on the 32-bit Ara vendor and product ids. Remove the "fake" 16-bit vendor and product ids and export the Ara ids using the "vendor" and "product" interface attributes instead. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* greybus: remove unique-id matchingJohan Hovold2015-11-211-2/+0
| | | | | | | | Remove unique-id matching as it does not make much sense to have a driver match a specific device serial number. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* greybus: bundle: s/class_type/classViresh Kumar2015-04-061-2/+2
| | | | | | | Alex suggested to name it class instead of class type. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* greybus: driver corresponds to a bundle, not interfaceViresh Kumar2015-04-061-2/+4
| | | | | | | | A Greybus driver will bind to a bundle, not an interface. Lets follow this rule in code. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
* greybus: greybus_id.h: minor typo fixesGreg Kroah-Hartman2014-12-191-2/+2
| | | | | | | | Align up the BIT() #defines and properly comment the include block define. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
* greybus: interface: rename greybus_interface_block_id to greybus_interface_idGreg Kroah-Hartman2014-12-191-2/+2
| | | | | | | | | This moves the id structure name to not have "block" in it, as that doesn't make sense anymore with the renaming of the gb_interface structure. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
* greybus: driver matching: Greybus drivers bind to interface blocks, not modulesGreg Kroah-Hartman2014-12-111-5/+5
| | | | | | | | | | | Because of this, rename greybus_module_id to greybus_interface_block_id. We still need to add a way for a "class" driver to be bound to an interface, but for now, all we really need is the vendor/product pair as the GP Bridge interface block is going to be our main user. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
* greybus: greybus_id.h: checkpatch cleanupGreg Kroah-Hartman2014-10-061-2/+1
|
* greybus: October 1 updatesAlex Elder2014-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Update the definitions in "greybus_manifest.h" to reflect the changes to the Greybus specification made on October 1. They are: - renaming "device" to be "interface" - renumbering greybus descriptor type - eliminating the notion of a "function" - defining a CPort's protocol in the CPort descriptor - having a "class" take on the types previously used for "function" - renaming "serial number" to be "unique id" (for now) - relying on an interface's maximum cport id to determine how much device+cport address space the interface consumes - adding a simple class descriptor - renaming gb_interface->interface_id to be gb_interface->id This also reorders some things to match ordering in the document, and adds some commentary for the various structures. Since greybus_function_type is gone, we eliminate the "type" field from a function structure. (Functions are going away, next.) Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
* greybus: rename struct greybus_deviceAlex Elder2014-09-221-1/+1
| | | | | | | | | | | | The greybus_device structure represents an Ara phone module. It does *not* (necessarily) represent a UniPro device, nor any device (like an i2c adapter) that might reside on an Ara module. As such, rename struct greybus_device to be struct greybus_module. Rename all symbols having that type to be "gmod" rather than "gdev". Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
* greybus: get field names right for descriptorsGreg Kroah-Hartman2014-09-011-3/+3
|
* greybus: s/greybus_device_id/greybus_module_id/gGreg Kroah-Hartman2014-09-011-1/+1
|
* greybus: Import most recent greybus code to new repo.Greg Kroah-Hartman2014-08-111-0/+27
OpenPOWER on IntegriCloud