Theobroma Systems Mule is an MCU that emulates a set of I2C devices,Along the driver I expressed some concern about the prefixes.
among which an amc6821 and devices that are reachable through an I2C-mux.
The devices on the mux can be selected by writing the appropriate device
number to an I2C config register (amc6821 reg 0xff).
This driver is expected to be probed as a platform device with amc6821
as its parent i2c device.
Add support for the mule-i2c-mux platform driver. The amc6821 driver
You should avoid prefixes such as mux_* or MUX_* because they
don't belong to your driver. You should always use your driver's
name:
1. mule_*
2. mule_mux_*
3. mule_i2c_mux_*
You have used the 3rd, I'd rather prefer the 1st. Because when
you are in i2c/muxex/ it's implied that you are an i2c mux
device. But it's a matter of personal taste.