xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-picolcd (revision 08559657b21522d642331f9dc455a3917d85ab00)
1236db47cSBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
2236db47cSBruno PrémontDate:		March 2010
3236db47cSBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
4236db47cSBruno PrémontDescription:	Make it possible to switch the PicoLCD device between LCD
5236db47cSBruno Prémont		(firmware) and bootloader (flasher) operation modes.
6236db47cSBruno Prémont
7236db47cSBruno Prémont		Reading: returns list of available modes, the active mode being
8236db47cSBruno Prémont		enclosed in brackets ('[' and ']')
9236db47cSBruno Prémont
10236db47cSBruno Prémont		Writing: causes operation mode switch. Permitted values are
110b5adf92SBruno Prémont		the non-active mode names listed when read.
12236db47cSBruno Prémont
13236db47cSBruno Prémont		Note: when switching mode the current PicoLCD HID device gets
140b5adf92SBruno Prémont		disconnected and reconnects after above delay (see attribute
150b5adf92SBruno Prémont		operation_mode_delay for its value).
160b5adf92SBruno Prémont
170b5adf92SBruno Prémont
180b5adf92SBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay
190b5adf92SBruno PrémontDate:		April 2010
200b5adf92SBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
210b5adf92SBruno PrémontDescription:	Delay PicoLCD waits before restarting in new mode when
220b5adf92SBruno Prémont		operation_mode has changed.
230b5adf92SBruno Prémont
240b5adf92SBruno Prémont		Reading/Writing: It is expressed in ms and permitted range is
250b5adf92SBruno Prémont		0..30000ms.
26236db47cSBruno Prémont
27b8c21cf6SBruno Prémont
28b8c21cf6SBruno PrémontWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
29b8c21cf6SBruno PrémontDate:		March 2010
30b8c21cf6SBruno PrémontContact:	Bruno Prémont <bonbons@linux-vserver.org>
31b8c21cf6SBruno PrémontDescription:	Make it possible to adjust defio refresh rate.
32b8c21cf6SBruno Prémont
33b8c21cf6SBruno Prémont		Reading: returns list of available refresh rates (expressed in Hz),
34b8c21cf6SBruno Prémont		the active refresh rate being enclosed in brackets ('[' and ']')
35b8c21cf6SBruno Prémont
36b8c21cf6SBruno Prémont		Writing: accepts new refresh rate expressed in integer Hz
37b8c21cf6SBruno Prémont		within permitted rates.
38b8c21cf6SBruno Prémont
39b8c21cf6SBruno Prémont		Note: As device can barely do 2 complete refreshes a second
40b8c21cf6SBruno Prémont		it only makes sense to adjust this value if only one or two
41b8c21cf6SBruno Prémont		tiles get changed and it's not appropriate to expect the application
42*08559657SKees Cook		to flush its tiny changes explicitly at higher than default rate.
43b8c21cf6SBruno Prémont
44