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 923600edc66SAvri AltmanDate: May 2024 924600edc66SAvri AltmanContact: Avri Altman <avri.altman@wdc.com> 925ec92b59cSStanislav NijnikovDescription: This file provides the maximum current number of 926600edc66SAvri Altman outstanding RTTs in device that is allowed. bMaxNumOfRTT is a 927600edc66SAvri Altman read-write persistent attribute and is equal to two after device 928600edc66SAvri Altman manufacturing. It shall not be set to a value greater than 929600edc66SAvri Altman bDeviceRTTCap value, and it may be set only when the hw queues are 930600edc66SAvri Altman empty. 93154a19b4dSMauro Carvalho Chehab 932600edc66SAvri Altman The file is read write. 933ec92b59cSStanislav Nijnikov 934ec92b59cSStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_control 935e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/exception_event_control 936ec92b59cSStanislav NijnikovDate: February 2018 937ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 938ec92b59cSStanislav NijnikovDescription: This file provides the exception event control UFS device 939ec92b59cSStanislav Nijnikov attribute. The full information about the attribute could 940ec92b59cSStanislav Nijnikov be found at UFS specifications 2.1. 94154a19b4dSMauro Carvalho Chehab 942ec92b59cSStanislav Nijnikov The file is read only. 943ec92b59cSStanislav Nijnikov 944ec92b59cSStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/exception_event_status 945e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/exception_event_status 946ec92b59cSStanislav NijnikovDate: February 2018 947ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 948ec92b59cSStanislav NijnikovDescription: This file provides the exception event status UFS device 949ec92b59cSStanislav Nijnikov attribute. The full information about the attribute could 950ec92b59cSStanislav Nijnikov be found at UFS specifications 2.1. 95154a19b4dSMauro Carvalho Chehab 952ec92b59cSStanislav Nijnikov The file is read only. 953ec92b59cSStanislav Nijnikov 954ec92b59cSStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/ffu_status 955e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/ffu_status 956ec92b59cSStanislav NijnikovDate: February 2018 957ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 958ec92b59cSStanislav NijnikovDescription: This file provides the ffu status UFS device attribute. 959ec92b59cSStanislav Nijnikov The full information about the attribute could be found at 960ec92b59cSStanislav Nijnikov UFS specifications 2.1. 96154a19b4dSMauro Carvalho Chehab 962ec92b59cSStanislav Nijnikov The file is read only. 963ec92b59cSStanislav Nijnikov 964ec92b59cSStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/psa_state 965e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/psa_state 966ec92b59cSStanislav NijnikovDate: February 2018 967ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 968ec92b59cSStanislav NijnikovDescription: This file show the PSA feature status. The full information 969ec92b59cSStanislav Nijnikov about the attribute could be found at UFS specifications 2.1. 97054a19b4dSMauro Carvalho Chehab 971ec92b59cSStanislav Nijnikov The file is read only. 972ec92b59cSStanislav Nijnikov 973ec92b59cSStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/psa_data_size 974e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/psa_data_size 975ec92b59cSStanislav NijnikovDate: February 2018 976ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 977ec92b59cSStanislav NijnikovDescription: This file shows the amount of data that the host plans to 978ec92b59cSStanislav Nijnikov load to all logical units in pre-soldering state. 979ec92b59cSStanislav Nijnikov The full information about the attribute could be found at 980ec92b59cSStanislav Nijnikov UFS specifications 2.1. 98154a19b4dSMauro Carvalho Chehab 982ec92b59cSStanislav Nijnikov The file is read only. 983ec92b59cSStanislav Nijnikov 984ec92b59cSStanislav Nijnikov 985ec92b59cSStanislav NijnikovWhat: /sys/class/scsi_device/*/device/dyn_cap_needed 986ec92b59cSStanislav NijnikovDate: February 2018 987ec92b59cSStanislav NijnikovContact: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> 988a4bcbf71SSohaib MohamedDescription: This file shows the amount of physical memory needed 989ec92b59cSStanislav Nijnikov to be removed from the physical memory resources pool of 990ec92b59cSStanislav Nijnikov the particular logical unit. The full information about 991ec92b59cSStanislav Nijnikov the attribute could be found at UFS specifications 2.1. 99254a19b4dSMauro Carvalho Chehab 993ec92b59cSStanislav Nijnikov The file is read only. 994114c1aa2SStanislav Nijnikov 995114c1aa2SStanislav Nijnikov 996114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/rpm_lvl 997e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/rpm_lvl 998114c1aa2SStanislav NijnikovDate: September 2014 999ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1000114c1aa2SStanislav NijnikovDescription: This entry could be used to set or show the UFS device 1001114c1aa2SStanislav Nijnikov runtime power management level. The current driver 10020b2894cdSAdrian Hunter implementation supports 7 levels with next target states: 100354a19b4dSMauro Carvalho Chehab 100454a19b4dSMauro Carvalho Chehab == ==================================================== 10050b2894cdSAdrian Hunter 0 UFS device will stay active, UIC link will 1006114c1aa2SStanislav Nijnikov stay active 10070b2894cdSAdrian Hunter 1 UFS device will stay active, UIC link will 1008114c1aa2SStanislav Nijnikov hibernate 10090b2894cdSAdrian Hunter 2 UFS device will be moved to sleep, UIC link will 1010114c1aa2SStanislav Nijnikov stay active 10110b2894cdSAdrian Hunter 3 UFS device will be moved to sleep, UIC link will 1012114c1aa2SStanislav Nijnikov hibernate 10130b2894cdSAdrian Hunter 4 UFS device will be powered off, UIC link will 1014114c1aa2SStanislav Nijnikov hibernate 10150b2894cdSAdrian Hunter 5 UFS device will be powered off, UIC link will 1016114c1aa2SStanislav Nijnikov be powered off 10170b2894cdSAdrian Hunter 6 UFS device will be moved to deep sleep, UIC link 10180b2894cdSAdrian Hunter will be powered off. Note, deep sleep might not be 1019f2cb4b23SLukas Bulwahn supported in which case this value will not be 1020f2cb4b23SLukas Bulwahn accepted 102154a19b4dSMauro Carvalho Chehab == ==================================================== 1022114c1aa2SStanislav Nijnikov 1023114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/rpm_target_dev_state 1024e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/rpm_target_dev_state 1025114c1aa2SStanislav NijnikovDate: February 2018 1026ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1027114c1aa2SStanislav NijnikovDescription: This entry shows the target power mode of an UFS device 1028114c1aa2SStanislav Nijnikov for the chosen runtime power management level. 102954a19b4dSMauro Carvalho Chehab 1030114c1aa2SStanislav Nijnikov The file is read only. 1031114c1aa2SStanislav Nijnikov 1032114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/rpm_target_link_state 1033e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/rpm_target_link_state 1034114c1aa2SStanislav NijnikovDate: February 2018 1035ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1036114c1aa2SStanislav NijnikovDescription: This entry shows the target state of an UFS UIC link 1037114c1aa2SStanislav Nijnikov for the chosen runtime power management level. 103854a19b4dSMauro Carvalho Chehab 1039114c1aa2SStanislav Nijnikov The file is read only. 1040114c1aa2SStanislav Nijnikov 1041114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/spm_lvl 1042e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/spm_lvl 1043114c1aa2SStanislav NijnikovDate: September 2014 1044ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1045114c1aa2SStanislav NijnikovDescription: This entry could be used to set or show the UFS device 1046114c1aa2SStanislav Nijnikov system power management level. The current driver 10470b2894cdSAdrian Hunter implementation supports 7 levels with next target states: 104854a19b4dSMauro Carvalho Chehab 104954a19b4dSMauro Carvalho Chehab == ==================================================== 10500b2894cdSAdrian Hunter 0 UFS device will stay active, UIC link will 1051114c1aa2SStanislav Nijnikov stay active 10520b2894cdSAdrian Hunter 1 UFS device will stay active, UIC link will 1053114c1aa2SStanislav Nijnikov hibernate 10540b2894cdSAdrian Hunter 2 UFS device will be moved to sleep, UIC link will 1055114c1aa2SStanislav Nijnikov stay active 10560b2894cdSAdrian Hunter 3 UFS device will be moved to sleep, UIC link will 1057114c1aa2SStanislav Nijnikov hibernate 10580b2894cdSAdrian Hunter 4 UFS device will be powered off, UIC link will 1059114c1aa2SStanislav Nijnikov hibernate 10600b2894cdSAdrian Hunter 5 UFS device will be powered off, UIC link will 1061114c1aa2SStanislav Nijnikov be powered off 10620b2894cdSAdrian Hunter 6 UFS device will be moved to deep sleep, UIC link 10630b2894cdSAdrian Hunter will be powered off. Note, deep sleep might not be 1064f2cb4b23SLukas Bulwahn supported in which case this value will not be 1065f2cb4b23SLukas Bulwahn accepted 106654a19b4dSMauro Carvalho Chehab == ==================================================== 1067114c1aa2SStanislav Nijnikov 1068114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/spm_target_dev_state 1069e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/spm_target_dev_state 1070114c1aa2SStanislav NijnikovDate: February 2018 1071ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1072114c1aa2SStanislav NijnikovDescription: This entry shows the target power mode of an UFS device 1073114c1aa2SStanislav Nijnikov for the chosen system power management level. 107454a19b4dSMauro Carvalho Chehab 1075114c1aa2SStanislav Nijnikov The file is read only. 1076114c1aa2SStanislav Nijnikov 1077114c1aa2SStanislav NijnikovWhat: /sys/bus/platform/drivers/ufshcd/*/spm_target_link_state 1078e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/spm_target_link_state 1079114c1aa2SStanislav NijnikovDate: February 2018 1080ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 1081114c1aa2SStanislav NijnikovDescription: This entry shows the target state of an UFS UIC link 1082114c1aa2SStanislav Nijnikov for the chosen system power management level. 108354a19b4dSMauro Carvalho Chehab 1084114c1aa2SStanislav Nijnikov The file is read only. 1085f51853fcSAsutosh Das 10861d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/monitor_enable 1087e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/monitor_enable 10881d8613a2SCan GuoDate: January 2021 1089ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 10901d8613a2SCan GuoDescription: This file shows the status of performance monitor enablement 10911d8613a2SCan Guo and it can be used to start/stop the monitor. When the monitor 10921d8613a2SCan Guo is stopped, the performance data collected is also cleared. 10931d8613a2SCan Guo 10941d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/monitor_chunk_size 1095e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/monitor_chunk_size 10961d8613a2SCan GuoDate: January 2021 1097ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 10981d8613a2SCan GuoDescription: This file tells the monitor to focus on requests transferring 10991d8613a2SCan Guo data of specific chunk size (in Bytes). 0 means any chunk size. 11001d8613a2SCan Guo It can only be changed when monitor is disabled. 11011d8613a2SCan Guo 11021d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_total_sectors 1103e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_total_sectors 11041d8613a2SCan GuoDate: January 2021 1105ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11061d8613a2SCan GuoDescription: This file shows how many sectors (in 512 Bytes) have been 11071d8613a2SCan Guo sent from device to host after monitor gets started. 11081d8613a2SCan Guo 11091d8613a2SCan Guo The file is read only. 11101d8613a2SCan Guo 11111d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_total_busy 1112e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_total_busy 11131d8613a2SCan GuoDate: January 2021 1114ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11151d8613a2SCan GuoDescription: This file shows how long (in micro seconds) has been spent 11161d8613a2SCan Guo sending data from device to host after monitor gets started. 11171d8613a2SCan Guo 11181d8613a2SCan Guo The file is read only. 11191d8613a2SCan Guo 11201d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_nr_requests 1121e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_nr_requests 11221d8613a2SCan GuoDate: January 2021 1123ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11241d8613a2SCan GuoDescription: This file shows how many read requests have been sent after 11251d8613a2SCan Guo monitor gets started. 11261d8613a2SCan Guo 11271d8613a2SCan Guo The file is read only. 11281d8613a2SCan Guo 11291d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_max 1130e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_req_latency_max 11311d8613a2SCan GuoDate: January 2021 1132ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11331d8613a2SCan GuoDescription: This file shows the maximum latency (in micro seconds) of 11341d8613a2SCan Guo read requests after monitor gets started. 11351d8613a2SCan Guo 11361d8613a2SCan Guo The file is read only. 11371d8613a2SCan Guo 11381d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_min 1139e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_req_latency_min 11401d8613a2SCan GuoDate: January 2021 1141ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11421d8613a2SCan GuoDescription: This file shows the minimum latency (in micro seconds) of 11431d8613a2SCan Guo read requests after monitor gets started. 11441d8613a2SCan Guo 11451d8613a2SCan Guo The file is read only. 11461d8613a2SCan Guo 11471d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_avg 1148e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_req_latency_avg 11491d8613a2SCan GuoDate: January 2021 1150ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11511d8613a2SCan GuoDescription: This file shows the average latency (in micro seconds) of 11521d8613a2SCan Guo read requests after monitor gets started. 11531d8613a2SCan Guo 11541d8613a2SCan Guo The file is read only. 11551d8613a2SCan Guo 11561d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/read_req_latency_sum 1157e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/read_req_latency_sum 11581d8613a2SCan GuoDate: January 2021 1159ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11601d8613a2SCan GuoDescription: This file shows the total latency (in micro seconds) of 11611d8613a2SCan Guo read requests sent after monitor gets started. 11621d8613a2SCan Guo 11631d8613a2SCan Guo The file is read only. 11641d8613a2SCan Guo 11651d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_total_sectors 1166e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_total_sectors 11671d8613a2SCan GuoDate: January 2021 1168ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11691d8613a2SCan GuoDescription: This file shows how many sectors (in 512 Bytes) have been sent 11701d8613a2SCan Guo from host to device after monitor gets started. 11711d8613a2SCan Guo 11721d8613a2SCan Guo The file is read only. 11731d8613a2SCan Guo 11741d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_total_busy 1175e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_total_busy 11761d8613a2SCan GuoDate: January 2021 1177ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11781d8613a2SCan GuoDescription: This file shows how long (in micro seconds) has been spent 11791d8613a2SCan Guo sending data from host to device after monitor gets started. 11801d8613a2SCan Guo 11811d8613a2SCan Guo The file is read only. 11821d8613a2SCan Guo 11831d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_nr_requests 1184e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_nr_requests 11851d8613a2SCan GuoDate: January 2021 1186ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11871d8613a2SCan GuoDescription: This file shows how many write requests have been sent after 11881d8613a2SCan Guo monitor gets started. 11891d8613a2SCan Guo 11901d8613a2SCan Guo The file is read only. 11911d8613a2SCan Guo 11921d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_max 1193e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_req_latency_max 11941d8613a2SCan GuoDate: January 2021 1195ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 11961d8613a2SCan GuoDescription: This file shows the maximum latency (in micro seconds) of write 11971d8613a2SCan Guo requests after monitor gets started. 11981d8613a2SCan Guo 11991d8613a2SCan Guo The file is read only. 12001d8613a2SCan Guo 12011d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_min 1202e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_req_latency_min 12031d8613a2SCan GuoDate: January 2021 1204ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12051d8613a2SCan GuoDescription: This file shows the minimum latency (in micro seconds) of write 12061d8613a2SCan Guo requests after monitor gets started. 12071d8613a2SCan Guo 12081d8613a2SCan Guo The file is read only. 12091d8613a2SCan Guo 12101d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_avg 1211e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_req_latency_avg 12121d8613a2SCan GuoDate: January 2021 1213ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12141d8613a2SCan GuoDescription: This file shows the average latency (in micro seconds) of write 12151d8613a2SCan Guo requests after monitor gets started. 12161d8613a2SCan Guo 12171d8613a2SCan Guo The file is read only. 12181d8613a2SCan Guo 12191d8613a2SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/monitor/write_req_latency_sum 1220e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/monitor/write_req_latency_sum 12211d8613a2SCan GuoDate: January 2021 1222ef470b86SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12231d8613a2SCan GuoDescription: This file shows the total latency (in micro seconds) of write 12241d8613a2SCan Guo requests after monitor gets started. 12251d8613a2SCan Guo 12261d8613a2SCan Guo The file is read only. 12271d8613a2SCan Guo 12284f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/lane 12294f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/lane 12304f6dd2a4SCan GuoDate: September 2023 12314f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12324f6dd2a4SCan GuoDescription: This file shows how many lanes are enabled on the UFS link, 12334f6dd2a4SCan Guo i.e., an output 2 means UFS link is operating with 2 lanes. 12344f6dd2a4SCan Guo 12354f6dd2a4SCan Guo The file is read only. 12364f6dd2a4SCan Guo 12374f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/mode 12384f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/mode 12394f6dd2a4SCan GuoDate: September 2023 12404f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12414f6dd2a4SCan GuoDescription: This file shows the PA power mode of UFS. 12424f6dd2a4SCan Guo 12434f6dd2a4SCan Guo The file is read only. 12444f6dd2a4SCan Guo 12454f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/rate 12464f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/rate 12474f6dd2a4SCan GuoDate: September 2023 12484f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12494f6dd2a4SCan GuoDescription: This file shows the speed rate of UFS link. 12504f6dd2a4SCan Guo 12514f6dd2a4SCan Guo The file is read only. 12524f6dd2a4SCan Guo 12534f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/gear 12544f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/gear 12554f6dd2a4SCan GuoDate: September 2023 12564f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12574f6dd2a4SCan GuoDescription: This file shows the gear of UFS link. 12584f6dd2a4SCan Guo 12594f6dd2a4SCan Guo The file is read only. 12604f6dd2a4SCan Guo 12614f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/dev_pm 12624f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/dev_pm 12634f6dd2a4SCan GuoDate: September 2023 12644f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12654f6dd2a4SCan GuoDescription: This file shows the UFS device power mode. 12664f6dd2a4SCan Guo 12674f6dd2a4SCan Guo The file is read only. 12684f6dd2a4SCan Guo 12694f6dd2a4SCan GuoWhat: /sys/bus/platform/drivers/ufshcd/*/power_info/link_state 12704f6dd2a4SCan GuoWhat: /sys/bus/platform/devices/*.ufs/power_info/link_state 12714f6dd2a4SCan GuoDate: September 2023 12724f6dd2a4SCan GuoContact: Can Guo <quic_cang@quicinc.com> 12734f6dd2a4SCan GuoDescription: This file shows the state of UFS link. 12744f6dd2a4SCan Guo 12754f6dd2a4SCan Guo The file is read only. 12764f6dd2a4SCan Guo 1277f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_presv_us_en 1278e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/device_descriptor/wb_presv_us_en 1279f51853fcSAsutosh DasDate: June 2020 1280ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1281f51853fcSAsutosh DasDescription: This entry shows if preserve user-space was configured 128254a19b4dSMauro Carvalho Chehab 1283f51853fcSAsutosh Das The file is read only. 1284f51853fcSAsutosh Das 1285f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_shared_alloc_units 1286e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/device_descriptor/wb_shared_alloc_units 1287f51853fcSAsutosh DasDate: June 2020 1288ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1289f51853fcSAsutosh DasDescription: This entry shows the shared allocated units of WB buffer 129054a19b4dSMauro Carvalho Chehab 1291f51853fcSAsutosh Das The file is read only. 1292f51853fcSAsutosh Das 1293f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/device_descriptor/wb_type 1294e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/device_descriptor/wb_type 1295f51853fcSAsutosh DasDate: June 2020 1296ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1297f51853fcSAsutosh DasDescription: This entry shows the configured WB type. 1298f51853fcSAsutosh Das 0x1 for shared buffer mode. 0x0 for dedicated buffer mode. 129954a19b4dSMauro Carvalho Chehab 1300f51853fcSAsutosh Das The file is read only. 1301f51853fcSAsutosh Das 1302f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_buff_cap_adj 1303e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_buff_cap_adj 1304f51853fcSAsutosh DasDate: June 2020 1305ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1306f51853fcSAsutosh DasDescription: This entry shows the total user-space decrease in shared 1307f51853fcSAsutosh Das buffer mode. 1308f51853fcSAsutosh Das The value of this parameter is 3 for TLC NAND when SLC mode 1309f51853fcSAsutosh Das is used as WriteBooster Buffer. 2 for MLC NAND. 131054a19b4dSMauro Carvalho Chehab 1311f51853fcSAsutosh Das The file is read only. 1312f51853fcSAsutosh Das 1313f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_alloc_units 1314e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_max_alloc_units 1315f51853fcSAsutosh DasDate: June 2020 1316ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1317f51853fcSAsutosh DasDescription: This entry shows the Maximum total WriteBooster Buffer size 1318f51853fcSAsutosh Das which is supported by the entire device. 131954a19b4dSMauro Carvalho Chehab 1320f51853fcSAsutosh Das The file is read only. 1321f51853fcSAsutosh Das 1322f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_max_wb_luns 1323e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_max_wb_luns 1324f51853fcSAsutosh DasDate: June 2020 1325ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1326f51853fcSAsutosh DasDescription: This entry shows the maximum number of luns that can support 1327f51853fcSAsutosh Das WriteBooster. 132854a19b4dSMauro Carvalho Chehab 1329f51853fcSAsutosh Das The file is read only. 1330f51853fcSAsutosh Das 1331f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_red_type 1332e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_sup_red_type 1333f51853fcSAsutosh DasDate: June 2020 1334ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1335f51853fcSAsutosh DasDescription: The supportability of user space reduction mode 1336f51853fcSAsutosh Das and preserve user space mode. 1337f51853fcSAsutosh Das 00h: WriteBooster Buffer can be configured only in 1338f51853fcSAsutosh Das user space reduction type. 1339f51853fcSAsutosh Das 01h: WriteBooster Buffer can be configured only in 1340f51853fcSAsutosh Das preserve user space type. 1341f51853fcSAsutosh Das 02h: Device can be configured in either user space 1342f51853fcSAsutosh Das reduction type or preserve user space type. 134354a19b4dSMauro Carvalho Chehab 1344f51853fcSAsutosh Das The file is read only. 1345f51853fcSAsutosh Das 1346f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/geometry_descriptor/wb_sup_wb_type 1347e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/geometry_descriptor/wb_sup_wb_type 1348f51853fcSAsutosh DasDate: June 2020 1349ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1350f51853fcSAsutosh DasDescription: The supportability of WriteBooster Buffer type. 135154a19b4dSMauro Carvalho Chehab 135254a19b4dSMauro Carvalho Chehab === ========================================================== 135354a19b4dSMauro Carvalho Chehab 00h LU based WriteBooster Buffer configuration 135454a19b4dSMauro Carvalho Chehab 01h Single shared WriteBooster Buffer configuration 135554a19b4dSMauro Carvalho Chehab 02h Supporting both LU based WriteBooster. 135654a19b4dSMauro Carvalho Chehab Buffer and Single shared WriteBooster Buffer configuration 135754a19b4dSMauro Carvalho Chehab === ========================================================== 135854a19b4dSMauro Carvalho Chehab 1359f51853fcSAsutosh Das The file is read only. 1360f51853fcSAsutosh Das 1361f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/flags/wb_enable 1362e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/flags/wb_enable 1363f51853fcSAsutosh DasDate: June 2020 1364ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1365f51853fcSAsutosh DasDescription: This entry shows the status of WriteBooster. 136654a19b4dSMauro Carvalho Chehab 136754a19b4dSMauro Carvalho Chehab == ============================ 136854a19b4dSMauro Carvalho Chehab 0 WriteBooster is not enabled. 136954a19b4dSMauro Carvalho Chehab 1 WriteBooster is enabled 137054a19b4dSMauro Carvalho Chehab == ============================ 137154a19b4dSMauro Carvalho Chehab 1372f51853fcSAsutosh Das The file is read only. 1373f51853fcSAsutosh Das 1374f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_en 1375e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/flags/wb_flush_en 1376f51853fcSAsutosh DasDate: June 2020 1377ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1378f51853fcSAsutosh DasDescription: This entry shows if flush is enabled. 137954a19b4dSMauro Carvalho Chehab 138054a19b4dSMauro Carvalho Chehab == ================================= 138154a19b4dSMauro Carvalho Chehab 0 Flush operation is not performed. 138254a19b4dSMauro Carvalho Chehab 1 Flush operation is performed. 138354a19b4dSMauro Carvalho Chehab == ================================= 138454a19b4dSMauro Carvalho Chehab 1385f51853fcSAsutosh Das The file is read only. 1386f51853fcSAsutosh Das 1387f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/flags/wb_flush_during_h8 1388e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/flags/wb_flush_during_h8 1389f51853fcSAsutosh DasDate: June 2020 1390ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1391f51853fcSAsutosh DasDescription: Flush WriteBooster Buffer during hibernate state. 139254a19b4dSMauro Carvalho Chehab 139354a19b4dSMauro Carvalho Chehab == ================================================= 139454a19b4dSMauro Carvalho Chehab 0 Device is not allowed to flush the 139554a19b4dSMauro Carvalho Chehab WriteBooster Buffer during link hibernate state. 139654a19b4dSMauro Carvalho Chehab 1 Device is allowed to flush the 139754a19b4dSMauro Carvalho Chehab WriteBooster Buffer during link hibernate state. 139854a19b4dSMauro Carvalho Chehab == ================================================= 139954a19b4dSMauro Carvalho Chehab 1400f51853fcSAsutosh Das The file is read only. 1401f51853fcSAsutosh Das 1402f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_avail_buf 1403e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/wb_avail_buf 1404f51853fcSAsutosh DasDate: June 2020 1405ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1406f51853fcSAsutosh DasDescription: This entry shows the amount of unused WriteBooster buffer 1407f51853fcSAsutosh Das available. 140854a19b4dSMauro Carvalho Chehab 1409f51853fcSAsutosh Das The file is read only. 1410f51853fcSAsutosh Das 1411f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_cur_buf 1412e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/wb_cur_buf 1413f51853fcSAsutosh DasDate: June 2020 1414ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1415f51853fcSAsutosh DasDescription: This entry shows the amount of unused current buffer. 141654a19b4dSMauro Carvalho Chehab 1417f51853fcSAsutosh Das The file is read only. 1418f51853fcSAsutosh Das 1419f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_flush_status 1420e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/wb_flush_status 1421f51853fcSAsutosh DasDate: June 2020 1422ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1423f51853fcSAsutosh DasDescription: This entry shows the flush operation status. 142454a19b4dSMauro Carvalho Chehab 142554a19b4dSMauro Carvalho Chehab 142654a19b4dSMauro Carvalho Chehab === ====================================== 142754a19b4dSMauro Carvalho Chehab 00h idle 142854a19b4dSMauro Carvalho Chehab 01h Flush operation in progress 142954a19b4dSMauro Carvalho Chehab 02h Flush operation stopped prematurely. 143054a19b4dSMauro Carvalho Chehab 03h Flush operation completed successfully 143154a19b4dSMauro Carvalho Chehab 04h Flush operation general failure 143254a19b4dSMauro Carvalho Chehab === ====================================== 143354a19b4dSMauro Carvalho Chehab 1434f51853fcSAsutosh Das The file is read only. 1435f51853fcSAsutosh Das 1436f51853fcSAsutosh DasWhat: /sys/bus/platform/drivers/ufshcd/*/attributes/wb_life_time_est 1437e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/attributes/wb_life_time_est 1438f51853fcSAsutosh DasDate: June 2020 1439ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1440f51853fcSAsutosh DasDescription: This entry shows an indication of the WriteBooster Buffer 1441f51853fcSAsutosh Das lifetime based on the amount of performed program/erase cycles 144254a19b4dSMauro Carvalho Chehab 144354a19b4dSMauro Carvalho Chehab === ============================================= 144454a19b4dSMauro Carvalho Chehab 01h 0% - 10% WriteBooster Buffer life time used 1445f51853fcSAsutosh Das ... 144654a19b4dSMauro Carvalho Chehab 0Ah 90% - 100% WriteBooster Buffer life time used 144754a19b4dSMauro Carvalho Chehab === ============================================= 144854a19b4dSMauro Carvalho Chehab 1449f51853fcSAsutosh Das The file is read only. 1450f51853fcSAsutosh Das 1451f51853fcSAsutosh DasWhat: /sys/class/scsi_device/*/device/unit_descriptor/wb_buf_alloc_units 1452f51853fcSAsutosh DasDate: June 2020 1453ef470b86SCan GuoContact: Asutosh Das <quic_asutoshd@quicinc.com> 1454f51853fcSAsutosh DasDescription: This entry shows the configured size of WriteBooster buffer. 1455f51853fcSAsutosh Das 0400h corresponds to 4GB. 145654a19b4dSMauro Carvalho Chehab 1457f51853fcSAsutosh Das The file is read only. 145806aea266SBean Huo 145906aea266SBean HuoWhat: /sys/bus/platform/drivers/ufshcd/*/wb_on 1460e080f247SMauro Carvalho ChehabWhat: /sys/bus/platform/devices/*.ufs/wb_on 146106aea266SBean HuoDate: January 2021 146206aea266SBean HuoContact: Bean Huo <beanhuo@micron.com> 146306aea266SBean HuoDescription: This node is used to set or display whether UFS WriteBooster is 146406aea266SBean Huo enabled. Echo 0 to this file to disable UFS WriteBooster or 1 to 146506aea266SBean Huo enable it. The WriteBooster is enabled after power-on/reset, 146606aea266SBean Huo however, it will be disabled/enable while CLK scaling down/up 146706aea266SBean Huo (if the platform supports UFSHCD_CAP_CLK_SCALING). For a 146806aea266SBean Huo platform that doesn't support UFSHCD_CAP_CLK_SCALING, we can 146906aea266SBean Huo disable/enable WriteBooster through this sysfs node. 1470f02bc975SDaejun Park 14716c4148ceSJinyoung ChoiWhat: /sys/bus/platform/drivers/ufshcd/*/enable_wb_buf_flush 14726c4148ceSJinyoung ChoiWhat: /sys/bus/platform/devices/*.ufs/enable_wb_buf_flush 14736c4148ceSJinyoung ChoiDate: July 2022 14746c4148ceSJinyoung ChoiContact: Jinyoung Choi <j-young.choi@samsung.com> 14756c4148ceSJinyoung ChoiDescription: This entry shows the status of WriteBooster buffer flushing 14766c4148ceSJinyoung Choi and it can be used to enable or disable the flushing. 14776c4148ceSJinyoung Choi If flushing is enabled, the device executes the flush 14786c4148ceSJinyoung Choi operation when the command queue is empty. 14796c4148ceSJinyoung Choi 1480e3d55626SLu HongfeiWhat: /sys/bus/platform/drivers/ufshcd/*/wb_flush_threshold 1481e3d55626SLu HongfeiWhat: /sys/bus/platform/devices/*.ufs/wb_flush_threshold 1482e3d55626SLu HongfeiDate: June 2023 1483e3d55626SLu HongfeiContact: Lu Hongfei <luhongfei@vivo.com> 1484e3d55626SLu HongfeiDescription: 1485e3d55626SLu Hongfei wb_flush_threshold represents the threshold for flushing WriteBooster buffer, 1486e3d55626SLu Hongfei whose value expressed in unit of 10% granularity, such as '1' representing 10%, 1487e3d55626SLu Hongfei '2' representing 20%, and so on. 1488e3d55626SLu Hongfei If avail_wb_buff < wb_flush_threshold, it indicates that WriteBooster buffer needs to 1489e3d55626SLu Hongfei be flushed, otherwise it is not necessary. 1490e3d55626SLu Hongfei 14912286ade0SDaniil LunevContact: Daniil Lunev <dlunev@chromium.org> 14922286ade0SDaniil LunevWhat: /sys/bus/platform/drivers/ufshcd/*/capabilities/ 14932286ade0SDaniil LunevWhat: /sys/bus/platform/devices/*.ufs/capabilities/ 14942286ade0SDaniil LunevDate: August 2022 14952286ade0SDaniil LunevDescription: The group represents the effective capabilities of the 14962286ade0SDaniil Lunev host-device pair. i.e. the capabilities which are enabled in the 14972286ade0SDaniil Lunev driver for the specific host controller, supported by the host 14982286ade0SDaniil Lunev controller and are supported and/or have compatible 14992286ade0SDaniil Lunev configuration on the device side. 15002286ade0SDaniil Lunev 15012286ade0SDaniil LunevContact: Daniil Lunev <dlunev@chromium.org> 15022286ade0SDaniil LunevWhat: /sys/bus/platform/drivers/ufshcd/*/capabilities/clock_scaling 15032286ade0SDaniil LunevWhat: /sys/bus/platform/devices/*.ufs/capabilities/clock_scaling 15042286ade0SDaniil LunevDate: August 2022 15052286ade0SDaniil LunevContact: Daniil Lunev <dlunev@chromium.org> 15062286ade0SDaniil LunevDescription: Indicates status of clock scaling. 15072286ade0SDaniil Lunev 15082286ade0SDaniil Lunev == ============================ 15092286ade0SDaniil Lunev 0 Clock scaling is not supported. 15102286ade0SDaniil Lunev 1 Clock scaling is supported. 15112286ade0SDaniil Lunev == ============================ 15122286ade0SDaniil Lunev 15132286ade0SDaniil Lunev The file is read only. 15142286ade0SDaniil Lunev 15152286ade0SDaniil LunevWhat: /sys/bus/platform/drivers/ufshcd/*/capabilities/write_booster 15162286ade0SDaniil LunevWhat: /sys/bus/platform/devices/*.ufs/capabilities/write_booster 15172286ade0SDaniil LunevDate: August 2022 15182286ade0SDaniil LunevContact: Daniil Lunev <dlunev@chromium.org> 15192286ade0SDaniil LunevDescription: Indicates status of Write Booster. 15202286ade0SDaniil Lunev 15212286ade0SDaniil Lunev == ============================ 15222286ade0SDaniil Lunev 0 Write Booster can not be enabled. 15232286ade0SDaniil Lunev 1 Write Booster can be enabled. 15242286ade0SDaniil Lunev == ============================ 15252286ade0SDaniil Lunev 15262286ade0SDaniil Lunev The file is read only. 15272286ade0SDaniil Lunev 1528838f595aSBean HuoWhat: /sys/bus/platform/drivers/ufshcd/*/rtc_update_ms 1529838f595aSBean HuoWhat: /sys/bus/platform/devices/*.ufs/rtc_update_ms 1530838f595aSBean HuoDate: November 2023 1531838f595aSBean HuoContact: Bean Huo <beanhuo@micron.com> 1532838f595aSBean HuoDescription: 1533838f595aSBean Huo rtc_update_ms indicates how often the host should synchronize or update the 1534838f595aSBean Huo UFS RTC. If set to 0, this will disable UFS RTC periodic update. 1535f51d7481SAvri Altman 1536f51d7481SAvri AltmanWhat: /sys/devices/platform/.../ufshci_capabilities/version 1537f51d7481SAvri AltmanDate: August 2024 1538f51d7481SAvri AltmanContact: Avri Altman <avri.altman@wdc.com> 1539f51d7481SAvri AltmanDescription: 1540f51d7481SAvri Altman Host Capabilities register group: UFS version register. 1541f51d7481SAvri Altman Symbol - VER. This file shows the UFSHCD version. 1542f51d7481SAvri Altman Example: Version 3.12 would be represented as 0000_0312h. 1543f51d7481SAvri Altman The file is read only. 1544f51d7481SAvri Altman 1545f51d7481SAvri AltmanWhat: /sys/devices/platform/.../ufshci_capabilities/product_id 1546f51d7481SAvri AltmanDate: August 2024 1547f51d7481SAvri AltmanContact: Avri Altman <avri.altman@wdc.com> 1548f51d7481SAvri AltmanDescription: 1549f51d7481SAvri Altman Host Capabilities register group: product ID register. 1550f51d7481SAvri Altman Symbol - HCPID. This file shows the UFSHCD product id. 1551f51d7481SAvri Altman The content of this register is vendor specific. 1552f51d7481SAvri Altman The file is read only. 1553f51d7481SAvri Altman 1554f51d7481SAvri AltmanWhat: /sys/devices/platform/.../ufshci_capabilities/man_id 1555f51d7481SAvri AltmanDate: August 2024 1556f51d7481SAvri AltmanContact: Avri Altman <avri.altman@wdc.com> 1557f51d7481SAvri AltmanDescription: 1558f51d7481SAvri Altman Host Capabilities register group: manufacturer ID register. 1559f51d7481SAvri Altman Symbol - HCMID. This file shows the UFSHCD manufacturer id. 1560f51d7481SAvri Altman The Manufacturer ID is defined by JEDEC in JEDEC-JEP106. 1561f51d7481SAvri Altman The file is read only. 1562edfaf868SAvri Altman 1563edfaf868SAvri AltmanWhat: /sys/bus/platform/drivers/ufshcd/*/critical_health 1564edfaf868SAvri AltmanWhat: /sys/bus/platform/devices/*.ufs/critical_health 1565edfaf868SAvri AltmanDate: February 2025 1566edfaf868SAvri AltmanContact: Avri Altman <avri.altman@wdc.com> 1567edfaf868SAvri AltmanDescription: Report the number of times a critical health event has been 1568edfaf868SAvri Altman reported by a UFS device. Further insight into the specific 1569edfaf868SAvri Altman issue can be gained by reading one of: bPreEOLInfo, 1570edfaf868SAvri Altman bDeviceLifeTimeEstA, bDeviceLifeTimeEstB, 1571edfaf868SAvri Altman bWriteBoosterBufferLifeTimeEst, and bRPMBLifeTimeEst. 1572edfaf868SAvri Altman 1573edfaf868SAvri Altman The file is read only. 1574*7e729002SMartin K. Petersen 15756d7696b4SZiqi ChenWhat: /sys/bus/platform/drivers/ufshcd/*/clkscale_enable 15766d7696b4SZiqi ChenWhat: /sys/bus/platform/devices/*.ufs/clkscale_enable 15776d7696b4SZiqi ChenDate: January 2025 15786d7696b4SZiqi ChenContact: Ziqi Chen <quic_ziqichen@quicinc.com> 15796d7696b4SZiqi ChenDescription: 15806d7696b4SZiqi Chen This attribute shows whether the UFS clock scaling is enabled or not. 15816d7696b4SZiqi Chen And it can be used to enable/disable the clock scaling by writing 15826d7696b4SZiqi Chen 1 or 0 to this attribute. 15836d7696b4SZiqi Chen 15846d7696b4SZiqi Chen The attribute is read/write. 15856d7696b4SZiqi Chen 15866d7696b4SZiqi ChenWhat: /sys/bus/platform/drivers/ufshcd/*/clkgate_enable 15876d7696b4SZiqi ChenWhat: /sys/bus/platform/devices/*.ufs/clkgate_enable 15886d7696b4SZiqi ChenDate: January 2025 15896d7696b4SZiqi ChenContact: Ziqi Chen <quic_ziqichen@quicinc.com> 15906d7696b4SZiqi ChenDescription: 15916d7696b4SZiqi Chen This attribute shows whether the UFS clock gating is enabled or not. 15926d7696b4SZiqi Chen And it can be used to enable/disable the clock gating by writing 15936d7696b4SZiqi Chen 1 or 0 to this attribute. 15946d7696b4SZiqi Chen 15956d7696b4SZiqi Chen The attribute is read/write. 15966d7696b4SZiqi Chen 15976d7696b4SZiqi ChenWhat: /sys/bus/platform/drivers/ufshcd/*/clkgate_delay_ms 15986d7696b4SZiqi ChenWhat: /sys/bus/platform/devices/*.ufs/clkgate_delay_ms 15996d7696b4SZiqi ChenDate: January 2025 16006d7696b4SZiqi ChenContact: Ziqi Chen <quic_ziqichen@quicinc.com> 16016d7696b4SZiqi ChenDescription: 16026d7696b4SZiqi Chen This attribute shows and sets the number of milliseconds of idle time 16036d7696b4SZiqi Chen before the UFS driver starts to perform clock gating. This can 16046d7696b4SZiqi Chen prevent the UFS from frequently performing clock gating/ungating. 16056d7696b4SZiqi Chen 16066d7696b4SZiqi Chen The attribute is read/write. 1607