ti,rcl-coex-two-wire-priority-request

Description

TI RCL RF Coexistence - Two-Wire Mode (REQUEST + PRIORITY)

Uses two output signals without grant monitoring:
  - REQUEST (output): Indicates upcoming RF activity, asserted T1 µs before transmission
  - PRIORITY (output): Shows priority level for T2 µs, then Tx/Rx indicator

If T2 is set to 0, PRIORITY skips the priority indication phase and immediately
shows Rx/Tx activity indicator.

GPIO Pin Constraints:

  Only DIOs with LRFD peripheral functions can be used.
  --------+----------------------------------------------------------------
  Device  | Valid DIO Choices
  --------+----------------------------------------------------------------
  CC23X0  | DIO1, DIO3, DIO4, DIO5, DIO6, DIO7, DIO9, DIO11, DIO14, DIO21
  CC27XX  | DIO17, DIO18, DIO19, DIO20, DIO21, DIO22, DIO27, DIO28
  --------+----------------------------------------------------------------

Example on CC27XX devices:

&pinctrl {
    coex_request_default: coex_request_default {
        pinmux = <22 DIO22_LRFD5>; /* REQUEST - output */
    };

    coex_priority_default: coex_priority_default {
        pinmux = <27 DIO27_LRFD6>; /* PRIORITY - output */
    };

    coex_request_sleep: coex_request_sleep {
        pinmux = <22 DIO22_GPIO22>;
    };

    coex_priority_sleep: coex_priority_sleep {
        pinmux = <27 DIO27_GPIO27>;
    };
};

/ {
    ti_rcl_coex: rcl_coex {
        compatible = "ti,rcl-coex-two-wire-priority-request";
        status = "okay";

        pinctrl-0 = <&coex_request_default &coex_priority_default>;
        pinctrl-1 = <&coex_request_sleep &coex_priority_sleep>;
        pinctrl-names = "default", "sleep";

        request-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
        priority-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;

        t1-us = <120>;
        t2-us = <20>;
    };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

request-gpios

phandle-array

GPIO for REQUEST signal. Must be a DIO that supports LRFD peripheral
function. Use GPIO_ACTIVE_HIGH/LOW flag for polarity.

This property is required.

priority-gpios

phandle-array

GPIO for PRIORITY signal. Must be a DIO that supports LRFD peripheral
function. Use GPIO_ACTIVE_HIGH/LOW flag for polarity.

This property is required.

t1-us

int

RF Activity Latency Time in microseconds [90, 150]. Time from REQUEST
assertion to actual RF activity start. Default 120 µs matches SimpleLink.

Default value: 120

t2-us

int

Priority Indication Time in microseconds 0 or [3, 30].
- If 0: PRIORITY shows Rx/Tx activity only (no priority indication)
- If 3-30: PRIORITY shows priority level for T2 µs, then switches to Rx/Tx indicator

Default value: 20

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.