firmware: xilinx: Add sysfs and API to set boot health status
[linux-2.6-microblaze.git] / Documentation / ABI / stable / sysfs-driver-firmware-zynqmp
index 554f30c..00fa04c 100644 (file)
@@ -80,3 +80,24 @@ Description:
                # echo "subsystem" > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
 
 Users:         Xilinx
+
+What:          /sys/devices/platform/firmware\:zynqmp-firmware/health_status
+Date:          March 2020
+KernelVersion: 5.6
+Contact:       "Jolly Shah" <jollys@xilinx.com>
+Description:
+               This sysfs interface allows to set the health status. If PMUFW
+               is compiled with CHECK_HEALTHY_BOOT, it will check the healthy
+               bit on FPD WDT expiration. If healthy bit is set by a user
+               application running in Linux, PMUFW will do APU only restart. If
+               healthy bit is not set during FPD WDT expiration, PMUFW will do
+               system restart.
+
+               Usage:
+               Set healthy bit
+               # echo 1 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
+
+               Unset healthy bit
+               # echo 0 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
+
+Users:         Xilinx