sonic-buildimage/platform/broadcom/sonic-platform-modules-ragile/ra-b6920-4s/modules/driver
FuzailBrcm f822373e53
Enabling FPGA device support in PDDF (#13477)
Why I did it
To enable FPGA support in PDDF.

How I did it
Added FPGAI2C and FPGAPCI in the build path for the PDDF debian package
Added the support for FPGA access APIs in the drivers of fan, xcvr, led etc.
Added the FPGA device creation support in PDDF utils and parsers

How to verify it
These changes can be verified on some platform using such FPGAs. For testing purpose, we took Dell S5232f platform and brought it up using PDDF. In doing so, FPGA devices are created using PDDF and optics eeproms were accessed using common FPGA drivers. Below are some of the logs.
2023-03-14 17:53:35 -07:00
..
lpc_cpld_i2c.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
Makefile [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
pddf_custom_fan.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
pddf_custom_led_module.c Enabling FPGA device support in PDDF (#13477) 2023-03-14 17:53:35 -07:00
pddf_custom_psu.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
pddf_custom_xcvr.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
ragile.h [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
rg_cpld.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
rg_lpc_cpld.c [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00