[PATCH v2 3/3] documentation: misc: intel_sysid: Add the system id sysfs documentation for Altera(Intel) FPGA platform

From: kah . jing . lee
Date: Thu Jul 21 2022 - 08:33:17 EST


From: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>

This sysfs documentation is created for Altera(Intel) FPGA platform
System ID soft IP. The Altera(Intel) Sysid component is generally
part of an FPGA design.
The component can be hotplugged when the FPGA is reconfigured.

Based on an initial contribution from Ley Foon Tan at Altera
Signed-off-by: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
Reviewed-by: Zhou Furong <furong.zhou@xxxxxxxxx>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
---
.../testing/sysfs-devices-platform-soc-sysid | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-soc-sysid

diff --git a/Documentation/ABI/testing/sysfs-devices-platform-soc-sysid b/Documentation/ABI/testing/sysfs-devices-platform-soc-sysid
new file mode 100644
index 000000000000..9fa58fd88dc0
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-devices-platform-soc-sysid
@@ -0,0 +1,27 @@
+What: /sys/devices/platform/soc@X/soc:base_fpga_region/
+soc:base_fpga_region:fpga_pr_region0/XXXXXXXX.sysid/
+Date: May 2022
+KernelVersion: v5.18
+Contact: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
+Description:
+ The soc@X/soc:base_fpga_region/soc:base_fpga_region:fpga_pr_region0/
+ XXXXXXXX.sysid/ directory contains read-only attributes exposing
+ information about an System ID soft IP device. The X values could vary,
+ based on the FPGA platform System ID soft IP register address.
+
+What: .../XXXXXXX.sysid/sysid
+Date: May 2022
+KernelVersion: v5.18
+Contact: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
+Description:
+ The .../XXXXXXX.sysid/sysid file contains the System ID for the FPGA
+ platform which is unique for the platform type and can be used for
+ checking the platform type for software download purposes.
+
+What: .../XXXXXXX.sysid/buildtime
+Date: May 2022
+KernelVersion: v5.18
+Contact: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
+Description:
+ The .../XXXXXXX.sysid/buildtime file contains the buildtime for the
+ FPGA board file generation.
--
2.25.1