greybus: interface: Expose DDBL1 manufacturing and production id in sysfs
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 22 Dec 2015 16:34:34 +0000 (22:04 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 22 Dec 2015 21:00:52 +0000 (13:00 -0800)
commit0e9403a0fbf704b40ae80c2379b643caed924a5e
treedbd5acb5f144802717783dea9e5fe96009bd018b
parentb32a5c5346bdaac0ad6ef12cb444a9ad69d2b24b
greybus: interface: Expose DDBL1 manufacturing and production id in sysfs

These ids are already fetched from the SVC, but were never exposed to
sysfs. Userspace may be interested in using these values and hence these
must be exposed to it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/ddbl1_manufacturer_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/ddbl1_product_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/ddbl1_manufacturer_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/ddbl1_product_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/ddbl1_manufacturer_id [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/ddbl1_product_id [new file with mode: 0644]
drivers/staging/greybus/interface.c