Skip to content

New driver for Intel(Altera) FPGA System ID softIP

[email protected] lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 12 repliesIn review
  2. v12 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: misc: intel_sysid: Add sysid from arch to driversdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/intel_sysid.c+124 -08 replies
2/3dt-bindings: misc: intel_sysid: Add the system id binding for Altera(Intel) FPGA platformDocumentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml+41 -03 replies
3/3documentation: misc: intel_sysid: Add the system id sysfs documentation for Altera(Intel) FPGA platformDocumentation/ABI/testing/sysfs-devices-platform-soc-sysid+27 -03 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchZhou, FurongPierre-Louis Bossart
1/3R-b R-b
2/3R-b R-b R-b R-b
3/3R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] New driver for Intel(Altera) FPGA System ID softIP

From: Kah Jing Lee <[email protected]>

Hi,

I would like to request review for the new System ID driver for Intel FPGA platform.

New sysid driver for Altera(Intel) Sysid component is generally part of an FPGA design. The component can be hotplugged when the FPGA is reconfigured.

There are two basic ways to use the system ID core:
- Verify the system ID before downloading new software to a system. This method can be used by software development tools, before downloading a program to a target hardware system, if the program is compiled for different hardware.

- Check system ID after reset. If a program is running on hardware other than the expected Platform Designer system, the program may fail to function altogether. If the program does not crash, it can behave erroneously in subtle ways that are difficult to debug. To protect against this case, a program can compare the expected system ID against the system ID core, and report an error if they do not match.

Documentation link:
https://rocketboards.org/foswiki/Documentation/AgilexSoCGSRD#PR_Files

Feedback from maintainers:
https://lore.kernel.org/lkml/[email protected]/#t

Kah Jing Lee (3):
drivers: misc: intel_sysid: Add sysid from arch to drivers
dt-bindings: misc: intel_sysid: Add the system id binding for
Altera(Intel) FPGA platform
documentation: misc: intel_sysid: Add the system id sysfs
documentation for Altera(Intel) FPGA platform

 .../testing/sysfs-devices-platform-soc-sysid  |  27 +++++
 .../bindings/misc/intel,socfpga-sysid.yaml    |  41 +++++++
 drivers/misc/Kconfig                          |   9 ++
 drivers/misc/Makefile                         |   1 +
 drivers/misc/intel_sysid.c                    | 114 ++++++++++++++++++
 5 files changed, 192 insertions(+)
 create mode 100644 Documentation/ABI/testing/
sysfs-devices-platform-soc-sysid
 create mode 100644 Documentation/devicetree/bindings/misc/
intel,socfpga-sysid.yaml
 create mode 100644 drivers/misc/intel_sysid.c
Signature · 1 line
2.25.1