sonic-buildimage/platform/pddf/i2c/modules/fan/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
..
Makefile Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
pddf_fan_api.c Enabling FPGA device support in PDDF (#13477) 2023-03-14 17:53:35 -07:00
pddf_fan_driver.c [pddf]: Update PDDF kernel modules with 5.10 kernel and fix some compilation (#9582) 2022-01-02 22:24:19 -08:00