xref: /openbmc/linux/Documentation/ABI/testing/sysfs-driver-ufs (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1ad448378SAdrian HunterWhat:		/sys/bus/*/drivers/ufshcd/*/auto_hibern8
2ad448378SAdrian HunterDate:		March 2018
3ad448378SAdrian HunterContact:	linux-scsi@vger.kernel.org
4ad448378SAdrian HunterDescription:
5ad448378SAdrian Hunter		This file contains the auto-hibernate idle timer setting of a
6ad448378SAdrian Hunter		UFS host controller. A value of '0' means auto-hibernate is not
7ad448378SAdrian Hunter		enabled. Otherwise the value is the number of microseconds of
8ad448378SAdrian Hunter		idle time before the UFS host controller will autonomously put
9ad448378SAdrian Hunter		the link into hibernate state. That will save power at the
10ad448378SAdrian Hunter		expense of increased latency. Note that the hardware supports
11ad448378SAdrian Hunter		10-bit values with a power-of-ten multiplier which allows a
12ad448378SAdrian Hunter		maximum value of 102300000. Refer to the UFS Host Controller
13ad448378SAdrian Hunter		Interface specification for more details.
14ad448378SAdrian Hunter
1545bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_type
16e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/device_type
1745bced87SStanislav NijnikovDate:		February 2018
1845bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
1945bced87SStanislav NijnikovDescription:	This file shows the device type. This is one of the UFS
2045bced87SStanislav Nijnikov		device descriptor parameters. The full information about
2145bced87SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
2254a19b4dSMauro Carvalho Chehab
2345bced87SStanislav Nijnikov		The file is read only.
2445bced87SStanislav Nijnikov
2545bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_class
26e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/device_class
2745bced87SStanislav NijnikovDate:		February 2018
2845bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
2945bced87SStanislav NijnikovDescription:	This file shows the device class. This is one of the UFS
3045bced87SStanislav Nijnikov		device descriptor parameters. The full information about
3145bced87SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
3254a19b4dSMauro Carvalho Chehab
3345bced87SStanislav Nijnikov		The file is read only.
3445bced87SStanislav Nijnikov
3545bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_sub_class
36e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/device_sub_class
3745bced87SStanislav NijnikovDate:		February 2018
3845bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
3945bced87SStanislav NijnikovDescription:	This file shows the UFS storage subclass. This is one of
4045bced87SStanislav Nijnikov		the UFS device descriptor parameters. The full information
4145bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
4254a19b4dSMauro Carvalho Chehab
4345bced87SStanislav Nijnikov		The file is read only.
4445bced87SStanislav Nijnikov
4545bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/protocol
46e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/protocol
4745bced87SStanislav NijnikovDate:		February 2018
4845bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
4945bced87SStanislav NijnikovDescription:	This file shows the protocol supported by an UFS device.
5045bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
5145bced87SStanislav Nijnikov		The full information about the descriptor could be found
5245bced87SStanislav Nijnikov		at UFS specifications 2.1.
5354a19b4dSMauro Carvalho Chehab
5445bced87SStanislav Nijnikov		The file is read only.
5545bced87SStanislav Nijnikov
5645bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_luns
57e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/number_of_luns
5845bced87SStanislav NijnikovDate:		February 2018
5945bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
6045bced87SStanislav NijnikovDescription:	This file shows number of logical units. This is one of
6145bced87SStanislav Nijnikov		the UFS device descriptor parameters. The full information
6245bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
6354a19b4dSMauro Carvalho Chehab
6445bced87SStanislav Nijnikov		The file is read only.
6545bced87SStanislav Nijnikov
6645bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_wluns
67e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/number_of_wluns
6845bced87SStanislav NijnikovDate:		February 2018
6945bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
7045bced87SStanislav NijnikovDescription:	This file shows number of well known logical units.
7145bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
7245bced87SStanislav Nijnikov		The full information about the descriptor could be found
7345bced87SStanislav Nijnikov		at UFS specifications 2.1.
7454a19b4dSMauro Carvalho Chehab
7545bced87SStanislav Nijnikov		The file is read only.
7645bced87SStanislav Nijnikov
7745bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/boot_enable
78e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/boot_enable
7945bced87SStanislav NijnikovDate:		February 2018
8045bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
8145bced87SStanislav NijnikovDescription:	This file shows value that indicates whether the device is
8245bced87SStanislav Nijnikov		enabled for boot. This is one of the UFS device descriptor
8345bced87SStanislav Nijnikov		parameters. The full information about the descriptor could
8445bced87SStanislav Nijnikov		be found at UFS specifications 2.1.
8554a19b4dSMauro Carvalho Chehab
8645bced87SStanislav Nijnikov		The file is read only.
8745bced87SStanislav Nijnikov
8845bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/descriptor_access_enable
89e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/descriptor_access_enable
9045bced87SStanislav NijnikovDate:		February 2018
9145bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
9245bced87SStanislav NijnikovDescription:	This file shows value that indicates whether the device
9345bced87SStanislav Nijnikov		descriptor could be read after partial initialization phase
9445bced87SStanislav Nijnikov		of the boot sequence. This is one of the UFS device descriptor
9545bced87SStanislav Nijnikov		parameters. The full information about the descriptor could
9645bced87SStanislav Nijnikov		be found at UFS specifications 2.1.
9754a19b4dSMauro Carvalho Chehab
9845bced87SStanislav Nijnikov		The file is read only.
9945bced87SStanislav Nijnikov
10045bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/initial_power_mode
101e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/initial_power_mode
10245bced87SStanislav NijnikovDate:		February 2018
10345bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
10445bced87SStanislav NijnikovDescription:	This file shows value that defines the power mode after
10545bced87SStanislav Nijnikov		device initialization or hardware reset. This is one of
10645bced87SStanislav Nijnikov		the UFS device descriptor parameters. The full information
10745bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
10854a19b4dSMauro Carvalho Chehab
10945bced87SStanislav Nijnikov		The file is read only.
11045bced87SStanislav Nijnikov
11145bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/high_priority_lun
112e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/high_priority_lun
11345bced87SStanislav NijnikovDate:		February 2018
11445bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
11545bced87SStanislav NijnikovDescription:	This file shows the high priority lun. This is one of
11645bced87SStanislav Nijnikov		the UFS device descriptor parameters. The full information
11745bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
11854a19b4dSMauro Carvalho Chehab
11945bced87SStanislav Nijnikov		The file is read only.
12045bced87SStanislav Nijnikov
12145bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/secure_removal_type
122e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/secure_removal_type
12345bced87SStanislav NijnikovDate:		February 2018
12445bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
12545bced87SStanislav NijnikovDescription:	This file shows the secure removal type. This is one of
12645bced87SStanislav Nijnikov		the UFS device descriptor parameters. The full information
12745bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
12854a19b4dSMauro Carvalho Chehab
12945bced87SStanislav Nijnikov		The file is read only.
13045bced87SStanislav Nijnikov
13145bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/support_security_lun
132e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/support_security_lun
13345bced87SStanislav NijnikovDate:		February 2018
13445bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
13545bced87SStanislav NijnikovDescription:	This file shows whether the security lun is supported.
13645bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
13745bced87SStanislav Nijnikov		The full information about the descriptor could be found
13845bced87SStanislav Nijnikov		at UFS specifications 2.1.
13954a19b4dSMauro Carvalho Chehab
14045bced87SStanislav Nijnikov		The file is read only.
14145bced87SStanislav Nijnikov
14245bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/bkops_termination_latency
143e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/bkops_termination_latency
14445bced87SStanislav NijnikovDate:		February 2018
14545bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
14645bced87SStanislav NijnikovDescription:	This file shows the background operations termination
14745bced87SStanislav Nijnikov		latency. This is one of the UFS device descriptor parameters.
14845bced87SStanislav Nijnikov		The full information about the descriptor could be found
14945bced87SStanislav Nijnikov		at UFS specifications 2.1.
15054a19b4dSMauro Carvalho Chehab
15145bced87SStanislav Nijnikov		The file is read only.
15245bced87SStanislav Nijnikov
15345bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/initial_active_icc_level
154e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/initial_active_icc_level
15545bced87SStanislav NijnikovDate:		February 2018
15645bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
15745bced87SStanislav NijnikovDescription:	This file shows the initial active ICC level. This is one
15845bced87SStanislav Nijnikov		of the UFS device descriptor parameters. The full information
15945bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
16054a19b4dSMauro Carvalho Chehab
16145bced87SStanislav Nijnikov		The file is read only.
16245bced87SStanislav Nijnikov
16345bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/specification_version
164e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/specification_version
16545bced87SStanislav NijnikovDate:		February 2018
16645bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
16745bced87SStanislav NijnikovDescription:	This file shows the specification version. This is one
16845bced87SStanislav Nijnikov		of the UFS device descriptor parameters. The full information
16945bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
17054a19b4dSMauro Carvalho Chehab
17145bced87SStanislav Nijnikov		The file is read only.
17245bced87SStanislav Nijnikov
17345bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/manufacturing_date
174e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/manufacturing_date
17545bced87SStanislav NijnikovDate:		February 2018
17645bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
17745bced87SStanislav NijnikovDescription:	This file shows the manufacturing date in BCD format.
17845bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
17945bced87SStanislav Nijnikov		The full information about the descriptor could be found
18045bced87SStanislav Nijnikov		at UFS specifications 2.1.
18154a19b4dSMauro Carvalho Chehab
18245bced87SStanislav Nijnikov		The file is read only.
18345bced87SStanislav Nijnikov
18445bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/manufacturer_id
185e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/manufacturer_id
18645bced87SStanislav NijnikovDate:		February 2018
18745bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
1883e42d1deSCarlos BilbaoDescription:	This file shows the manufacturer ID. This is one of the
18945bced87SStanislav Nijnikov		UFS device descriptor parameters. The full information about
19045bced87SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
19154a19b4dSMauro Carvalho Chehab
19245bced87SStanislav Nijnikov		The file is read only.
19345bced87SStanislav Nijnikov
19445bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/rtt_capability
195e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/rtt_capability
19645bced87SStanislav NijnikovDate:		February 2018
19745bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
19845bced87SStanislav NijnikovDescription:	This file shows the maximum number of outstanding RTTs
19945bced87SStanislav Nijnikov		supported by the device. This is one of the UFS device
20045bced87SStanislav Nijnikov		descriptor parameters. The full information about
20145bced87SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
20254a19b4dSMauro Carvalho Chehab
20345bced87SStanislav Nijnikov		The file is read only.
20445bced87SStanislav Nijnikov
20545bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/rtc_update
206e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/rtc_update
20745bced87SStanislav NijnikovDate:		February 2018
20845bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
20945bced87SStanislav NijnikovDescription:	This file shows the frequency and method of the realtime
21045bced87SStanislav Nijnikov		clock update. This is one of the UFS device descriptor
21145bced87SStanislav Nijnikov		parameters. The full information about the descriptor
21245bced87SStanislav Nijnikov		could be found at UFS specifications 2.1.
21354a19b4dSMauro Carvalho Chehab
21445bced87SStanislav Nijnikov		The file is read only.
21545bced87SStanislav Nijnikov
21645bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/ufs_features
217e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/ufs_features
21845bced87SStanislav NijnikovDate:		February 2018
21945bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
22045bced87SStanislav NijnikovDescription:	This file shows which features are supported by the device.
22145bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
22245bced87SStanislav Nijnikov		The full information about the descriptor could be
22345bced87SStanislav Nijnikov		found at UFS specifications 2.1.
22454a19b4dSMauro Carvalho Chehab
22545bced87SStanislav Nijnikov		The file is read only.
22645bced87SStanislav Nijnikov
22745bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/ffu_timeout
228e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/ffu_timeout
22945bced87SStanislav NijnikovDate:		February 2018
23045bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
23145bced87SStanislav NijnikovDescription:	This file shows the FFU timeout. This is one of the
23245bced87SStanislav Nijnikov		UFS device descriptor parameters. The full information
23345bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
23454a19b4dSMauro Carvalho Chehab
23545bced87SStanislav Nijnikov		The file is read only.
23645bced87SStanislav Nijnikov
23745bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/queue_depth
238e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/queue_depth
23945bced87SStanislav NijnikovDate:		February 2018
24045bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
24145bced87SStanislav NijnikovDescription:	This file shows the device queue depth. This is one of the
24245bced87SStanislav Nijnikov		UFS device descriptor parameters. The full information
24345bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
24454a19b4dSMauro Carvalho Chehab
24545bced87SStanislav Nijnikov		The file is read only.
24645bced87SStanislav Nijnikov
24745bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/device_version
248e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/device_version
24945bced87SStanislav NijnikovDate:		February 2018
25045bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
25145bced87SStanislav NijnikovDescription:	This file shows the device version. This is one of the
25245bced87SStanislav Nijnikov		UFS device descriptor parameters. The full information
25345bced87SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
25454a19b4dSMauro Carvalho Chehab
25545bced87SStanislav Nijnikov		The file is read only.
25645bced87SStanislav Nijnikov
25745bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/number_of_secure_wpa
258e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/number_of_secure_wpa
25945bced87SStanislav NijnikovDate:		February 2018
26045bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
26145bced87SStanislav NijnikovDescription:	This file shows number of secure write protect areas
26245bced87SStanislav Nijnikov		supported by the device. This is one of the UFS device
26345bced87SStanislav Nijnikov		descriptor parameters. The full information about
26445bced87SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
26554a19b4dSMauro Carvalho Chehab
26645bced87SStanislav Nijnikov		The file is read only.
26745bced87SStanislav Nijnikov
26845bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/psa_max_data_size
269e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/psa_max_data_size
27045bced87SStanislav NijnikovDate:		February 2018
27145bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
27245bced87SStanislav NijnikovDescription:	This file shows the maximum amount of data that may be
27345bced87SStanislav Nijnikov		written during the pre-soldering phase of the PSA flow.
27445bced87SStanislav Nijnikov		This is one of the UFS device descriptor parameters.
27545bced87SStanislav Nijnikov		The full information about the descriptor could be found
27645bced87SStanislav Nijnikov		at UFS specifications 2.1.
27754a19b4dSMauro Carvalho Chehab
27845bced87SStanislav Nijnikov		The file is read only.
27945bced87SStanislav Nijnikov
28045bced87SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/psa_state_timeout
281e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/psa_state_timeout
28245bced87SStanislav NijnikovDate:		February 2018
28345bced87SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
28445bced87SStanislav NijnikovDescription:	This file shows the command maximum timeout for a change
28545bced87SStanislav Nijnikov		in PSA state. This is one of the UFS device descriptor
28645bced87SStanislav Nijnikov		parameters. The full information about the descriptor could
28745bced87SStanislav Nijnikov		be found at UFS specifications 2.1.
28854a19b4dSMauro Carvalho Chehab
28945bced87SStanislav Nijnikov		The file is read only.
2908c2582bfSStanislav Nijnikov
2918c2582bfSStanislav Nijnikov
2928c2582bfSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/interconnect_descriptor/unipro_version
293e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/interconnect_descriptor/unipro_version
2948c2582bfSStanislav NijnikovDate:		February 2018
2958c2582bfSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
2968c2582bfSStanislav NijnikovDescription:	This file shows the MIPI UniPro version number in BCD format.
2978c2582bfSStanislav Nijnikov		This is one of the UFS interconnect descriptor parameters.
2988c2582bfSStanislav Nijnikov		The full information about the descriptor could be found at
2998c2582bfSStanislav Nijnikov		UFS specifications 2.1.
30054a19b4dSMauro Carvalho Chehab
3018c2582bfSStanislav Nijnikov		The file is read only.
3028c2582bfSStanislav Nijnikov
3038c2582bfSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/interconnect_descriptor/mphy_version
304e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/interconnect_descriptor/mphy_version
3058c2582bfSStanislav NijnikovDate:		February 2018
3068c2582bfSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
3078c2582bfSStanislav NijnikovDescription:	This file shows the MIPI M-PHY version number in BCD format.
3088c2582bfSStanislav Nijnikov		This is one of the UFS interconnect descriptor parameters.
3098c2582bfSStanislav Nijnikov		The full information about the descriptor could be found at
3108c2582bfSStanislav Nijnikov		UFS specifications 2.1.
31154a19b4dSMauro Carvalho Chehab
3128c2582bfSStanislav Nijnikov		The file is read only.
313c720c091SStanislav Nijnikov
314c720c091SStanislav Nijnikov
315c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/raw_device_capacity
316e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/raw_device_capacity
317c720c091SStanislav NijnikovDate:		February 2018
318c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
319c720c091SStanislav NijnikovDescription:	This file shows the total memory quantity available to
320c720c091SStanislav Nijnikov		the user to configure the device logical units. This is one
321c720c091SStanislav Nijnikov		of the UFS geometry descriptor parameters. The full
322c720c091SStanislav Nijnikov		information about the descriptor could be found at
323c720c091SStanislav Nijnikov		UFS specifications 2.1.
32454a19b4dSMauro Carvalho Chehab
325c720c091SStanislav Nijnikov		The file is read only.
326c720c091SStanislav Nijnikov
327c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_number_of_luns
328e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/max_number_of_luns
329c720c091SStanislav NijnikovDate:		February 2018
330c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
331c720c091SStanislav NijnikovDescription:	This file shows the maximum number of logical units
332c720c091SStanislav Nijnikov		supported by the UFS device. This is one of the UFS
333c720c091SStanislav Nijnikov		geometry descriptor parameters. The full information about
334c720c091SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
33554a19b4dSMauro Carvalho Chehab
336c720c091SStanislav Nijnikov		The file is read only.
337c720c091SStanislav Nijnikov
338c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/segment_size
339e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/segment_size
340c720c091SStanislav NijnikovDate:		February 2018
341c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
342c720c091SStanislav NijnikovDescription:	This file shows the segment size. This is one of the UFS
343c720c091SStanislav Nijnikov		geometry descriptor parameters. The full information about
344c720c091SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
34554a19b4dSMauro Carvalho Chehab
346c720c091SStanislav Nijnikov		The file is read only.
347c720c091SStanislav Nijnikov
348c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/allocation_unit_size
349e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/allocation_unit_size
350c720c091SStanislav NijnikovDate:		February 2018
351c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
352c720c091SStanislav NijnikovDescription:	This file shows the allocation unit size. This is one of
353c720c091SStanislav Nijnikov		the UFS geometry descriptor parameters. The full information
354c720c091SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
35554a19b4dSMauro Carvalho Chehab
356c720c091SStanislav Nijnikov		The file is read only.
357c720c091SStanislav Nijnikov
358c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/min_addressable_block_size
359e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/min_addressable_block_size
360c720c091SStanislav NijnikovDate:		February 2018
361c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
362c720c091SStanislav NijnikovDescription:	This file shows the minimum addressable block size. This
363c720c091SStanislav Nijnikov		is one of the UFS geometry descriptor parameters. The full
364c720c091SStanislav Nijnikov		information about the descriptor could be found at UFS
365c720c091SStanislav Nijnikov		specifications 2.1.
36654a19b4dSMauro Carvalho Chehab
367c720c091SStanislav Nijnikov		The file is read only.
368c720c091SStanislav Nijnikov
369c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/optimal_read_block_size
370e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/optimal_read_block_size
371c720c091SStanislav NijnikovDate:		February 2018
372c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
373c720c091SStanislav NijnikovDescription:	This file shows the optimal read block size. This is one
374c720c091SStanislav Nijnikov		of the UFS geometry descriptor parameters. The full
375c720c091SStanislav Nijnikov		information about the descriptor could be found at UFS
376c720c091SStanislav Nijnikov		specifications 2.1.
37754a19b4dSMauro Carvalho Chehab
378c720c091SStanislav Nijnikov		The file is read only.
379c720c091SStanislav Nijnikov
380c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/optimal_write_block_size
381e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/optimal_write_block_size
382c720c091SStanislav NijnikovDate:		February 2018
383c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
384c720c091SStanislav NijnikovDescription:	This file shows the optimal write block size. This is one
385c720c091SStanislav Nijnikov		of the UFS geometry descriptor parameters. The full
386c720c091SStanislav Nijnikov		information about the descriptor could be found at UFS
387c720c091SStanislav Nijnikov		specifications 2.1.
38854a19b4dSMauro Carvalho Chehab
389c720c091SStanislav Nijnikov		The file is read only.
390c720c091SStanislav Nijnikov
391c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_in_buffer_size
392e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/max_in_buffer_size
393c720c091SStanislav NijnikovDate:		February 2018
394c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
395c720c091SStanislav NijnikovDescription:	This file shows the maximum data-in buffer size. This
396c720c091SStanislav Nijnikov		is one of the UFS geometry descriptor parameters. The full
397c720c091SStanislav Nijnikov		information about the descriptor could be found at UFS
398c720c091SStanislav Nijnikov		specifications 2.1.
39954a19b4dSMauro Carvalho Chehab
400c720c091SStanislav Nijnikov		The file is read only.
401c720c091SStanislav Nijnikov
402c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_out_buffer_size
403e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/max_out_buffer_size
404c720c091SStanislav NijnikovDate:		February 2018
405c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
406c720c091SStanislav NijnikovDescription:	This file shows the maximum data-out buffer size. This
407c720c091SStanislav Nijnikov		is one of the UFS geometry descriptor parameters. The full
408c720c091SStanislav Nijnikov		information about the descriptor could be found at UFS
409c720c091SStanislav Nijnikov		specifications 2.1.
41054a19b4dSMauro Carvalho Chehab
411c720c091SStanislav Nijnikov		The file is read only.
412c720c091SStanislav Nijnikov
413c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/rpmb_rw_size
414e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/rpmb_rw_size
415c720c091SStanislav NijnikovDate:		February 2018
416c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
417c720c091SStanislav NijnikovDescription:	This file shows the maximum number of RPMB frames allowed
418c720c091SStanislav Nijnikov		in Security Protocol In/Out. This is one of the UFS geometry
419c720c091SStanislav Nijnikov		descriptor parameters. The full information about the
420c720c091SStanislav Nijnikov		descriptor could be found at UFS specifications 2.1.
42154a19b4dSMauro Carvalho Chehab
422c720c091SStanislav Nijnikov		The file is read only.
423c720c091SStanislav Nijnikov
424c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/dyn_capacity_resource_policy
425e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/dyn_capacity_resource_policy
426c720c091SStanislav NijnikovDate:		February 2018
427c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
428c720c091SStanislav NijnikovDescription:	This file shows the dynamic capacity resource policy. This
429c720c091SStanislav Nijnikov		is one of the UFS geometry descriptor parameters. The full
430c720c091SStanislav Nijnikov		information about the descriptor could be found at
431c720c091SStanislav Nijnikov		UFS specifications 2.1.
43254a19b4dSMauro Carvalho Chehab
433c720c091SStanislav Nijnikov		The file is read only.
434c720c091SStanislav Nijnikov
435c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/data_ordering
436e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/data_ordering
437c720c091SStanislav NijnikovDate:		February 2018
438c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
439c720c091SStanislav NijnikovDescription:	This file shows support for out-of-order data transfer.
440c720c091SStanislav Nijnikov		This is one of the UFS geometry descriptor parameters.
441c720c091SStanislav Nijnikov		The full information about the descriptor could be found at
442c720c091SStanislav Nijnikov		UFS specifications 2.1.
44354a19b4dSMauro Carvalho Chehab
444c720c091SStanislav Nijnikov		The file is read only.
445c720c091SStanislav Nijnikov
446c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/max_number_of_contexts
447e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/max_number_of_contexts
448c720c091SStanislav NijnikovDate:		February 2018
449c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
450c720c091SStanislav NijnikovDescription:	This file shows maximum available number of contexts which
451c720c091SStanislav Nijnikov		are supported by the device. This is one of the UFS geometry
452c720c091SStanislav Nijnikov		descriptor parameters. The full information about the
453c720c091SStanislav Nijnikov		descriptor could be found at UFS specifications 2.1.
45454a19b4dSMauro Carvalho Chehab
455c720c091SStanislav Nijnikov		The file is read only.
456c720c091SStanislav Nijnikov
457c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/sys_data_tag_unit_size
458e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/sys_data_tag_unit_size
459c720c091SStanislav NijnikovDate:		February 2018
460c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
461c720c091SStanislav NijnikovDescription:	This file shows system data tag unit size. This is one of
462c720c091SStanislav Nijnikov		the UFS geometry descriptor parameters. The full information
463c720c091SStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
46454a19b4dSMauro Carvalho Chehab
465c720c091SStanislav Nijnikov		The file is read only.
466c720c091SStanislav Nijnikov
467c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/sys_data_tag_resource_size
468e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/sys_data_tag_resource_size
469c720c091SStanislav NijnikovDate:		February 2018
470c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
471c720c091SStanislav NijnikovDescription:	This file shows maximum storage area size allocated by
472c720c091SStanislav Nijnikov		the device to handle system data by the tagging mechanism.
473c720c091SStanislav Nijnikov		This is one of the UFS geometry descriptor parameters.
474c720c091SStanislav Nijnikov		The full information about the descriptor could be found at
475c720c091SStanislav Nijnikov		UFS specifications 2.1.
47654a19b4dSMauro Carvalho Chehab
477c720c091SStanislav Nijnikov		The file is read only.
478c720c091SStanislav Nijnikov
479c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/secure_removal_types
480e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/secure_removal_types
481c720c091SStanislav NijnikovDate:		February 2018
482c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
483c720c091SStanislav NijnikovDescription:	This file shows supported secure removal types. This is
484c720c091SStanislav Nijnikov		one of the UFS geometry descriptor parameters. The full
485c720c091SStanislav Nijnikov		information about the descriptor could be found at
486c720c091SStanislav Nijnikov		UFS specifications 2.1.
48754a19b4dSMauro Carvalho Chehab
488c720c091SStanislav Nijnikov		The file is read only.
489c720c091SStanislav Nijnikov
490c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/memory_types
491e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/memory_types
492c720c091SStanislav NijnikovDate:		February 2018
493c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
494c720c091SStanislav NijnikovDescription:	This file shows supported memory types. This is one of
495c720c091SStanislav Nijnikov		the UFS geometry descriptor parameters. The full
496c720c091SStanislav Nijnikov		information about the descriptor could be found at
497c720c091SStanislav Nijnikov		UFS specifications 2.1.
49854a19b4dSMauro Carvalho Chehab
499c720c091SStanislav Nijnikov		The file is read only.
500c720c091SStanislav Nijnikov
501c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/*_memory_max_alloc_units
502e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/*_memory_max_alloc_units
503c720c091SStanislav NijnikovDate:		February 2018
504c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
505c720c091SStanislav NijnikovDescription:	This file shows the maximum number of allocation units for
506c720c091SStanislav Nijnikov		different memory types (system code, non persistent,
507c720c091SStanislav Nijnikov		enhanced type 1-4). This is one of the UFS geometry
508c720c091SStanislav Nijnikov		descriptor parameters. The full information about the
509c720c091SStanislav Nijnikov		descriptor could be found at UFS specifications 2.1.
51054a19b4dSMauro Carvalho Chehab
511c720c091SStanislav Nijnikov		The file is read only.
512c720c091SStanislav Nijnikov
513c720c091SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/*_memory_capacity_adjustment_factor
514e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/*_memory_capacity_adjustment_factor
515c720c091SStanislav NijnikovDate:		February 2018
516c720c091SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
517c720c091SStanislav NijnikovDescription:	This file shows the memory capacity adjustment factor for
518c720c091SStanislav Nijnikov		different memory types (system code, non persistent,
519c720c091SStanislav Nijnikov		enhanced type 1-4). This is one of the UFS geometry
520c720c091SStanislav Nijnikov		descriptor parameters. The full information about the
521c720c091SStanislav Nijnikov		descriptor could be found at UFS specifications 2.1.
52254a19b4dSMauro Carvalho Chehab
523c720c091SStanislav Nijnikov		The file is read only.
524c648c2d2SStanislav Nijnikov
525c648c2d2SStanislav Nijnikov
526c648c2d2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/health_descriptor/eol_info
527e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/health_descriptor/eol_info
528c648c2d2SStanislav NijnikovDate:		February 2018
529c648c2d2SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
530c648c2d2SStanislav NijnikovDescription:	This file shows preend of life information. This is one
531c648c2d2SStanislav Nijnikov		of the UFS health descriptor parameters. The full
532c648c2d2SStanislav Nijnikov		information about the descriptor could be found at
533c648c2d2SStanislav Nijnikov		UFS specifications 2.1.
53454a19b4dSMauro Carvalho Chehab
535c648c2d2SStanislav Nijnikov		The file is read only.
536c648c2d2SStanislav Nijnikov
537c648c2d2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/health_descriptor/life_time_estimation_a
538e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/health_descriptor/life_time_estimation_a
539c648c2d2SStanislav NijnikovDate:		February 2018
540c648c2d2SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
541c648c2d2SStanislav NijnikovDescription:	This file shows indication of the device life time
542c648c2d2SStanislav Nijnikov		(method a). This is one of the UFS health descriptor
543c648c2d2SStanislav Nijnikov		parameters. The full information about the descriptor
544c648c2d2SStanislav Nijnikov		could be found at UFS specifications 2.1.
54554a19b4dSMauro Carvalho Chehab
546c648c2d2SStanislav Nijnikov		The file is read only.
547c648c2d2SStanislav Nijnikov
548c648c2d2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/health_descriptor/life_time_estimation_b
549e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/health_descriptor/life_time_estimation_b
550c648c2d2SStanislav NijnikovDate:		February 2018
551c648c2d2SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
552c648c2d2SStanislav NijnikovDescription:	This file shows indication of the device life time
553c648c2d2SStanislav Nijnikov		(method b). This is one of the UFS health descriptor
554c648c2d2SStanislav Nijnikov		parameters. The full information about the descriptor
555c648c2d2SStanislav Nijnikov		could be found at UFS specifications 2.1.
55654a19b4dSMauro Carvalho Chehab
557c648c2d2SStanislav Nijnikov		The file is read only.
558c2e6e283SStanislav Nijnikov
559c2e6e283SStanislav Nijnikov
560c2e6e283SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/power_descriptor/active_icc_levels_vcc*
561e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/power_descriptor/active_icc_levels_vcc*
562c2e6e283SStanislav NijnikovDate:		February 2018
563c2e6e283SStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
564c2e6e283SStanislav NijnikovDescription:	This file shows maximum VCC, VCCQ and VCCQ2 value for
565c2e6e283SStanislav Nijnikov		active ICC levels from 0 to 15. This is one of the UFS
566c2e6e283SStanislav Nijnikov		power descriptor parameters. The full information about
567c2e6e283SStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
56854a19b4dSMauro Carvalho Chehab
569c2e6e283SStanislav Nijnikov		The file is read only.
5702238d31cSStanislav Nijnikov
5712238d31cSStanislav Nijnikov
5722238d31cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/string_descriptors/manufacturer_name
573e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/string_descriptors/manufacturer_name
5742238d31cSStanislav NijnikovDate:		February 2018
5752238d31cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
5763e42d1deSCarlos BilbaoDescription:	This file contains a device manufacturer name string.
5772238d31cSStanislav Nijnikov		The full information about the descriptor could be found at
5782238d31cSStanislav Nijnikov		UFS specifications 2.1.
57954a19b4dSMauro Carvalho Chehab
5802238d31cSStanislav Nijnikov		The file is read only.
5812238d31cSStanislav Nijnikov
5822238d31cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/string_descriptors/product_name
583e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/string_descriptors/product_name
5842238d31cSStanislav NijnikovDate:		February 2018
5852238d31cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
5862238d31cSStanislav NijnikovDescription:	This file contains a product name string. The full information
5872238d31cSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
58854a19b4dSMauro Carvalho Chehab
5892238d31cSStanislav Nijnikov		The file is read only.
5902238d31cSStanislav Nijnikov
5912238d31cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/string_descriptors/oem_id
592e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/string_descriptors/oem_id
5932238d31cSStanislav NijnikovDate:		February 2018
5942238d31cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
5952238d31cSStanislav NijnikovDescription:	This file contains a OEM ID string. The full information
5962238d31cSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
59754a19b4dSMauro Carvalho Chehab
5982238d31cSStanislav Nijnikov		The file is read only.
5992238d31cSStanislav Nijnikov
6002238d31cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/string_descriptors/serial_number
601e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/string_descriptors/serial_number
6022238d31cSStanislav NijnikovDate:		February 2018
6032238d31cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
6042238d31cSStanislav NijnikovDescription:	This file contains a device serial number string. The full
6052238d31cSStanislav Nijnikov		information about the descriptor could be found at
6062238d31cSStanislav Nijnikov		UFS specifications 2.1.
60754a19b4dSMauro Carvalho Chehab
6082238d31cSStanislav Nijnikov		The file is read only.
6092238d31cSStanislav Nijnikov
6102238d31cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/string_descriptors/product_revision
611e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/string_descriptors/product_revision
6122238d31cSStanislav NijnikovDate:		February 2018
6132238d31cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
6142238d31cSStanislav NijnikovDescription:	This file contains a product revision string. The full
6152238d31cSStanislav Nijnikov		information about the descriptor could be found at
6162238d31cSStanislav Nijnikov		UFS specifications 2.1.
61754a19b4dSMauro Carvalho Chehab
6182238d31cSStanislav Nijnikov		The file is read only.
619d829fc8aSStanislav Nijnikov
620d829fc8aSStanislav Nijnikov
621d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/boot_lun_id
622d829fc8aSStanislav NijnikovDate:		February 2018
623d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
624d829fc8aSStanislav NijnikovDescription:	This file shows boot LUN information. This is one of
625d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
626d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
62754a19b4dSMauro Carvalho Chehab
628d829fc8aSStanislav Nijnikov		The file is read only.
629d829fc8aSStanislav Nijnikov
630d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/lun_write_protect
631d829fc8aSStanislav NijnikovDate:		February 2018
632d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
633d829fc8aSStanislav NijnikovDescription:	This file shows LUN write protection status. This is one of
634d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
635d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
63654a19b4dSMauro Carvalho Chehab
637d829fc8aSStanislav Nijnikov		The file is read only.
638d829fc8aSStanislav Nijnikov
639d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/lun_queue_depth
640d829fc8aSStanislav NijnikovDate:		February 2018
641d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
642d829fc8aSStanislav NijnikovDescription:	This file shows LUN queue depth. This is one of the UFS
643d829fc8aSStanislav Nijnikov		unit descriptor parameters. The full information about
644d829fc8aSStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
64554a19b4dSMauro Carvalho Chehab
646d829fc8aSStanislav Nijnikov		The file is read only.
647d829fc8aSStanislav Nijnikov
648d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/psa_sensitive
649d829fc8aSStanislav NijnikovDate:		February 2018
650d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
651d829fc8aSStanislav NijnikovDescription:	This file shows PSA sensitivity. This is one of the UFS
652d829fc8aSStanislav Nijnikov		unit descriptor parameters. The full information about
653d829fc8aSStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
65454a19b4dSMauro Carvalho Chehab
655d829fc8aSStanislav Nijnikov		The file is read only.
656d829fc8aSStanislav Nijnikov
657d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/lun_memory_type
658d829fc8aSStanislav NijnikovDate:		February 2018
659d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
660d829fc8aSStanislav NijnikovDescription:	This file shows LUN memory type. This is one of the UFS
661d829fc8aSStanislav Nijnikov		unit descriptor parameters. The full information about
662d829fc8aSStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
66354a19b4dSMauro Carvalho Chehab
664d829fc8aSStanislav Nijnikov		The file is read only.
665d829fc8aSStanislav Nijnikov
666d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/data_reliability
667d829fc8aSStanislav NijnikovDate:		February 2018
668d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
669d829fc8aSStanislav NijnikovDescription:	This file defines the device behavior when a power failure
670d829fc8aSStanislav Nijnikov		occurs during a write operation. This is one of the UFS
671d829fc8aSStanislav Nijnikov		unit descriptor parameters. The full information about
672d829fc8aSStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
67354a19b4dSMauro Carvalho Chehab
674d829fc8aSStanislav Nijnikov		The file is read only.
675d829fc8aSStanislav Nijnikov
676d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/logical_block_size
677d829fc8aSStanislav NijnikovDate:		February 2018
678d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
679d829fc8aSStanislav NijnikovDescription:	This file shows the size of addressable logical blocks
680d829fc8aSStanislav Nijnikov		(calculated as an exponent with base 2). This is one of
681d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information about
682d829fc8aSStanislav Nijnikov		the descriptor could be found at UFS specifications 2.1.
68354a19b4dSMauro Carvalho Chehab
684d829fc8aSStanislav Nijnikov		The file is read only.
685d829fc8aSStanislav Nijnikov
686d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/logical_block_count
687d829fc8aSStanislav NijnikovDate:		February 2018
688d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
689d829fc8aSStanislav NijnikovDescription:	This file shows total number of addressable logical blocks.
690d829fc8aSStanislav Nijnikov		This is one of the UFS unit descriptor parameters. The full
691d829fc8aSStanislav Nijnikov		information about the descriptor could be found at
692d829fc8aSStanislav Nijnikov		UFS specifications 2.1.
69354a19b4dSMauro Carvalho Chehab
694d829fc8aSStanislav Nijnikov		The file is read only.
695d829fc8aSStanislav Nijnikov
696d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/erase_block_size
697d829fc8aSStanislav NijnikovDate:		February 2018
698d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
699d829fc8aSStanislav NijnikovDescription:	This file shows the erase block size. This is one of
700d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
701d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
70254a19b4dSMauro Carvalho Chehab
703d829fc8aSStanislav Nijnikov		The file is read only.
704d829fc8aSStanislav Nijnikov
705d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/provisioning_type
706d829fc8aSStanislav NijnikovDate:		February 2018
707d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
708d829fc8aSStanislav NijnikovDescription:	This file shows the thin provisioning type. This is one of
709d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
710d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
71154a19b4dSMauro Carvalho Chehab
712d829fc8aSStanislav Nijnikov		The file is read only.
713d829fc8aSStanislav Nijnikov
714d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/physical_memory_resourse_count
715d829fc8aSStanislav NijnikovDate:		February 2018
716d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
717d829fc8aSStanislav NijnikovDescription:	This file shows the total physical memory resources. This is
718d829fc8aSStanislav Nijnikov		one of the UFS unit descriptor parameters. The full information
719d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
72054a19b4dSMauro Carvalho Chehab
721d829fc8aSStanislav Nijnikov		The file is read only.
722d829fc8aSStanislav Nijnikov
723d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/context_capabilities
724d829fc8aSStanislav NijnikovDate:		February 2018
725d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
726d829fc8aSStanislav NijnikovDescription:	This file shows the context capabilities. This is one of
727d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
728d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
72954a19b4dSMauro Carvalho Chehab
730d829fc8aSStanislav Nijnikov		The file is read only.
731d829fc8aSStanislav Nijnikov
732d829fc8aSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/unit_descriptor/large_unit_granularity
733d829fc8aSStanislav NijnikovDate:		February 2018
734d829fc8aSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
735d829fc8aSStanislav NijnikovDescription:	This file shows the granularity of the LUN. This is one of
736d829fc8aSStanislav Nijnikov		the UFS unit descriptor parameters. The full information
737d829fc8aSStanislav Nijnikov		about the descriptor could be found at UFS specifications 2.1.
73854a19b4dSMauro Carvalho Chehab
739d829fc8aSStanislav Nijnikov		The file is read only.
740d10b2a8eSStanislav Nijnikov
741d10b2a8eSStanislav Nijnikov
742d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/device_init
743e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/device_init
744d10b2a8eSStanislav NijnikovDate:		February 2018
745d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
746d10b2a8eSStanislav NijnikovDescription:	This file shows the device init status. The full information
747d10b2a8eSStanislav Nijnikov		about the flag could be found at UFS specifications 2.1.
74854a19b4dSMauro Carvalho Chehab
749d10b2a8eSStanislav Nijnikov		The file is read only.
750d10b2a8eSStanislav Nijnikov
751d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/permanent_wpe
752e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/permanent_wpe
753d10b2a8eSStanislav NijnikovDate:		February 2018
754d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
755d10b2a8eSStanislav NijnikovDescription:	This file shows whether permanent write protection is enabled.
756d10b2a8eSStanislav Nijnikov		The full information about the flag could be found at
757d10b2a8eSStanislav Nijnikov		UFS specifications 2.1.
75854a19b4dSMauro Carvalho Chehab
759d10b2a8eSStanislav Nijnikov		The file is read only.
760d10b2a8eSStanislav Nijnikov
761d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/power_on_wpe
762e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/power_on_wpe
763d10b2a8eSStanislav NijnikovDate:		February 2018
764d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
765d10b2a8eSStanislav NijnikovDescription:	This file shows whether write protection is enabled on all
766d10b2a8eSStanislav Nijnikov		logical units configured as power on write protected. The
767d10b2a8eSStanislav Nijnikov		full information about the flag could be found at
768d10b2a8eSStanislav Nijnikov		UFS specifications 2.1.
76954a19b4dSMauro Carvalho Chehab
770d10b2a8eSStanislav Nijnikov		The file is read only.
771d10b2a8eSStanislav Nijnikov
772d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/bkops_enable
773e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/bkops_enable
774d10b2a8eSStanislav NijnikovDate:		February 2018
775d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
776d10b2a8eSStanislav NijnikovDescription:	This file shows whether the device background operations are
777d10b2a8eSStanislav Nijnikov		enabled. The full information about the flag could be
778d10b2a8eSStanislav Nijnikov		found at UFS specifications 2.1.
77954a19b4dSMauro Carvalho Chehab
780d10b2a8eSStanislav Nijnikov		The file is read only.
781d10b2a8eSStanislav Nijnikov
782d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/life_span_mode_enable
783e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/life_span_mode_enable
784d10b2a8eSStanislav NijnikovDate:		February 2018
785d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
786d10b2a8eSStanislav NijnikovDescription:	This file shows whether the device life span mode is enabled.
787d10b2a8eSStanislav Nijnikov		The full information about the flag could be found at
788d10b2a8eSStanislav Nijnikov		UFS specifications 2.1.
78954a19b4dSMauro Carvalho Chehab
790d10b2a8eSStanislav Nijnikov		The file is read only.
791d10b2a8eSStanislav Nijnikov
792d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/phy_resource_removal
793e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/phy_resource_removal
794d10b2a8eSStanislav NijnikovDate:		February 2018
795d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
796d10b2a8eSStanislav NijnikovDescription:	This file shows whether physical resource removal is enable.
797d10b2a8eSStanislav Nijnikov		The full information about the flag could be found at
798d10b2a8eSStanislav Nijnikov		UFS specifications 2.1.
79954a19b4dSMauro Carvalho Chehab
800d10b2a8eSStanislav Nijnikov		The file is read only.
801d10b2a8eSStanislav Nijnikov
802d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/busy_rtc
803e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/busy_rtc
804d10b2a8eSStanislav NijnikovDate:		February 2018
805d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
806d10b2a8eSStanislav NijnikovDescription:	This file shows whether the device is executing internal
807d10b2a8eSStanislav Nijnikov		operation related to real time clock. The full information
808d10b2a8eSStanislav Nijnikov		about the flag could be found at UFS specifications 2.1.
80954a19b4dSMauro Carvalho Chehab
810d10b2a8eSStanislav Nijnikov		The file is read only.
811d10b2a8eSStanislav Nijnikov
812d10b2a8eSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/disable_fw_update
813e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/disable_fw_update
814d10b2a8eSStanislav NijnikovDate:		February 2018
815d10b2a8eSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
816d10b2a8eSStanislav NijnikovDescription:	This file shows whether the device FW update is permanently
817d10b2a8eSStanislav Nijnikov		disabled. The full information about the flag could be found
818d10b2a8eSStanislav Nijnikov		at UFS specifications 2.1.
81954a19b4dSMauro Carvalho Chehab
820d10b2a8eSStanislav Nijnikov		The file is read only.
821ec92b59cSStanislav Nijnikov
822ec92b59cSStanislav Nijnikov
823ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/boot_lun_enabled
824e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/boot_lun_enabled
825ec92b59cSStanislav NijnikovDate:		February 2018
826ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
827ec92b59cSStanislav NijnikovDescription:	This file provides the boot lun enabled UFS device attribute.
828ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
829ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
83054a19b4dSMauro Carvalho Chehab
831ec92b59cSStanislav Nijnikov		The file is read only.
832ec92b59cSStanislav Nijnikov
833ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/current_power_mode
834e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/current_power_mode
835ec92b59cSStanislav NijnikovDate:		February 2018
836ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
837ec92b59cSStanislav NijnikovDescription:	This file provides the current power mode UFS device attribute.
838ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
839ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
84054a19b4dSMauro Carvalho Chehab
841ec92b59cSStanislav Nijnikov		The file is read only.
842ec92b59cSStanislav Nijnikov
843ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/active_icc_level
844e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/active_icc_level
845ec92b59cSStanislav NijnikovDate:		February 2018
846ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
847ec92b59cSStanislav NijnikovDescription:	This file provides the active icc level UFS device attribute.
848ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
849ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
85054a19b4dSMauro Carvalho Chehab
851ec92b59cSStanislav Nijnikov		The file is read only.
852ec92b59cSStanislav Nijnikov
853ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/ooo_data_enabled
854e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/ooo_data_enabled
855ec92b59cSStanislav NijnikovDate:		February 2018
856ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
857ec92b59cSStanislav NijnikovDescription:	This file provides the out of order data transfer enabled UFS
858ec92b59cSStanislav Nijnikov		device attribute. The full information about the attribute
859ec92b59cSStanislav Nijnikov		could be found at UFS specifications 2.1.
86054a19b4dSMauro Carvalho Chehab
861ec92b59cSStanislav Nijnikov		The file is read only.
862ec92b59cSStanislav Nijnikov
863ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/bkops_status
864e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/bkops_status
865ec92b59cSStanislav NijnikovDate:		February 2018
866ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
867ec92b59cSStanislav NijnikovDescription:	This file provides the background operations status UFS device
868ec92b59cSStanislav Nijnikov		attribute. The full information about the attribute could
869ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
87054a19b4dSMauro Carvalho Chehab
871ec92b59cSStanislav Nijnikov		The file is read only.
872ec92b59cSStanislav Nijnikov
873ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/purge_status
874e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/purge_status
875ec92b59cSStanislav NijnikovDate:		February 2018
876ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
877ec92b59cSStanislav NijnikovDescription:	This file provides the purge operation status UFS device
878ec92b59cSStanislav Nijnikov		attribute. The full information about the attribute could
879ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
88054a19b4dSMauro Carvalho Chehab
881ec92b59cSStanislav Nijnikov		The file is read only.
882ec92b59cSStanislav Nijnikov
883ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/max_data_in_size
884e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/max_data_in_size
885ec92b59cSStanislav NijnikovDate:		February 2018
886ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
887ec92b59cSStanislav NijnikovDescription:	This file shows the maximum data size in a DATA IN
888ec92b59cSStanislav Nijnikov		UPIU. The full information about the attribute could
889ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
89054a19b4dSMauro Carvalho Chehab
891ec92b59cSStanislav Nijnikov		The file is read only.
892ec92b59cSStanislav Nijnikov
893ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/max_data_out_size
894e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/max_data_out_size
895ec92b59cSStanislav NijnikovDate:		February 2018
896ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
897ec92b59cSStanislav NijnikovDescription:	This file shows the maximum number of bytes that can be
898ec92b59cSStanislav Nijnikov		requested with a READY TO TRANSFER UPIU. The full information
899ec92b59cSStanislav Nijnikov		about the attribute could be found at UFS specifications 2.1.
90054a19b4dSMauro Carvalho Chehab
901ec92b59cSStanislav Nijnikov		The file is read only.
902ec92b59cSStanislav Nijnikov
903ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/reference_clock_frequency
904e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/reference_clock_frequency
905ec92b59cSStanislav NijnikovDate:		February 2018
906ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
907ec92b59cSStanislav NijnikovDescription:	This file provides the reference clock frequency UFS device
908ec92b59cSStanislav Nijnikov		attribute. The full information about the attribute could
909ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
91054a19b4dSMauro Carvalho Chehab
911ec92b59cSStanislav Nijnikov		The file is read only.
912ec92b59cSStanislav Nijnikov
913ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/configuration_descriptor_lock
914e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/configuration_descriptor_lock
915ec92b59cSStanislav NijnikovDate:		February 2018
916ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
917ec92b59cSStanislav NijnikovDescription:	This file shows whether the configuration descriptor is locked.
918ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
919ec92b59cSStanislav Nijnikov		UFS specifications 2.1. The file is read only.
920ec92b59cSStanislav Nijnikov
921ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/max_number_of_rtt
922e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/max_number_of_rtt
923ec92b59cSStanislav NijnikovDate:		February 2018
924ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
925ec92b59cSStanislav NijnikovDescription:	This file provides the maximum current number of
926ec92b59cSStanislav Nijnikov		outstanding RTTs in device that is allowed. The full
927ec92b59cSStanislav Nijnikov		information about the attribute could be found at
928ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
92954a19b4dSMauro Carvalho Chehab
930ec92b59cSStanislav Nijnikov		The file is read only.
931ec92b59cSStanislav Nijnikov
932ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_control
933e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/exception_event_control
934ec92b59cSStanislav NijnikovDate:		February 2018
935ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
936ec92b59cSStanislav NijnikovDescription:	This file provides the exception event control UFS device
937ec92b59cSStanislav Nijnikov		attribute. The full information about the attribute could
938ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
93954a19b4dSMauro Carvalho Chehab
940ec92b59cSStanislav Nijnikov		The file is read only.
941ec92b59cSStanislav Nijnikov
942ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_status
943e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/exception_event_status
944ec92b59cSStanislav NijnikovDate:		February 2018
945ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
946ec92b59cSStanislav NijnikovDescription:	This file provides the exception event status UFS device
947ec92b59cSStanislav Nijnikov		attribute. The full information about the attribute could
948ec92b59cSStanislav Nijnikov		be found at UFS specifications 2.1.
94954a19b4dSMauro Carvalho Chehab
950ec92b59cSStanislav Nijnikov		The file is read only.
951ec92b59cSStanislav Nijnikov
952ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/ffu_status
953e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/ffu_status
954ec92b59cSStanislav NijnikovDate:		February 2018
955ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
956ec92b59cSStanislav NijnikovDescription:	This file provides the ffu status UFS device attribute.
957ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
958ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
95954a19b4dSMauro Carvalho Chehab
960ec92b59cSStanislav Nijnikov		The file is read only.
961ec92b59cSStanislav Nijnikov
962ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/psa_state
963e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/psa_state
964ec92b59cSStanislav NijnikovDate:		February 2018
965ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
966ec92b59cSStanislav NijnikovDescription:	This file show the PSA feature status. The full information
967ec92b59cSStanislav Nijnikov		about the attribute could be found at UFS specifications 2.1.
96854a19b4dSMauro Carvalho Chehab
969ec92b59cSStanislav Nijnikov		The file is read only.
970ec92b59cSStanislav Nijnikov
971ec92b59cSStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/psa_data_size
972e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/psa_data_size
973ec92b59cSStanislav NijnikovDate:		February 2018
974ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
975ec92b59cSStanislav NijnikovDescription:	This file shows the amount of data that the host plans to
976ec92b59cSStanislav Nijnikov		load to all logical units in pre-soldering state.
977ec92b59cSStanislav Nijnikov		The full information about the attribute could be found at
978ec92b59cSStanislav Nijnikov		UFS specifications 2.1.
97954a19b4dSMauro Carvalho Chehab
980ec92b59cSStanislav Nijnikov		The file is read only.
981ec92b59cSStanislav Nijnikov
982ec92b59cSStanislav Nijnikov
983ec92b59cSStanislav NijnikovWhat:		/sys/class/scsi_device/*/device/dyn_cap_needed
984ec92b59cSStanislav NijnikovDate:		February 2018
985ec92b59cSStanislav NijnikovContact:	Stanislav Nijnikov <stanislav.nijnikov@wdc.com>
986a4bcbf71SSohaib MohamedDescription:	This file shows the amount of physical memory needed
987ec92b59cSStanislav Nijnikov		to be removed from the physical memory resources pool of
988ec92b59cSStanislav Nijnikov		the particular logical unit. The full information about
989ec92b59cSStanislav Nijnikov		the attribute could be found at UFS specifications 2.1.
99054a19b4dSMauro Carvalho Chehab
991ec92b59cSStanislav Nijnikov		The file is read only.
992114c1aa2SStanislav Nijnikov
993114c1aa2SStanislav Nijnikov
994114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/rpm_lvl
995e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/rpm_lvl
996114c1aa2SStanislav NijnikovDate:		September 2014
997*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
998114c1aa2SStanislav NijnikovDescription:	This entry could be used to set or show the UFS device
999114c1aa2SStanislav Nijnikov		runtime power management level. The current driver
10000b2894cdSAdrian Hunter		implementation supports 7 levels with next target states:
100154a19b4dSMauro Carvalho Chehab
100254a19b4dSMauro Carvalho Chehab		==  ====================================================
10030b2894cdSAdrian Hunter		0   UFS device will stay active, UIC link will
1004114c1aa2SStanislav Nijnikov		    stay active
10050b2894cdSAdrian Hunter		1   UFS device will stay active, UIC link will
1006114c1aa2SStanislav Nijnikov		    hibernate
10070b2894cdSAdrian Hunter		2   UFS device will be moved to sleep, UIC link will
1008114c1aa2SStanislav Nijnikov		    stay active
10090b2894cdSAdrian Hunter		3   UFS device will be moved to sleep, UIC link will
1010114c1aa2SStanislav Nijnikov		    hibernate
10110b2894cdSAdrian Hunter		4   UFS device will be powered off, UIC link will
1012114c1aa2SStanislav Nijnikov		    hibernate
10130b2894cdSAdrian Hunter		5   UFS device will be powered off, UIC link will
1014114c1aa2SStanislav Nijnikov		    be powered off
10150b2894cdSAdrian Hunter		6   UFS device will be moved to deep sleep, UIC link
10160b2894cdSAdrian Hunter		    will be powered off. Note, deep sleep might not be
1017f2cb4b23SLukas Bulwahn		    supported in which case this value will not be
1018f2cb4b23SLukas Bulwahn		    accepted
101954a19b4dSMauro Carvalho Chehab		==  ====================================================
1020114c1aa2SStanislav Nijnikov
1021114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/rpm_target_dev_state
1022e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/rpm_target_dev_state
1023114c1aa2SStanislav NijnikovDate:		February 2018
1024*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
1025114c1aa2SStanislav NijnikovDescription:	This entry shows the target power mode of an UFS device
1026114c1aa2SStanislav Nijnikov		for the chosen runtime power management level.
102754a19b4dSMauro Carvalho Chehab
1028114c1aa2SStanislav Nijnikov		The file is read only.
1029114c1aa2SStanislav Nijnikov
1030114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/rpm_target_link_state
1031e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/rpm_target_link_state
1032114c1aa2SStanislav NijnikovDate:		February 2018
1033*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
1034114c1aa2SStanislav NijnikovDescription:	This entry shows the target state of an UFS UIC link
1035114c1aa2SStanislav Nijnikov		for the chosen runtime power management level.
103654a19b4dSMauro Carvalho Chehab
1037114c1aa2SStanislav Nijnikov		The file is read only.
1038114c1aa2SStanislav Nijnikov
1039114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/spm_lvl
1040e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/spm_lvl
1041114c1aa2SStanislav NijnikovDate:		September 2014
1042*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
1043114c1aa2SStanislav NijnikovDescription:	This entry could be used to set or show the UFS device
1044114c1aa2SStanislav Nijnikov		system power management level. The current driver
10450b2894cdSAdrian Hunter		implementation supports 7 levels with next target states:
104654a19b4dSMauro Carvalho Chehab
104754a19b4dSMauro Carvalho Chehab		==  ====================================================
10480b2894cdSAdrian Hunter		0   UFS device will stay active, UIC link will
1049114c1aa2SStanislav Nijnikov		    stay active
10500b2894cdSAdrian Hunter		1   UFS device will stay active, UIC link will
1051114c1aa2SStanislav Nijnikov		    hibernate
10520b2894cdSAdrian Hunter		2   UFS device will be moved to sleep, UIC link will
1053114c1aa2SStanislav Nijnikov		    stay active
10540b2894cdSAdrian Hunter		3   UFS device will be moved to sleep, UIC link will
1055114c1aa2SStanislav Nijnikov		    hibernate
10560b2894cdSAdrian Hunter		4   UFS device will be powered off, UIC link will
1057114c1aa2SStanislav Nijnikov		    hibernate
10580b2894cdSAdrian Hunter		5   UFS device will be powered off, UIC link will
1059114c1aa2SStanislav Nijnikov		    be powered off
10600b2894cdSAdrian Hunter		6   UFS device will be moved to deep sleep, UIC link
10610b2894cdSAdrian Hunter		    will be powered off. Note, deep sleep might not be
1062f2cb4b23SLukas Bulwahn		    supported in which case this value will not be
1063f2cb4b23SLukas Bulwahn		    accepted
106454a19b4dSMauro Carvalho Chehab		==  ====================================================
1065114c1aa2SStanislav Nijnikov
1066114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/spm_target_dev_state
1067e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/spm_target_dev_state
1068114c1aa2SStanislav NijnikovDate:		February 2018
1069*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
1070114c1aa2SStanislav NijnikovDescription:	This entry shows the target power mode of an UFS device
1071114c1aa2SStanislav Nijnikov		for the chosen system power management level.
107254a19b4dSMauro Carvalho Chehab
1073114c1aa2SStanislav Nijnikov		The file is read only.
1074114c1aa2SStanislav Nijnikov
1075114c1aa2SStanislav NijnikovWhat:		/sys/bus/platform/drivers/ufshcd/*/spm_target_link_state
1076e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/spm_target_link_state
1077114c1aa2SStanislav NijnikovDate:		February 2018
1078*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
1079114c1aa2SStanislav NijnikovDescription:	This entry shows the target state of an UFS UIC link
1080114c1aa2SStanislav Nijnikov		for the chosen system power management level.
108154a19b4dSMauro Carvalho Chehab
1082114c1aa2SStanislav Nijnikov		The file is read only.
1083f51853fcSAsutosh Das
10841d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/monitor_enable
1085e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/monitor_enable
10861d8613a2SCan GuoDate:		January 2021
1087*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
10881d8613a2SCan GuoDescription:	This file shows the status of performance monitor enablement
10891d8613a2SCan Guo		and it can be used to start/stop the monitor. When the monitor
10901d8613a2SCan Guo		is stopped, the performance data collected is also cleared.
10911d8613a2SCan Guo
10921d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/monitor_chunk_size
1093e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/monitor_chunk_size
10941d8613a2SCan GuoDate:		January 2021
1095*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
10961d8613a2SCan GuoDescription:	This file tells the monitor to focus on requests transferring
10971d8613a2SCan Guo		data of specific chunk size (in Bytes). 0 means any chunk size.
10981d8613a2SCan Guo		It can only be changed when monitor is disabled.
10991d8613a2SCan Guo
11001d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_total_sectors
1101e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_total_sectors
11021d8613a2SCan GuoDate:		January 2021
1103*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11041d8613a2SCan GuoDescription:	This file shows how many sectors (in 512 Bytes) have been
11051d8613a2SCan Guo		sent from device to host after monitor gets started.
11061d8613a2SCan Guo
11071d8613a2SCan Guo		The file is read only.
11081d8613a2SCan Guo
11091d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_total_busy
1110e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_total_busy
11111d8613a2SCan GuoDate:		January 2021
1112*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11131d8613a2SCan GuoDescription:	This file shows how long (in micro seconds) has been spent
11141d8613a2SCan Guo		sending data from device to host after monitor gets started.
11151d8613a2SCan Guo
11161d8613a2SCan Guo		The file is read only.
11171d8613a2SCan Guo
11181d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_nr_requests
1119e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_nr_requests
11201d8613a2SCan GuoDate:		January 2021
1121*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11221d8613a2SCan GuoDescription:	This file shows how many read requests have been sent after
11231d8613a2SCan Guo		monitor gets started.
11241d8613a2SCan Guo
11251d8613a2SCan Guo		The file is read only.
11261d8613a2SCan Guo
11271d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_max
1128e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_req_latency_max
11291d8613a2SCan GuoDate:		January 2021
1130*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11311d8613a2SCan GuoDescription:	This file shows the maximum latency (in micro seconds) of
11321d8613a2SCan Guo		read requests after monitor gets started.
11331d8613a2SCan Guo
11341d8613a2SCan Guo		The file is read only.
11351d8613a2SCan Guo
11361d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_min
1137e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_req_latency_min
11381d8613a2SCan GuoDate:		January 2021
1139*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11401d8613a2SCan GuoDescription:	This file shows the minimum latency (in micro seconds) of
11411d8613a2SCan Guo		read requests after monitor gets started.
11421d8613a2SCan Guo
11431d8613a2SCan Guo		The file is read only.
11441d8613a2SCan Guo
11451d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_avg
1146e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_req_latency_avg
11471d8613a2SCan GuoDate:		January 2021
1148*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11491d8613a2SCan GuoDescription:	This file shows the average latency (in micro seconds) of
11501d8613a2SCan Guo		read requests after monitor gets started.
11511d8613a2SCan Guo
11521d8613a2SCan Guo		The file is read only.
11531d8613a2SCan Guo
11541d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_sum
1155e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/read_req_latency_sum
11561d8613a2SCan GuoDate:		January 2021
1157*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11581d8613a2SCan GuoDescription:	This file shows the total latency (in micro seconds) of
11591d8613a2SCan Guo		read requests sent after monitor gets started.
11601d8613a2SCan Guo
11611d8613a2SCan Guo		The file is read only.
11621d8613a2SCan Guo
11631d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_total_sectors
1164e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_total_sectors
11651d8613a2SCan GuoDate:		January 2021
1166*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11671d8613a2SCan GuoDescription:	This file shows how many sectors (in 512 Bytes) have been sent
11681d8613a2SCan Guo		from host to device after monitor gets started.
11691d8613a2SCan Guo
11701d8613a2SCan Guo		The file is read only.
11711d8613a2SCan Guo
11721d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_total_busy
1173e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_total_busy
11741d8613a2SCan GuoDate:		January 2021
1175*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11761d8613a2SCan GuoDescription:	This file shows how long (in micro seconds) has been spent
11771d8613a2SCan Guo		sending data from host to device after monitor gets started.
11781d8613a2SCan Guo
11791d8613a2SCan Guo		The file is read only.
11801d8613a2SCan Guo
11811d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_nr_requests
1182e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_nr_requests
11831d8613a2SCan GuoDate:		January 2021
1184*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11851d8613a2SCan GuoDescription:	This file shows how many write requests have been sent after
11861d8613a2SCan Guo		monitor gets started.
11871d8613a2SCan Guo
11881d8613a2SCan Guo		The file is read only.
11891d8613a2SCan Guo
11901d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_max
1191e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_req_latency_max
11921d8613a2SCan GuoDate:		January 2021
1193*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
11941d8613a2SCan GuoDescription:	This file shows the maximum latency (in micro seconds) of write
11951d8613a2SCan Guo		requests after monitor gets started.
11961d8613a2SCan Guo
11971d8613a2SCan Guo		The file is read only.
11981d8613a2SCan Guo
11991d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_min
1200e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_req_latency_min
12011d8613a2SCan GuoDate:		January 2021
1202*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
12031d8613a2SCan GuoDescription:	This file shows the minimum latency (in micro seconds) of write
12041d8613a2SCan Guo		requests after monitor gets started.
12051d8613a2SCan Guo
12061d8613a2SCan Guo		The file is read only.
12071d8613a2SCan Guo
12081d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_avg
1209e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_req_latency_avg
12101d8613a2SCan GuoDate:		January 2021
1211*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
12121d8613a2SCan GuoDescription:	This file shows the average latency (in micro seconds) of write
12131d8613a2SCan Guo		requests after monitor gets started.
12141d8613a2SCan Guo
12151d8613a2SCan Guo		The file is read only.
12161d8613a2SCan Guo
12171d8613a2SCan GuoWhat:		/sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_sum
1218e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/monitor/write_req_latency_sum
12191d8613a2SCan GuoDate:		January 2021
1220*ef470b86SCan GuoContact:	Can Guo <quic_cang@quicinc.com>
12211d8613a2SCan GuoDescription:	This file shows the total latency (in micro seconds) of write
12221d8613a2SCan Guo		requests after monitor gets started.
12231d8613a2SCan Guo
12241d8613a2SCan Guo		The file is read only.
12251d8613a2SCan Guo
1226f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_presv_us_en
1227e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/wb_presv_us_en
1228f51853fcSAsutosh DasDate:		June 2020
1229*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1230f51853fcSAsutosh DasDescription:	This entry shows if preserve user-space was configured
123154a19b4dSMauro Carvalho Chehab
1232f51853fcSAsutosh Das		The file is read only.
1233f51853fcSAsutosh Das
1234f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_shared_alloc_units
1235e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/wb_shared_alloc_units
1236f51853fcSAsutosh DasDate:		June 2020
1237*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1238f51853fcSAsutosh DasDescription:	This entry shows the shared allocated units of WB buffer
123954a19b4dSMauro Carvalho Chehab
1240f51853fcSAsutosh Das		The file is read only.
1241f51853fcSAsutosh Das
1242f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_type
1243e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/device_descriptor/wb_type
1244f51853fcSAsutosh DasDate:		June 2020
1245*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1246f51853fcSAsutosh DasDescription:	This entry shows the configured WB type.
1247f51853fcSAsutosh Das		0x1 for shared buffer mode. 0x0 for dedicated buffer mode.
124854a19b4dSMauro Carvalho Chehab
1249f51853fcSAsutosh Das		The file is read only.
1250f51853fcSAsutosh Das
1251f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_buff_cap_adj
1252e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_buff_cap_adj
1253f51853fcSAsutosh DasDate:		June 2020
1254*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1255f51853fcSAsutosh DasDescription:	This entry shows the total user-space decrease in shared
1256f51853fcSAsutosh Das		buffer mode.
1257f51853fcSAsutosh Das		The value of this parameter is 3 for TLC NAND when SLC mode
1258f51853fcSAsutosh Das		is used as WriteBooster Buffer. 2 for MLC NAND.
125954a19b4dSMauro Carvalho Chehab
1260f51853fcSAsutosh Das		The file is read only.
1261f51853fcSAsutosh Das
1262f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_alloc_units
1263e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_max_alloc_units
1264f51853fcSAsutosh DasDate:		June 2020
1265*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1266f51853fcSAsutosh DasDescription:	This entry shows the Maximum total WriteBooster Buffer size
1267f51853fcSAsutosh Das		which is supported by the entire device.
126854a19b4dSMauro Carvalho Chehab
1269f51853fcSAsutosh Das		The file is read only.
1270f51853fcSAsutosh Das
1271f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_wb_luns
1272e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_max_wb_luns
1273f51853fcSAsutosh DasDate:		June 2020
1274*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1275f51853fcSAsutosh DasDescription:	This entry shows the maximum number of luns that can support
1276f51853fcSAsutosh Das		WriteBooster.
127754a19b4dSMauro Carvalho Chehab
1278f51853fcSAsutosh Das		The file is read only.
1279f51853fcSAsutosh Das
1280f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_red_type
1281e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_sup_red_type
1282f51853fcSAsutosh DasDate:		June 2020
1283*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1284f51853fcSAsutosh DasDescription:	The supportability of user space reduction mode
1285f51853fcSAsutosh Das		and preserve user space mode.
1286f51853fcSAsutosh Das		00h: WriteBooster Buffer can be configured only in
1287f51853fcSAsutosh Das		user space reduction type.
1288f51853fcSAsutosh Das		01h: WriteBooster Buffer can be configured only in
1289f51853fcSAsutosh Das		preserve user space type.
1290f51853fcSAsutosh Das		02h: Device can be configured in either user space
1291f51853fcSAsutosh Das		reduction type or preserve user space type.
129254a19b4dSMauro Carvalho Chehab
1293f51853fcSAsutosh Das		The file is read only.
1294f51853fcSAsutosh Das
1295f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_wb_type
1296e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_sup_wb_type
1297f51853fcSAsutosh DasDate:		June 2020
1298*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1299f51853fcSAsutosh DasDescription:	The supportability of WriteBooster Buffer type.
130054a19b4dSMauro Carvalho Chehab
130154a19b4dSMauro Carvalho Chehab		===  ==========================================================
130254a19b4dSMauro Carvalho Chehab		00h  LU based WriteBooster Buffer configuration
130354a19b4dSMauro Carvalho Chehab		01h  Single shared WriteBooster Buffer configuration
130454a19b4dSMauro Carvalho Chehab		02h  Supporting both LU based WriteBooster.
130554a19b4dSMauro Carvalho Chehab		     Buffer and Single shared WriteBooster Buffer configuration
130654a19b4dSMauro Carvalho Chehab		===  ==========================================================
130754a19b4dSMauro Carvalho Chehab
1308f51853fcSAsutosh Das		The file is read only.
1309f51853fcSAsutosh Das
1310f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/wb_enable
1311e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/wb_enable
1312f51853fcSAsutosh DasDate:		June 2020
1313*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1314f51853fcSAsutosh DasDescription:	This entry shows the status of WriteBooster.
131554a19b4dSMauro Carvalho Chehab
131654a19b4dSMauro Carvalho Chehab		== ============================
131754a19b4dSMauro Carvalho Chehab		0  WriteBooster is not enabled.
131854a19b4dSMauro Carvalho Chehab		1  WriteBooster is enabled
131954a19b4dSMauro Carvalho Chehab		== ============================
132054a19b4dSMauro Carvalho Chehab
1321f51853fcSAsutosh Das		The file is read only.
1322f51853fcSAsutosh Das
1323f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_en
1324e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/wb_flush_en
1325f51853fcSAsutosh DasDate:		June 2020
1326*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1327f51853fcSAsutosh DasDescription:	This entry shows if flush is enabled.
132854a19b4dSMauro Carvalho Chehab
132954a19b4dSMauro Carvalho Chehab		== =================================
133054a19b4dSMauro Carvalho Chehab		0  Flush operation is not performed.
133154a19b4dSMauro Carvalho Chehab		1  Flush operation is performed.
133254a19b4dSMauro Carvalho Chehab		== =================================
133354a19b4dSMauro Carvalho Chehab
1334f51853fcSAsutosh Das		The file is read only.
1335f51853fcSAsutosh Das
1336f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_during_h8
1337e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/flags/wb_flush_during_h8
1338f51853fcSAsutosh DasDate:		June 2020
1339*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1340f51853fcSAsutosh DasDescription:	Flush WriteBooster Buffer during hibernate state.
134154a19b4dSMauro Carvalho Chehab
134254a19b4dSMauro Carvalho Chehab		== =================================================
134354a19b4dSMauro Carvalho Chehab		0  Device is not allowed to flush the
134454a19b4dSMauro Carvalho Chehab		   WriteBooster Buffer during link hibernate state.
134554a19b4dSMauro Carvalho Chehab		1  Device is allowed to flush the
134654a19b4dSMauro Carvalho Chehab		   WriteBooster Buffer during link hibernate state.
134754a19b4dSMauro Carvalho Chehab		== =================================================
134854a19b4dSMauro Carvalho Chehab
1349f51853fcSAsutosh Das		The file is read only.
1350f51853fcSAsutosh Das
1351f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/wb_avail_buf
1352e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/wb_avail_buf
1353f51853fcSAsutosh DasDate:		June 2020
1354*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1355f51853fcSAsutosh DasDescription:	This entry shows the amount of unused WriteBooster buffer
1356f51853fcSAsutosh Das		available.
135754a19b4dSMauro Carvalho Chehab
1358f51853fcSAsutosh Das		The file is read only.
1359f51853fcSAsutosh Das
1360f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/wb_cur_buf
1361e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/wb_cur_buf
1362f51853fcSAsutosh DasDate:		June 2020
1363*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1364f51853fcSAsutosh DasDescription:	This entry shows the amount of unused current buffer.
136554a19b4dSMauro Carvalho Chehab
1366f51853fcSAsutosh Das		The file is read only.
1367f51853fcSAsutosh Das
1368f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/wb_flush_status
1369e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/wb_flush_status
1370f51853fcSAsutosh DasDate:		June 2020
1371*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1372f51853fcSAsutosh DasDescription:	This entry shows the flush operation status.
137354a19b4dSMauro Carvalho Chehab
137454a19b4dSMauro Carvalho Chehab
137554a19b4dSMauro Carvalho Chehab		===  ======================================
137654a19b4dSMauro Carvalho Chehab		00h  idle
137754a19b4dSMauro Carvalho Chehab		01h  Flush operation in progress
137854a19b4dSMauro Carvalho Chehab		02h  Flush operation stopped prematurely.
137954a19b4dSMauro Carvalho Chehab		03h  Flush operation completed successfully
138054a19b4dSMauro Carvalho Chehab		04h  Flush operation general failure
138154a19b4dSMauro Carvalho Chehab		===  ======================================
138254a19b4dSMauro Carvalho Chehab
1383f51853fcSAsutosh Das		The file is read only.
1384f51853fcSAsutosh Das
1385f51853fcSAsutosh DasWhat:		/sys/bus/platform/drivers/ufshcd/*/attributes/wb_life_time_est
1386e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/attributes/wb_life_time_est
1387f51853fcSAsutosh DasDate:		June 2020
1388*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1389f51853fcSAsutosh DasDescription:	This entry shows an indication of the WriteBooster Buffer
1390f51853fcSAsutosh Das		lifetime based on the amount of performed program/erase cycles
139154a19b4dSMauro Carvalho Chehab
139254a19b4dSMauro Carvalho Chehab		===  =============================================
139354a19b4dSMauro Carvalho Chehab		01h  0% - 10% WriteBooster Buffer life time used
1394f51853fcSAsutosh Das		...
139554a19b4dSMauro Carvalho Chehab		0Ah  90% - 100% WriteBooster Buffer life time used
139654a19b4dSMauro Carvalho Chehab		===  =============================================
139754a19b4dSMauro Carvalho Chehab
1398f51853fcSAsutosh Das		The file is read only.
1399f51853fcSAsutosh Das
1400f51853fcSAsutosh DasWhat:		/sys/class/scsi_device/*/device/unit_descriptor/wb_buf_alloc_units
1401f51853fcSAsutosh DasDate:		June 2020
1402*ef470b86SCan GuoContact:	Asutosh Das <quic_asutoshd@quicinc.com>
1403f51853fcSAsutosh DasDescription:	This entry shows the configured size of WriteBooster buffer.
1404f51853fcSAsutosh Das		0400h corresponds to 4GB.
140554a19b4dSMauro Carvalho Chehab
1406f51853fcSAsutosh Das		The file is read only.
140706aea266SBean Huo
140806aea266SBean HuoWhat:		/sys/bus/platform/drivers/ufshcd/*/wb_on
1409e080f247SMauro Carvalho ChehabWhat:		/sys/bus/platform/devices/*.ufs/wb_on
141006aea266SBean HuoDate:		January 2021
141106aea266SBean HuoContact:	Bean Huo <beanhuo@micron.com>
141206aea266SBean HuoDescription:	This node is used to set or display whether UFS WriteBooster is
141306aea266SBean Huo		enabled. Echo 0 to this file to disable UFS WriteBooster or 1 to
141406aea266SBean Huo		enable it. The WriteBooster is enabled after power-on/reset,
141506aea266SBean Huo		however, it will be disabled/enable while CLK scaling down/up
141606aea266SBean Huo		(if the platform supports UFSHCD_CAP_CLK_SCALING). For a
141706aea266SBean Huo		platform that doesn't support UFSHCD_CAP_CLK_SCALING, we can
141806aea266SBean Huo		disable/enable WriteBooster through this sysfs node.
1419f02bc975SDaejun Park
14206c4148ceSJinyoung ChoiWhat:		/sys/bus/platform/drivers/ufshcd/*/enable_wb_buf_flush
14216c4148ceSJinyoung ChoiWhat:		/sys/bus/platform/devices/*.ufs/enable_wb_buf_flush
14226c4148ceSJinyoung ChoiDate:		July 2022
14236c4148ceSJinyoung ChoiContact:	Jinyoung Choi <j-young.choi@samsung.com>
14246c4148ceSJinyoung ChoiDescription:	This entry shows the status of WriteBooster buffer flushing
14256c4148ceSJinyoung Choi		and it can be used to enable or disable the flushing.
14266c4148ceSJinyoung Choi		If flushing is enabled, the device executes the flush
14276c4148ceSJinyoung Choi		operation when the command queue is empty.
14286c4148ceSJinyoung Choi
1429e3d55626SLu HongfeiWhat:		/sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold
1430e3d55626SLu HongfeiWhat:		/sys/bus/platform/devices/*.ufs/wb_flush_threshold
1431e3d55626SLu HongfeiDate:		June 2023
1432e3d55626SLu HongfeiContact:	Lu Hongfei <luhongfei@vivo.com>
1433e3d55626SLu HongfeiDescription:
1434e3d55626SLu Hongfei		wb_flush_threshold represents the threshold for flushing WriteBooster buffer,
1435e3d55626SLu Hongfei		whose value expressed in unit of 10% granularity, such as '1' representing 10%,
1436e3d55626SLu Hongfei		'2' representing 20%, and so on.
1437e3d55626SLu Hongfei		If avail_wb_buff < wb_flush_threshold, it indicates that WriteBooster buffer needs to
1438e3d55626SLu Hongfei		be flushed, otherwise it is not necessary.
1439e3d55626SLu Hongfei
14402286ade0SDaniil LunevContact:	Daniil Lunev <dlunev@chromium.org>
14412286ade0SDaniil LunevWhat:		/sys/bus/platform/drivers/ufshcd/*/capabilities/
14422286ade0SDaniil LunevWhat:		/sys/bus/platform/devices/*.ufs/capabilities/
14432286ade0SDaniil LunevDate:		August 2022
14442286ade0SDaniil LunevDescription:	The group represents the effective capabilities of the
14452286ade0SDaniil Lunev		host-device pair. i.e. the capabilities which are enabled in the
14462286ade0SDaniil Lunev		driver for the specific host controller, supported by the host
14472286ade0SDaniil Lunev		controller and are supported and/or have compatible
14482286ade0SDaniil Lunev		configuration on the device side.
14492286ade0SDaniil Lunev
14502286ade0SDaniil LunevContact:	Daniil Lunev <dlunev@chromium.org>
14512286ade0SDaniil LunevWhat:		/sys/bus/platform/drivers/ufshcd/*/capabilities/clock_scaling
14522286ade0SDaniil LunevWhat:		/sys/bus/platform/devices/*.ufs/capabilities/clock_scaling
14532286ade0SDaniil LunevDate:		August 2022
14542286ade0SDaniil LunevContact:	Daniil Lunev <dlunev@chromium.org>
14552286ade0SDaniil LunevDescription:	Indicates status of clock scaling.
14562286ade0SDaniil Lunev
14572286ade0SDaniil Lunev		== ============================
14582286ade0SDaniil Lunev		0  Clock scaling is not supported.
14592286ade0SDaniil Lunev		1  Clock scaling is supported.
14602286ade0SDaniil Lunev		== ============================
14612286ade0SDaniil Lunev
14622286ade0SDaniil Lunev		The file is read only.
14632286ade0SDaniil Lunev
14642286ade0SDaniil LunevWhat:		/sys/bus/platform/drivers/ufshcd/*/capabilities/write_booster
14652286ade0SDaniil LunevWhat:		/sys/bus/platform/devices/*.ufs/capabilities/write_booster
14662286ade0SDaniil LunevDate:		August 2022
14672286ade0SDaniil LunevContact:	Daniil Lunev <dlunev@chromium.org>
14682286ade0SDaniil LunevDescription:	Indicates status of Write Booster.
14692286ade0SDaniil Lunev
14702286ade0SDaniil Lunev		== ============================
14712286ade0SDaniil Lunev		0  Write Booster can not be enabled.
14722286ade0SDaniil Lunev		1  Write Booster can be enabled.
14732286ade0SDaniil Lunev		== ============================
14742286ade0SDaniil Lunev
14752286ade0SDaniil Lunev		The file is read only.
14762286ade0SDaniil Lunev
1477