sonic-buildimage/platform/pddf
FuzailBrcm 0704ff5e6c
[pddf]: Adding support for FPGAPCIe in PDDF (#13476)
Why I did it
Some of the platform vendors use FPGA in the HW design. This FPGA is connected to the CPU via PCIe interface. This FPGA also works as an I2C controller having other devices attached to the I2C channels emanating from it. Adding a common module, a driver and a platform specific algorithm module to be used for such FPGA in PDDF.

How I did it
Added 'pddf_fpgapci_module', 'pddf_fpgapci_driver' and a sample algorithm module for Xilinx device 7021. Kernel modules which takes the platform dependent data from PDDF JSON files and initialises the PCIe FPGA. The sample algorithm module can be used by the ODMs in case the communication algorithms are same for their device. Else, they need to come up with similar algo module.

How to verify it
Any platform having such an FPGA and brought up using PDDF would use these kernel modules. The detail representation of such a device in PDDF JSON file is covered in the HLD.
2023-02-06 13:48:31 -08:00
..
i2c [pddf]: Adding support for FPGAPCIe in PDDF (#13476) 2023-02-06 13:48:31 -08:00
platform-api-pddf-base [pddf]: Modifying the PDDF common platform APIs as per the LED driver changes (#13474) 2023-02-02 11:23:30 -08:00
platform-api-pddf-base.dep [pddf]: Update PDDF utils and common platform APIs for Debian Bullseye (#9585) 2022-01-02 22:27:01 -08:00
platform-api-pddf-base.mk Python 2 removal/cleanup 2021-11-10 15:27:22 -08:00
platform-modules-pddf.dep Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
platform-modules-pddf.mk [ragile] adapter for kernel 5.x (#10762) 2023-01-12 18:01:47 -08:00
README.md Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
rules.dep Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
rules.mk Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00

Platform Driver Development Framework (PDDF) is part of SONiC Platform Development Kit (PDK) which optimizes the platform developement.

SONiC PDDF (Platform driver development framework) supports the following HW devices on a given platform:

  • Fan
  • PSU
  • System EEPROM
  • CPLD
  • CPLDMUX
  • GPIO
  • Optic Transceivers
  • System LED control via CPLD
  • System Status Registers in CPLD
  • Temp Sensors

This folder for the PDDF consists of the following:

  • PDDF python utility scripts
  • Generic PDDF HW device drivers in kernel space