1# Copyright (c) 2025 Croxel Inc.
2# Copyright (c) 2025 CogniPilot Foundation
3# SPDX-License-Identifier: Apache-2.0
4
5config PAA3905
6	bool "Optical Flow Sensor PAA3905"
7	default y
8	depends on DT_HAS_PIXART_PAA3905_ENABLED
9	select SPI
10	select SPI_RTIO
11	select SENSOR_ASYNC_API
12	help
13	  Enable driver for PAA3905 Optical Flow sensor.
14
15if PAA3905
16
17config PAA3905_STREAM
18	bool "Streaming mode"
19	depends on $(dt_compat_any_has_prop,$(DT_COMPAT_PIXART_PAA3905),int-gpios)
20	select RTIO_WORKQ
21	help
22	  Enable streaming mode for the PAA3905 sensor.
23
24endif # PAA3905
25