xref: /openbmc/linux/Documentation/ABI/testing/sysfs-devices-lpss_ltr (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*2e0f8822SRafael J. WysockiWhat:		/sys/devices/.../lpss_ltr/
2*2e0f8822SRafael J. WysockiDate:		March 2013
3*2e0f8822SRafael J. WysockiContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
4*2e0f8822SRafael J. WysockiDescription:
5*2e0f8822SRafael J. Wysocki		The /sys/devices/.../lpss_ltr/ directory is only present for
6*2e0f8822SRafael J. Wysocki		devices included into the Intel Lynxpoint Low Power Subsystem
7*2e0f8822SRafael J. Wysocki		(LPSS).  If present, it contains attributes containing the LTR
8*2e0f8822SRafael J. Wysocki		mode and the values of LTR registers of the device.
9*2e0f8822SRafael J. Wysocki
10*2e0f8822SRafael J. WysockiWhat:		/sys/devices/.../lpss_ltr/ltr_mode
11*2e0f8822SRafael J. WysockiDate:		March 2013
12*2e0f8822SRafael J. WysockiContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
13*2e0f8822SRafael J. WysockiDescription:
14*2e0f8822SRafael J. Wysocki		The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
15*2e0f8822SRafael J. Wysocki		integer number (0 or 1) indicating whether or not the devices'
16*2e0f8822SRafael J. Wysocki		LTR functionality is working in the software mode (1).
17*2e0f8822SRafael J. Wysocki
18*2e0f8822SRafael J. Wysocki		This attribute is read-only.  If the device's runtime PM status
19*2e0f8822SRafael J. Wysocki		is not "active", attempts to read from this attribute cause
20*2e0f8822SRafael J. Wysocki		-EAGAIN to be returned.
21*2e0f8822SRafael J. Wysocki
22*2e0f8822SRafael J. WysockiWhat:		/sys/devices/.../lpss_ltr/auto_ltr
23*2e0f8822SRafael J. WysockiDate:		March 2013
24*2e0f8822SRafael J. WysockiContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
25*2e0f8822SRafael J. WysockiDescription:
26*2e0f8822SRafael J. Wysocki		The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
27*2e0f8822SRafael J. Wysocki		current value of the device's AUTO_LTR register (raw)
28*2e0f8822SRafael J. Wysocki		represented as an 8-digit hexadecimal number.
29*2e0f8822SRafael J. Wysocki
30*2e0f8822SRafael J. Wysocki		This attribute is read-only.  If the device's runtime PM status
31*2e0f8822SRafael J. Wysocki		is not "active", attempts to read from this attribute cause
32*2e0f8822SRafael J. Wysocki		-EAGAIN to be returned.
33*2e0f8822SRafael J. Wysocki
34*2e0f8822SRafael J. WysockiWhat:		/sys/devices/.../lpss_ltr/sw_ltr
35*2e0f8822SRafael J. WysockiDate:		March 2013
36*2e0f8822SRafael J. WysockiContact:	Rafael J. Wysocki <rafael.j.wysocki@intel.com>
37*2e0f8822SRafael J. WysockiDescription:
38*2e0f8822SRafael J. Wysocki		The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
39*2e0f8822SRafael J. Wysocki		current value of the device's SW_LTR register (raw) represented
40*2e0f8822SRafael J. Wysocki		as an 8-digit hexadecimal number.
41*2e0f8822SRafael J. Wysocki
42*2e0f8822SRafael J. Wysocki		This attribute is read-only.  If the device's runtime PM status
43*2e0f8822SRafael J. Wysocki		is not "active", attempts to read from this attribute cause
44*2e0f8822SRafael J. Wysocki		-EAGAIN to be returned.
45