From: Jean Delvare Date: Fri, 5 Oct 2012 20:23:51 +0000 (+0200) Subject: i2c-mux: Add support for device auto-detection X-Git-Tag: v3.7-rc1~92^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee543e8248150e8fb833943c71f40c7b1724600;p=pandora-kernel.git i2c-mux: Add support for device auto-detection Let I2C bus segments behind multiplexers have a class. This allows for device auto-detection on these segments. As long as parent segments don't share the same class, it should be fine. I implemented support in drivers i2c-mux-gpio and i2c-mux-pca954x. I left i2c-mux-pca9541 and i2c-mux-pinctrl alone for the moment as I don't know if this feature makes sense for the use cases of these drivers. Signed-off-by: Jean Delvare Cc: Peter Korsgaard Cc: David Daney Cc: Michael Lawnick Cc: Rodolfo Giometti --- Reading git-diff-tree failed