ti,tca9544a (on i2c bus)

Description

Texas Instruments TCA9544A

Examples

/* The tca954x node must be a child of an i2c controller */
mux: tca9546a@77 {
    compatible = "ti,tca9546a";
    reg = <0x77>;
    status = "okay";
    #address-cells = <1>;
    #size-cells = <0>;
    reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;

    mux_i2c@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        temp_sens_0: tmp11x@49 {
            compatible = "ti,tmp11x";
            reg = <0x49>;
        };
    };

    mux_i2c@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        temp_sens_1: tmp11x@49 {
            compatible = "ti,tmp11x";
            reg = <0x49>;
        };
    };
};

Properties

Top level properties

These property descriptions apply to “ti,tca9544a” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

reset-gpios

phandle-array

GPIO connected to the controller RESET pin. This pin is active-low.

i2c-mux-idle-disconnect

boolean

Forces mux to disconnect all children in idle state. This is
necessary for example, if there are several multiplexers on the bus and
the devices behind them use same I2C addresses.

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.

Child node properties

Name

Type

Details

#address-cells

int

This property is required.

#size-cells

int

This property is required.

reg

array

This property is required.

See Important properties for more information.