2e3aebd01d163187a80580ab6c2ef2770ac29c20
[linux-2.6-microblaze.git] / Documentation / ABI / stable / sysfs-driver-firmware-zynqmp
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
11                 The register is reset during system or power-on
12                 resets. Three registers are used by the FSBL and
13                 other Xilinx software products: GLOBAL_GEN_STORAGE{4:6}.
14
15                 Usage:
16                 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
17                 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
18
19                 Example:
20                 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
21                 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
22
23 Users:          Xilinx
24
25 What:           /sys/devices/platform/firmware\:zynqmp-firmware/pggs*
26 Date:           March 2020
27 KernelVersion:  5.6
28 Contact:        "Jolly Shah" <jollys@xilinx.com>
29 Description:
30                 Read/Write PMU persistent global general storage register
31                 value, PERS_GLOB_GEN_STORAGE{0:3}.
32                 Persistent global general storage register that
33                 can be used by system to pass information between
34                 masters.
35
36                 This register is only reset by the power-on reset
37                 and maintains its value through a system reset.
38                 Four registers are used by the FSBL and other Xilinx
39                 software products: PERS_GLOB_GEN_STORAGE{4:7}.
40                 Register is reset only by a POR reset.
41
42                 Usage:
43                 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
44                 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
45
46                 Example:
47                 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
48                 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
49
50 Users:          Xilinx