General Purpose I2C multiplexer

modulename: i2c-mux-gpmux.ko

configname: CONFIG_I2C_MUX_GPMUX

Linux Kernel Configuration
└─>Device Drivers
└─>I2C support
└─>Multiplexer I2C Chip support
└─>Device Tree and Open Firmware support
└─>General Purpose I2C multiplexer
In linux kernel since version 3.10 (release Date: 2013-06-30)  
If you say yes to this option, support will be included for a
general purpose I2C multiplexer. This driver provides access to
I2C busses connected through a MUX, which in turn is controlled
by a MUX-controller from the MUX subsystem.

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

source code:

depends
CONFIG_I2C
CONFIG_I2C_MUX
CONFIG_COMPILE_TEST or CONFIG_OF