summaryrefslogtreecommitdiff
path: root/drivers/staging/ab5500_sim/sysfs-sim
blob: b809b21e39ec60bae202286809d3e091bba62bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
What:		/sys/devices/platform/ab5500-core.0/ab5500-sim.4/
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4 directory contains attributes
		allowing the user space to check and configure ab5500 sim level
		shifter interface caracteristics for communication to SIM card

What:		/sys/devices/.../enable_pullup
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/enable_pullup attribute allows
		the user space to configure if internal pull up in SIMIO lines
		has to be enabled or disabled. For enabling write 1 to the file
		and 0 for disabling


What:		/sys/devices/.../dat_pullup
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/dat_pullup attribute allows
		the user space to configure the resistance value for internal
		pull up in SIMIO lines. Following value can be written on the file
		0	SIM_DAT pull-up disabled
		1	SIM_DAT pull-up 4kOhm
		2	SIM_DAT pull-up 5kOhm
		3	SIM_DAT pull-up 6kOhm
		4	SIM_DAT pull-up 7kOhm
		5	SIM_DAT pull-up 8kOhm
		6	SIM_DAT pull-up 9kOhm
		7	SIM_DAT pull-up 10kOhm

What:		/sys/devices/.../mode_sel
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/mode_sel attribute allows
		the user space to configure the mode at which the level shifter
		will work. Following value can be written on the file
		0	TG mode and LI mode off
		1	TG mode on
		2	LI mode on
		3	TG mode and LI mode off

What:		/sys/devices/.../load_sel
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/load_sel attribute allows
		the user space to configure the load on the USBUICC lines.
		Following value can be written on the file.
		0	Data line load < 21pF
		1	Data line load 21-30pF

What:		/sys/devices/.../weak_pulldforce
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/weak_pulldforce attribute allows
		the user space to configure the weak pull down on the USBUICC lines.
		Following value can be written on the file.
		0	USB-UICC data lines weak pull down active
		1	USB-UICC data lines weak pull down not active

What:		/sys/devices/.../simoff_int
Date:		June 2011
KernelVersion:	2.6.35
Contact:	Bibek Basu <bibek.basu@stericsson.com>
Description:
		The /sys/devices/.../ab5500-sim.4/simoff_int attribute allows
		the user space to poll this file and get notified in case a sim
		hot swap has happened. a zero means sim extracetd and a one means
		inserted.