ti,am13e2-xbar-out

Description

TI AM13E2 Output XBAR peripheral binding.

mux-control-cells is a single packed cell built with the
AM13E2_XBAR_OUT_CTRL(idx, group, bit) macro from
<zephyr/dt-bindings/mux/ti_am13e2_xbar_out.h> — idx selects which of
the 8 physical OUTPUTXBARx outputs, group/bit select one of the 64
one-hot source-select bits (G0SEL/G1SEL) for that output.

state=1 ORs the bit in (select the source), state=0 clears it
(deselect); mux_control_set() always addresses exactly one bit.
mux_control_disconnect() clears BOTH G0SEL and G1SEL for the output
named by idx (the group/bit portion of the control cell is ignored).

Examples

#include <zephyr/dt-bindings/mux/ti_am13e2_xbar_out.h>

&xbar2 {
        status = "okay";
};

my_consumer {
        mux-controls = <&xbar2 AM13E2_XBAR_OUT_CTRL(idx, group, bit)>;
};

#include <zephyr/dt-bindings/mux/ti_am13e2_xbar_out.h>

&xbar2 {
        status = "okay";
};

my_consumer {
        mux-states = <&xbar2 AM13E2_XBAR_OUT_CTRL(idx, group, bit) 1>;
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#mux-control-cells

int

Number of cells in a "mux-controls" specifier. These cells form the
addressing portion only (which output line) and do NOT include the
target state value. Drivers receive the addressing cells in the
"cells" field of struct mux_control.

This property is required.

Constant value: 1

#mux-state-cells

int

Number of cells in a "mux-states" specifier. Equals
#mux-control-cells + 1: the trailing cell carries the default state
value. Backends may name the trailing cell whatever best describes
the hardware (e.g. "state" for a generic mux, "input" for an
XBAR, "source" for a TRGMUX).

This property is required.

Constant value: 2

ti,pwren

phandle-array

Power-enable this peripheral via SYSCTL.PWREN_*.
Format: <&sysctl offset bit>.

Specifier cell names

  • mux-control cells: select

  • mux-state cells: select, enable