summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2023-11-20 16:25:35 +0000
committerGitHub <noreply@github.com>2023-11-20 16:25:35 +0000
commit68722d35a3e7c0bd32eccf7da8ddddc6de7e2e57 (patch)
tree6311f9104a37bf605298da2be24c2302d392e7a9 /builddefs
parentdda6e7fb36f20821c60fbd7638c9bd016ef217d6 (diff)
Azoteq IQS5xx support (#22280)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/common_features.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index fbaf087ad1..60f1cbd837 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -120,7 +120,7 @@ ifeq ($(strip $(MOUSEKEY_ENABLE)), yes)
MOUSE_ENABLE := yes
endif
-VALID_POINTING_DEVICE_DRIVER_TYPES := adns5050 adns9800 analog_joystick cirque_pinnacle_i2c cirque_pinnacle_spi paw3204 pmw3320 pmw3360 pmw3389 pimoroni_trackball custom
+VALID_POINTING_DEVICE_DRIVER_TYPES := adns5050 adns9800 analog_joystick azoteq_iqs5xx cirque_pinnacle_i2c cirque_pinnacle_spi paw3204 pmw3320 pmw3360 pmw3389 pimoroni_trackball custom
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
ifeq ($(filter $(POINTING_DEVICE_DRIVER),$(VALID_POINTING_DEVICE_DRIVER_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid POINTING_DEVICE_DRIVER,POINTING_DEVICE_DRIVER="$(POINTING_DEVICE_DRIVER)" is not a valid pointing device type)
@@ -140,6 +140,8 @@ ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
SPI_DRIVER_REQUIRED = yes
else ifeq ($(strip $(POINTING_DEVICE_DRIVER)), analog_joystick)
ANALOG_DRIVER_REQUIRED = yes
+ else ifeq ($(strip $(POINTING_DEVICE_DRIVER)), azoteq_iqs5xx)
+ I2C_DRIVER_REQUIRED = yes
else ifeq ($(strip $(POINTING_DEVICE_DRIVER)), cirque_pinnacle_i2c)
I2C_DRIVER_REQUIRED = yes
SRC += drivers/sensors/cirque_pinnacle.c