xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-driver-hid-picolcd (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode
2*4882a593SmuzhiyunDate:		March 2010
3*4882a593SmuzhiyunContact:	Bruno Prémont <bonbons@linux-vserver.org>
4*4882a593SmuzhiyunDescription:	Make it possible to switch the PicoLCD device between LCD
5*4882a593Smuzhiyun		(firmware) and bootloader (flasher) operation modes.
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun		Reading: returns list of available modes, the active mode being
8*4882a593Smuzhiyun		enclosed in brackets ('[' and ']')
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun		Writing: causes operation mode switch. Permitted values are
11*4882a593Smuzhiyun		the non-active mode names listed when read.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun		Note: when switching mode the current PicoLCD HID device gets
14*4882a593Smuzhiyun		disconnected and reconnects after above delay (see attribute
15*4882a593Smuzhiyun		operation_mode_delay for its value).
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/operation_mode_delay
19*4882a593SmuzhiyunDate:		April 2010
20*4882a593SmuzhiyunContact:	Bruno Prémont <bonbons@linux-vserver.org>
21*4882a593SmuzhiyunDescription:	Delay PicoLCD waits before restarting in new mode when
22*4882a593Smuzhiyun		operation_mode has changed.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun		Reading/Writing: It is expressed in ms and permitted range is
25*4882a593Smuzhiyun		0..30000ms.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/fb_update_rate
29*4882a593SmuzhiyunDate:		March 2010
30*4882a593SmuzhiyunContact:	Bruno Prémont <bonbons@linux-vserver.org>
31*4882a593SmuzhiyunDescription:	Make it possible to adjust defio refresh rate.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun		Reading: returns list of available refresh rates (expressed in Hz),
34*4882a593Smuzhiyun		the active refresh rate being enclosed in brackets ('[' and ']')
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun		Writing: accepts new refresh rate expressed in integer Hz
37*4882a593Smuzhiyun		within permitted rates.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun		Note: As device can barely do 2 complete refreshes a second
40*4882a593Smuzhiyun		it only makes sense to adjust this value if only one or two
41*4882a593Smuzhiyun		tiles get changed and it's not appropriate to expect the application
42*4882a593Smuzhiyun		to flush its tiny changes explicitly at higher than default rate.
43*4882a593Smuzhiyun
44