xref: /linux/Documentation/ABI/testing/sysfs-driver-ppi (revision 4e79162a52da61c3a67d0796b9f0e37a5e0ccbd6)
11f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/
21f862f0fSXiaoyan ZhangDate:		August 2012
31f862f0fSXiaoyan ZhangKernel Version:	3.6
41f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
51f862f0fSXiaoyan ZhangDescription:
61f862f0fSXiaoyan Zhang		This folder includes the attributes related with PPI (Physical
71f862f0fSXiaoyan Zhang		Presence Interface). Only if TPM is supported by BIOS, this
8*4e79162aSMasanari Iida		folder makes sense. The folder path can be got by command
91f862f0fSXiaoyan Zhang		'find /sys/ -name 'pcrs''. For the detail information of PPI,
101f862f0fSXiaoyan Zhang		please refer to the PPI specification from
111f862f0fSXiaoyan Zhang		http://www.trustedcomputinggroup.org/
121f862f0fSXiaoyan Zhang
131f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/version
141f862f0fSXiaoyan ZhangDate:		August 2012
151f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
161f862f0fSXiaoyan ZhangDescription:
171f862f0fSXiaoyan Zhang		This attribute shows the version of the PPI supported by the
181f862f0fSXiaoyan Zhang		platform.
191f862f0fSXiaoyan Zhang		This file is readonly.
201f862f0fSXiaoyan Zhang
211f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/request
221f862f0fSXiaoyan ZhangDate:		August 2012
231f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
241f862f0fSXiaoyan ZhangDescription:
251f862f0fSXiaoyan Zhang		This attribute shows the request for an operation to be
261f862f0fSXiaoyan Zhang		executed in the pre-OS environment. It is the only input from
271f862f0fSXiaoyan Zhang		the OS to the pre-OS environment. The request should be an
281f862f0fSXiaoyan Zhang		integer value range from 1 to 160, and 0 means no request.
291f862f0fSXiaoyan Zhang		This file can be read and written.
301f862f0fSXiaoyan Zhang
311f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/00:<bus-num>/ppi/response
321f862f0fSXiaoyan ZhangDate:		August 2012
331f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
341f862f0fSXiaoyan ZhangDescription:
351f862f0fSXiaoyan Zhang		This attribute shows the response to the most recent operation
361f862f0fSXiaoyan Zhang		request it acted upon. The format is "<request> <response num>
371f862f0fSXiaoyan Zhang		: <response description>".
381f862f0fSXiaoyan Zhang		This file is readonly.
391f862f0fSXiaoyan Zhang
401f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/transition_action
411f862f0fSXiaoyan ZhangDate:		August 2012
421f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
431f862f0fSXiaoyan ZhangDescription:
441f862f0fSXiaoyan Zhang		This attribute shows the platform-specific action that should
451f862f0fSXiaoyan Zhang		take place in order to transition to the BIOS for execution of
461f862f0fSXiaoyan Zhang		a requested operation. The format is "<action num>: <action
471f862f0fSXiaoyan Zhang		description>".
481f862f0fSXiaoyan Zhang		This file is readonly.
491f862f0fSXiaoyan Zhang
501f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/tcg_operations
511f862f0fSXiaoyan ZhangDate:		August 2012
521f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
531f862f0fSXiaoyan ZhangDescription:
541f862f0fSXiaoyan Zhang		This attribute shows whether it is allowed to request an
551f862f0fSXiaoyan Zhang		operation to be executed in the pre-OS environment by the BIOS
561f862f0fSXiaoyan Zhang		for the requests defined by TCG, i.e. requests from 1 to 22.
571f862f0fSXiaoyan Zhang		The format is "<request> <status num>: <status description>".
581f862f0fSXiaoyan Zhang		This attribute is only supported by PPI version 1.2+.
591f862f0fSXiaoyan Zhang		This file is readonly.
601f862f0fSXiaoyan Zhang
611f862f0fSXiaoyan ZhangWhat:		/sys/devices/pnp0/<bus-num>/ppi/vs_operations
621f862f0fSXiaoyan ZhangDate:		August 2012
631f862f0fSXiaoyan ZhangContact:	xiaoyan.zhang@intel.com
641f862f0fSXiaoyan ZhangDescription:
651f862f0fSXiaoyan Zhang		This attribute shows whether it is allowed to request an
661f862f0fSXiaoyan Zhang		operation to be executed in the pre-OS environment by the BIOS
671f862f0fSXiaoyan Zhang		for the verdor specific requests, i.e. requests from 128 to
681f862f0fSXiaoyan Zhang		255. The format is same with tcg_operations. This attribute
691f862f0fSXiaoyan Zhang		is also only supported by PPI version 1.2+.
701f862f0fSXiaoyan Zhang		This file is readonly.
71