From c5b6df9c8dbe0329e154410e9d39526ab01c0b51 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 4 Dec 2015 21:30:07 +0530 Subject: [PATCH] greybus: Documentation: Arrange entries in alphabetical order The order of entries in sysfs-bus-greybus file doesn't match the order files/directories in sysfs on a real board. More specifically, N-svc comes at last and ap_interface_id comes before endo_id within the svc. Fix that. Reviewed-by: Johan Hovold Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- .../greybus/Documentation/sysfs-bus-greybus | 80 +++++++++---------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/drivers/staging/greybus/Documentation/sysfs-bus-greybus index 9a6bbc3a61fb..a0363bfbdd4b 100644 --- a/drivers/staging/greybus/Documentation/sysfs-bus-greybus +++ b/drivers/staging/greybus/Documentation/sysfs-bus-greybus @@ -6,46 +6,6 @@ Description: The "root" greybus device for the Greybus device tree, or bus, where N is a dynamically assigned 1-based id. -What: /sys/bus/greybus/device/N-svc -Date: October 2015 -KernelVersion: 4.XX -Contact: Greg Kroah-Hartman -Description: - The singleton SVC device of bus N. - -What: /sys/bus/greybus/device/N-svc/endo_id -Date: October 2015 -KernelVersion: 4.XX -Contact: Greg Kroah-Hartman -Description: - The Endo ID, which is a 2-byte hexadecimal value - defined by the Endo layout scheme, documented in - the ARA Module Developer Kit. - -What: /sys/bus/greybus/device/N-svc/ap_intf_id -Date: October 2015 -KernelVersion: 4.XX -Contact: Greg Kroah-Hartman -Description: - The AP interface ID, a 1-byte non-zero integer which - defines the position of the AP module on the frame. - The interface positions are defined in the ARA - Module Developer Kit. - -What: /sys/bus/greybus/device/N-svc/unique_id -Date: October 2015 -KernelVersion: 4.XX -Contact: Greg Kroah-Hartman -Description: - The unique ID, or serial number, of the SVC device - -What: /sys/bus/greybus/device/N-svc/version -Date: October 2015 -KernelVersion: 4.XX -Contact: Greg Kroah-Hartman -Description: - The version number of the firmware in the SVC device. - What: /sys/bus/greybus/device/N-I Date: October 2015 KernelVersion: 4.XX @@ -123,3 +83,43 @@ Description: process watching the file will be woken up, and the new value can be read. It's a "poor-man's IPC", yes, but simplifies the Android userspace code immensely. + +What: /sys/bus/greybus/device/N-svc +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman +Description: + The singleton SVC device of bus N. + +What: /sys/bus/greybus/device/N-svc/ap_intf_id +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman +Description: + The AP interface ID, a 1-byte non-zero integer which + defines the position of the AP module on the frame. + The interface positions are defined in the ARA + Module Developer Kit. + +What: /sys/bus/greybus/device/N-svc/endo_id +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman +Description: + The Endo ID, which is a 2-byte hexadecimal value + defined by the Endo layout scheme, documented in + the ARA Module Developer Kit. + +What: /sys/bus/greybus/device/N-svc/unique_id +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman +Description: + The unique ID, or serial number, of the SVC device + +What: /sys/bus/greybus/device/N-svc/version +Date: October 2015 +KernelVersion: 4.XX +Contact: Greg Kroah-Hartman +Description: + The version number of the firmware in the SVC device. -- 2.20.1