18c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/firmware\:zynqmp-firmware/ggs*
28c2ecf20Sopenharmony_ciDate:		March 2020
38c2ecf20Sopenharmony_ciKernelVersion:	5.6
48c2ecf20Sopenharmony_ciContact:	"Jolly Shah" <jollys@xilinx.com>
58c2ecf20Sopenharmony_ciDescription:
68c2ecf20Sopenharmony_ci		Read/Write PMU global general storage register value,
78c2ecf20Sopenharmony_ci		GLOBAL_GEN_STORAGE{0:3}.
88c2ecf20Sopenharmony_ci		Global general storage register that can be used
98c2ecf20Sopenharmony_ci		by system to pass information between masters.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci		The register is reset during system or power-on
128c2ecf20Sopenharmony_ci		resets. Three registers are used by the FSBL and
138c2ecf20Sopenharmony_ci		other Xilinx software products: GLOBAL_GEN_STORAGE{4:6}.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci		Usage::
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
188c2ecf20Sopenharmony_ci		    # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci		Example::
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
238c2ecf20Sopenharmony_ci		    # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciUsers:		Xilinx
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/firmware\:zynqmp-firmware/pggs*
288c2ecf20Sopenharmony_ciDate:		March 2020
298c2ecf20Sopenharmony_ciKernelVersion:	5.6
308c2ecf20Sopenharmony_ciContact:	"Jolly Shah" <jollys@xilinx.com>
318c2ecf20Sopenharmony_ciDescription:
328c2ecf20Sopenharmony_ci		Read/Write PMU persistent global general storage register
338c2ecf20Sopenharmony_ci		value, PERS_GLOB_GEN_STORAGE{0:3}.
348c2ecf20Sopenharmony_ci		Persistent global general storage register that
358c2ecf20Sopenharmony_ci		can be used by system to pass information between
368c2ecf20Sopenharmony_ci		masters.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci		This register is only reset by the power-on reset
398c2ecf20Sopenharmony_ci		and maintains its value through a system reset.
408c2ecf20Sopenharmony_ci		Four registers are used by the FSBL and other Xilinx
418c2ecf20Sopenharmony_ci		software products: PERS_GLOB_GEN_STORAGE{4:7}.
428c2ecf20Sopenharmony_ci		Register is reset only by a POR reset.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci		Usage::
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
478c2ecf20Sopenharmony_ci		    # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci		Example::
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
528c2ecf20Sopenharmony_ci		    # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciUsers:		Xilinx
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
578c2ecf20Sopenharmony_ciDate:		March 2020
588c2ecf20Sopenharmony_ciKernelVersion:	5.6
598c2ecf20Sopenharmony_ciContact:	"Jolly Shah" <jollys@xilinx.com>
608c2ecf20Sopenharmony_ciDescription:
618c2ecf20Sopenharmony_ci		This sysfs interface allows to set the shutdown scope for the
628c2ecf20Sopenharmony_ci		next shutdown request. When the next shutdown is performed, the
638c2ecf20Sopenharmony_ci		platform specific portion of PSCI-system_off can use the chosen
648c2ecf20Sopenharmony_ci		shutdown scope.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci		Following are available shutdown scopes(subtypes):
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci		subsystem:
698c2ecf20Sopenharmony_ci				Only the APU along with all of its peripherals
708c2ecf20Sopenharmony_ci				not used by other processing units will be
718c2ecf20Sopenharmony_ci				shut down. This may result in the FPD power
728c2ecf20Sopenharmony_ci				domain being shut down provided that no other
738c2ecf20Sopenharmony_ci				processing unit uses FPD peripherals or DRAM.
748c2ecf20Sopenharmony_ci		ps_only:
758c2ecf20Sopenharmony_ci				The complete PS will be shut down, including the
768c2ecf20Sopenharmony_ci				RPU, PMU, etc.  Only the PL domain (FPGA)
778c2ecf20Sopenharmony_ci				remains untouched.
788c2ecf20Sopenharmony_ci		system:
798c2ecf20Sopenharmony_ci				The complete system/device is shut down.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci		Usage::
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
848c2ecf20Sopenharmony_ci		    # echo <scope> > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		Example::
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci		    # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
898c2ecf20Sopenharmony_ci		    # echo "subsystem" > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciUsers:		Xilinx
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciWhat:		/sys/devices/platform/firmware\:zynqmp-firmware/health_status
948c2ecf20Sopenharmony_ciDate:		March 2020
958c2ecf20Sopenharmony_ciKernelVersion:	5.6
968c2ecf20Sopenharmony_ciContact:	"Jolly Shah" <jollys@xilinx.com>
978c2ecf20Sopenharmony_ciDescription:
988c2ecf20Sopenharmony_ci		This sysfs interface allows to set the health status. If PMUFW
998c2ecf20Sopenharmony_ci		is compiled with CHECK_HEALTHY_BOOT, it will check the healthy
1008c2ecf20Sopenharmony_ci		bit on FPD WDT expiration. If healthy bit is set by a user
1018c2ecf20Sopenharmony_ci		application running in Linux, PMUFW will do APU only restart. If
1028c2ecf20Sopenharmony_ci		healthy bit is not set during FPD WDT expiration, PMUFW will do
1038c2ecf20Sopenharmony_ci		system restart.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci		Usage:
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci		Set healthy bit::
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ci		    # echo 1 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ci		Unset healthy bit::
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ci		    # echo 0 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ciUsers:		Xilinx
116