summaryrefslogtreecommitdiffstats
path: root/Documentation/usb/misc_usbsevseg.txt
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2019-04-16 04:56:01 +0200
committerGreg Kroah-Hartman2019-04-16 12:16:19 +0200
commitd80b5005c5dd113442454b469752f0f95ac15645 (patch)
tree36450319ec6c345904bfb591fdd125af093db2b6 /Documentation/usb/misc_usbsevseg.txt
parentusb: host: xhci-tegra: Add Tegra186 XUSB support (diff)
downloadkernel-qcow2-linux-d80b5005c5dd113442454b469752f0f95ac15645.tar.gz
kernel-qcow2-linux-d80b5005c5dd113442454b469752f0f95ac15645.tar.xz
kernel-qcow2-linux-d80b5005c5dd113442454b469752f0f95ac15645.zip
docs: usb: convert documents to ReST
Convert USB documents to ReST, in order to prepare for adding it to the kernel API book, as most of the stuff there are driver or subsystem-related. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/usb/misc_usbsevseg.txt')
-rw-r--r--Documentation/usb/misc_usbsevseg.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/usb/misc_usbsevseg.txt b/Documentation/usb/misc_usbsevseg.txt
index 0f6be4f9930b..6274aee083ed 100644
--- a/Documentation/usb/misc_usbsevseg.txt
+++ b/Documentation/usb/misc_usbsevseg.txt
@@ -1,4 +1,7 @@
+=============================
USB 7-Segment Numeric Display
+=============================
+
Manufactured by Delcom Engineering
Device Information
@@ -13,9 +16,13 @@ Device Modes
------------
By default, the driver assumes the display is only 6 characters
The mode for 6 characters is:
+
MSB 0x06; LSB 0x3f
+
For the 8 character display:
+
MSB 0x08; LSB 0xff
+
The device can accept "text" either in raw, hex, or ascii textmode.
raw controls each segment manually,
hex expects a value between 0-15 per character,
@@ -42,5 +49,3 @@ Device Operation
To set multiple decimals points sum up each power.
For example, to set the 0th and 3rd decimal place
echo 1001 > /sys/bus/usb/.../decimals
-
-