nxp,s32-psi5

Vendor: NXP Semiconductors

Note

An implementation of a driver matching this compatible is available in drivers/psi5/psi5_nxp_s32.c.

Description

NXP S32 PSI5 (Peripheral Sensor Interface) Controller

Properties

Top level properties

These property descriptions apply to “nxp,s32-psi5” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

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

This property is required.

pinctrl-names

string-array

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

This property is required.

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.

Child node properties

Name

Type

Details

interrupts

array

Information about the channel interrupts.

This property is required.

See Important properties for more information.

num-rx-buf

int

Specifies the maximum number of receive buffers used for storing PSI5 messages.
The value can range from 1 to 32, determining how many messages can be stored in
the buffer at any given time.

This property is required.

reg

int

Channel identifier.

This property is required.

See Important properties for more information.

async-mode

boolean

Determines the channel operation mode. When set to true, the channel operates in
asynchronous mode with only the receive function active. When set to false,
the channel operates in synchronous mode with both transmit and receive functions active.

period-sync-pulse-us

int

Specifies the period of the internally generated synchronization pulses, measured in
microseconds (us). This value determines the length of each synchronization pulse used
in the system.

pulse-width-0-us

int

Specifies the duration of the pulse width for a data bit value '0', measured in
microseconds (us).

pulse-width-1-us

int

Specifies the duration of the pulse width for a data bit value '1', measured in
microseconds (us).

decoder-start-offset-us

int

Specifies the duration for which the Manchester decoder remains inactive after the
falling edge of a synchronization pulse, measured in microseconds (us). This value
determines the delay before the decoder starts processing incoming signals again.

tx-frame

string

Specifies the transmitter mode. Each mode defines the frame length and
the start condition for data transmission:
  - short-31-1s: Short Frame (V1.3) with at least 31 consecutive '1' bits
    as the start condition
  - short-5-0s: Short Frame (V1.3) with at least 5 consecutive '0' bits
    as the start condition
  - long-31-1s: Long Frame (V1.3) with at least 31 consecutive '1' bits
    as the start condition
  - long-5-0s: Long Frame (V1.3) with at least 5 consecutive '0' bits
    as the start condition
  - x-long-31-1s: X-Long Frame (V1.3) with at least 31 consecutive '1' bits
    as the start condition
  - x-long-5-0s: X-Long Frame (V1.3) with at least 5 consecutive '0' bits
    as the start condition
  - xx-long: XX-Long (V2.0)
  - non-standard: Non Standard Length

Legal values: 'short-31-1s', 'short-5-0s', 'long-31-1s', 'long-5-0s', 'x-long-31-1s', 'x-long-frame-5-0s', 'xx-long-frame', 'non-standard-frame'

rx-bitrate-kbps

int

Selects the receive message bitrate in kbps. This setting determines the speed at
which data is received.

This property is required.

Legal values: 125, 189

Grandchild node properties

Name

Type

Details

reg

int

Channel RX slot identifier.

This property is required.

See Important properties for more information.

duration-us

int

Specifies the duration of a slot, starting from the rising edge of the
timing synchronization pulse and ending at the final slot.

This property is required.

start-offset-us

int

Specifies the time offset at which the slot should start, measured from the
rising edge of the timing synchronization pulse.

This property is required.

data-length

int

Specifies the number of bits in a slot, with valid lengths ranging from 8 to 28 bits.

This property is required.

data-msb-first

boolean

Specifies the endianness type for data slot. Set to 1 when data is interpreted with the
Most Significant Bit (MSB) first.

has-smc

boolean

Specifies whether data slot has Serial Messaging Channel (SMC) field. Set to 1 when
the bit (M0, M1) SMC is present in the Rx Message.

has-parity

boolean

Specifies whether data slot has parity field. Set to 1 when the Parity field is
present in the Rx Message; otherwise, the CRC field is present.