Altera Soft IP I2C

modulename: i2c-altera.ko

configname: CONFIG_I2C_ALTERA

Linux Kernel Configuration
└─>Device Drivers
└─>I2C support
└─>I2C Hardware Bus support
└─>Device Tree and Open Firmware support
└─>Altera Soft IP I2C
In linux kernel since version 4.2 (release Date: 2015-08-30)  
If you say yes to this option, support will be included for the
Altera Soft IP I2C interfaces on SoCFPGA and Nios2 architectures.

This driver can also be built as a module. If so, the module
will be called i2c-altera.

source code:
depends
CONFIG_HAS_IOMEM
CONFIG_I2C
CONFIG_OF
CONFIG_ARCH_SOCFPGA or CONFIG_COMPILE_TEST or CONFIG_NIOS2