u-boot/include/dm
Simon Glass 3d1957f0ea dm: i2c: Add support for multiplexed I2C buses
Add a new I2C_MUX uclass. Devices in this class can multiplex between
several I2C buses, selecting them one at a time for use by the system.
The multiplexing mechanism is left to the driver to decide - it may be
controlled by GPIOs, for example.

The uclass supports only two methods: select() and deselect().

The current mux state is expected to be stored in the mux itself since
it is the only thing that knows how to make things work. The mux can
record the current state and then avoid switching unless it is necessary.
So select() can be skipped if the mux is already in the correct state.
Also deselect() can be made a nop if required.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-08-05 21:06:10 -06:00
..
platform_data dm: sh: serial: Add support driver model 2015-02-12 15:17:17 -07:00
device-internal.h dm: Export device_remove_children / device_unbind_children 2015-07-21 17:39:35 -06:00
device.h dm: Add a return value comment to device_get_child() 2015-08-05 08:42:42 -06:00
lists.h dm: core: Add a function to bind a driver for a device tree node 2015-04-29 21:02:32 -06:00
platdata.h dm: Add platform data advice and admonishment 2015-07-21 17:39:30 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
uclass-id.h dm: i2c: Add support for multiplexed I2C buses 2015-08-05 21:06:10 -06:00
uclass-internal.h dm: core: Remove unbind operations when not required 2015-04-23 09:05:52 -06:00
uclass.h dm: core: Support finding a device by phandle 2015-08-05 20:57:51 -06:00
util.h dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00