bflb,irx

Description

Bouffalolab Infrared Receiver Peripheral
Wire the output of a diode like VS1838B to the specified GPIO pin.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ir-gpios

phandle-array

Single GPIO used as input pin, must be first port (gpio0).
Flags do not apply as it is a special usage.

This property is required.

protocol

string

What IR protocol is used:
  - NEC: NEC Protocol
  - RC5: RC5 Protocol
  - PW: Pulse width: count the length of each on/off pulse in us.
    PW will easily overflow FIFO on BL60x and BL70x.
    On BL61x, increase CONFIG_INPUT_QUEUE_MAX_MSGS to handle the large amount of data.

This property is required.

Legal values: 'NEC', 'RC5', 'PW'

pw-end-pulse-width

int

Length of time for a pulse / lack of pulse in microseconds to trigger the end of transmission
interrupt in pulse width mode.

invert

boolean

Invert input. With VS1838B wired directly, you want this enabled.

deglitch-cnt

int

Deglitch count, 4-bits value. It is unnecessary most of the time, 0 disables it.