0abc4f0c4a
Why I did it Some of the platform vendors use FPGA in the HW design. This FPGA is connected to the CPU via I2C bus. Adding a common module and a driver to be used for such FPGA in PDDF. How I did it Added 'pddf_fpgai2c_module' and 'pddf_fpgai2c_driver' kernel modules which takes the platform dependent data from PDDF JSON files and creates an I2C client for the FPGA. 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.
5 lines
84 B
Makefile
5 lines
84 B
Makefile
obj-m := driver/
|
|
obj-m += pddf_fpgai2c_module.o
|
|
|
|
ccflags-y:= -I$(M)/modules/include
|