File tree Expand file tree Collapse file tree 5 files changed +721
-0
lines changed
include/zephyr/drivers/haptics Expand file tree Collapse file tree 5 files changed +721
-0
lines changed Original file line number Diff line number Diff line change 33zephyr_library()
44zephyr_syscall_header(${ZEPHYR_BASE} /include /zephyr/drivers/haptics.h)
55
6+ zephyr_library_sources_ifdef(CONFIG_HAPTICS_DRV2605 drv2605.c)
67zephyr_library_sources_ifdef(CONFIG_USERSPACE haptics_handlers.c)
Original file line number Diff line number Diff line change @@ -19,4 +19,6 @@ config HAPTICS_INIT_PRIORITY
1919 help
2020 Haptic driver initialization priority.
2121
22+ source "drivers/haptics/Kconfig.drv2605"
23+
2224endif # HAPTICS
Original file line number Diff line number Diff line change 1+ # Copyright 2024 Cirrus Logic, Inc.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ config HAPTICS_DRV2605
5+ bool "DRV2605 Haptics Driver"
6+ default y
7+ depends on DT_HAS_TI_DRV2605_ENABLED
8+ select I2C
9+ help
10+ Enable I2C-based driver for the Texas Instruments DRV2605 Haptics
11+ Driver.
You can’t perform that action at this time.
0 commit comments