sysfs-driver-firmware-zynqmp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs*
  2. Date: March 2020
  3. KernelVersion: 5.6
  4. Contact: "Jolly Shah" <jollys@xilinx.com>
  5. Description:
  6. Read/Write PMU global general storage register value,
  7. GLOBAL_GEN_STORAGE{0:3}.
  8. Global general storage register that can be used
  9. by system to pass information between masters.
  10. The register is reset during system or power-on
  11. resets. Three registers are used by the FSBL and
  12. other Xilinx software products: GLOBAL_GEN_STORAGE{4:6}.
  13. Usage::
  14. # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
  15. # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
  16. Example::
  17. # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
  18. # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
  19. Users: Xilinx
  20. What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs*
  21. Date: March 2020
  22. KernelVersion: 5.6
  23. Contact: "Jolly Shah" <jollys@xilinx.com>
  24. Description:
  25. Read/Write PMU persistent global general storage register
  26. value, PERS_GLOB_GEN_STORAGE{0:3}.
  27. Persistent global general storage register that
  28. can be used by system to pass information between
  29. masters.
  30. This register is only reset by the power-on reset
  31. and maintains its value through a system reset.
  32. Four registers are used by the FSBL and other Xilinx
  33. software products: PERS_GLOB_GEN_STORAGE{4:7}.
  34. Register is reset only by a POR reset.
  35. Usage::
  36. # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
  37. # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
  38. Example::
  39. # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
  40. # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
  41. Users: Xilinx
  42. What: /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
  43. Date: March 2020
  44. KernelVersion: 5.6
  45. Contact: "Jolly Shah" <jollys@xilinx.com>
  46. Description:
  47. This sysfs interface allows to set the shutdown scope for the
  48. next shutdown request. When the next shutdown is performed, the
  49. platform specific portion of PSCI-system_off can use the chosen
  50. shutdown scope.
  51. Following are available shutdown scopes(subtypes):
  52. subsystem:
  53. Only the APU along with all of its peripherals
  54. not used by other processing units will be
  55. shut down. This may result in the FPD power
  56. domain being shut down provided that no other
  57. processing unit uses FPD peripherals or DRAM.
  58. ps_only:
  59. The complete PS will be shut down, including the
  60. RPU, PMU, etc. Only the PL domain (FPGA)
  61. remains untouched.
  62. system:
  63. The complete system/device is shut down.
  64. Usage::
  65. # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
  66. # echo <scope> > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
  67. Example::
  68. # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
  69. # echo "subsystem" > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
  70. Users: Xilinx
  71. What: /sys/devices/platform/firmware\:zynqmp-firmware/health_status
  72. Date: March 2020
  73. KernelVersion: 5.6
  74. Contact: "Jolly Shah" <jollys@xilinx.com>
  75. Description:
  76. This sysfs interface allows to set the health status. If PMUFW
  77. is compiled with CHECK_HEALTHY_BOOT, it will check the healthy
  78. bit on FPD WDT expiration. If healthy bit is set by a user
  79. application running in Linux, PMUFW will do APU only restart. If
  80. healthy bit is not set during FPD WDT expiration, PMUFW will do
  81. system restart.
  82. Usage:
  83. Set healthy bit::
  84. # echo 1 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
  85. Unset healthy bit::
  86. # echo 0 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
  87. Users: Xilinx