raw/ifpga/base: add I2C and at24 EEPROM driver
authorTianfei Zhang <tianfei.zhang@intel.com>
Tue, 16 Apr 2019 03:17:47 +0000 (11:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit15d21c8510283d80e70f3634f07f0a9f18793fc4
tree327411b7a1b030bf739622dc7c2d961e1dd3c17e
parent96ebfcf8125c605f2657aad705e2bda580533ea7
raw/ifpga/base: add I2C and at24 EEPROM driver

1. Add Altera I2C master device driver
2. Add at24 eeprom driver which is i2c slave device
3. Introducing a new ops for opae_manager: opae_manager_networking_ops.
This ops will include some networking operation by FPGA, like vBNG
operation, MAC ROM operation and so on.

Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
16 files changed:
drivers/raw/ifpga_rawdev/base/Makefile
drivers/raw/ifpga_rawdev/base/ifpga_api.c
drivers/raw/ifpga_rawdev/base/ifpga_api.h
drivers/raw/ifpga_rawdev/base/ifpga_defines.h
drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c
drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c
drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.h
drivers/raw/ifpga_rawdev/base/ifpga_fme.c
drivers/raw/ifpga_rawdev/base/ifpga_hw.h
drivers/raw/ifpga_rawdev/base/meson.build
drivers/raw/ifpga_rawdev/base/opae_at24_eeprom.c [new file with mode: 0644]
drivers/raw/ifpga_rawdev/base/opae_at24_eeprom.h [new file with mode: 0644]
drivers/raw/ifpga_rawdev/base/opae_hw_api.c
drivers/raw/ifpga_rawdev/base/opae_hw_api.h
drivers/raw/ifpga_rawdev/base/opae_i2c.c [new file with mode: 0644]
drivers/raw/ifpga_rawdev/base/opae_i2c.h [new file with mode: 0644]