Skip to content
Unverified Commit ac0d2268 authored by Matthias Reichl's avatar Matthias Reichl Committed by GitHub
Browse files

gpio-ir-overlay: add parameter to configure signal polarity (#3490)



Standard IR receivers use inverted / active-low signalling
and the gpio-ir overlay configures the GPIO appropriately
as GPIO_ACTIVE_LOW (1).

In order to support (rather rare) non-inverted / active-high
signalling the GPIO needs to be configured as GPIO_ACTIVE_HIGH (0).

Add an "invert" parameter to override this like in the gpio-ir-tx
overlay.

Signed-off-by: default avatarMatthias Reichl <hias@horus.com>
parent ecb440ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment