Skip to content

Commit 4eb1655

Browse files
committed
drivers: input: Introduce bflb IR RX driver
Introduces a driver for the IR receiver on BFLB socs Signed-off-by: Camille BAUD <[email protected]>
1 parent ce215c9 commit 4eb1655

File tree

4 files changed

+455
-0
lines changed

4 files changed

+455
-0
lines changed

drivers/input/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ zephyr_library_property(ALLOW_EMPTY TRUE)
77
zephyr_library_sources_ifdef(CONFIG_INPUT_ADC_KEYS input_adc_keys.c)
88
zephyr_library_sources_ifdef(CONFIG_INPUT_ANALOG_AXIS input_analog_axis.c)
99
zephyr_library_sources_ifdef(CONFIG_INPUT_ANALOG_AXIS_SETTINGS input_analog_axis_settings.c)
10+
zephyr_library_sources_ifdef(CONFIG_INPUT_BFLB_IRX input_bflb_irx.c)
1011
zephyr_library_sources_ifdef(CONFIG_INPUT_CAP12XX input_cap12xx.c)
1112
zephyr_library_sources_ifdef(CONFIG_INPUT_CF1133 input_cf1133.c)
1213
zephyr_library_sources_ifdef(CONFIG_INPUT_CHSC5X input_chsc5x.c)

drivers/input/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ menu "Input drivers"
88
# zephyr-keep-sorted-start
99
source "drivers/input/Kconfig.adc_keys"
1010
source "drivers/input/Kconfig.analog_axis"
11+
source "drivers/input/Kconfig.bflb"
1112
source "drivers/input/Kconfig.cap12xx"
1213
source "drivers/input/Kconfig.cf1133"
1314
source "drivers/input/Kconfig.chsc5x"

drivers/input/Kconfig.bflb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 MASSDRIVER EI (massdriver.space)
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config INPUT_BFLB_IRX
5+
bool "Bouffalolab Infrared Receiver"
6+
default y
7+
depends on DT_HAS_BFLB_IRX_ENABLED
8+
select GPIO
9+
help
10+
This option enables the driver for the Bouffalolab Infrared Receiver Peripheral.

0 commit comments

Comments
 (0)