Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/touch/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_subdirectory_ifdef(CONFIG_IQS5XX iqs5xx)
16 changes: 16 additions & 0 deletions drivers/touch/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2022 Interrupt Labs <[email protected]>
# SPDX-License-Identifier: Apache-2.0
menuconfig TOUCH
bool "Touch Drivers"
help
Include touch drivers in system config

if TOUCH
config TOUCH_INIT_PRIORITY
int "Touch init priority"
default 90
help
Touch initialization priority.

source "drivers/touch/iqs5xx/Kconfig"
endif # TOUCH
2 changes: 2 additions & 0 deletions drivers/touch/iqs5xx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
zephyr_library()
zephyr_library_sources(iqs5xx.c)
34 changes: 34 additions & 0 deletions drivers/touch/iqs5xx/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# IQS5XX Trackpad Controller

# Copyright (C) 2022 Ryan Walker <[email protected]>
# SPDX-License-Identifier: Apache-2.0

config TOUCH_LOG_LEVEL
int "Log Level for Touch"
default 4

config IQS5XX
bool "IQS5XX Driver"
depends on I2C && GPIO
help
Projected capacitive trackpad/touchscreen controller.

config IQS5XX_X_RES
int "IQS5XX X Resolution"
depends on IQS5XX
default 3072

config IQS5XX_Y_RES
int "IQS5XX Y Resolution"
depends on IQS5XX
default 2048

config IQS5XX_TOTAL_RX
int "IQS5XX RX Channels"
depends on IQS5XX
default 9

config IQS5XX_TOTAL_TX
int "IQS5XX RX Channels"
depends on IQS5XX
default 13
Loading