45 lines · plain
1What: /sys/bus/mhi/devices/.../serialnumber2Date: Sept 20203KernelVersion: 5.104Contact: mhi@lists.linux.dev5Description: The file holds the serial number of the client device obtained6 using a BHI (Boot Host Interface) register read after at least7 one attempt to power up the device has been done. If read8 without having the device power on at least once, the file will9 read all 0's.10Users: Any userspace application or clients interested in device info.11 12What: /sys/bus/mhi/devices/.../oem_pk_hash13Date: Sept 202014KernelVersion: 5.1015Contact: mhi@lists.linux.dev16Description: The file holds the OEM PK Hash value of the endpoint device17 obtained using a BHI (Boot Host Interface) register read after18 at least one attempt to power up the device has been done. If19 read without having the device power on at least once, the file20 will read all 0's.21Users: Any userspace application or clients interested in device info.22 23What: /sys/bus/mhi/devices/.../soc_reset24Date: April 202225KernelVersion: 5.1926Contact: mhi@lists.linux.dev27Description: Initiates a SoC reset on the MHI controller. A SoC reset is28 a reset of last resort, and will require a complete re-init.29 This can be useful as a method of recovery if the device is30 non-responsive, or as a means of loading new firmware as a31 system administration task.32 33What: /sys/bus/mhi/devices/.../trigger_edl34Date: April 202435KernelVersion: 6.1036Contact: mhi@lists.linux.dev37Description: Writing a non-zero value to this file will force devices to38 enter EDL (Emergency Download) mode. This entry only exists for39 devices capable of entering the EDL mode using the standard EDL40 triggering mechanism defined in the MHI spec v1.2. Once in EDL41 mode, the flash programmer image can be downloaded to the42 device to enter the flash programmer execution environment.43 This can be useful if user wants to use QDL (Qualcomm Download,44 which is used to download firmware over EDL) to update firmware.45