# Copyright (c) 2025 Croxel Inc.
# Copyright (c) 2025 CogniPilot Foundation
# SPDX-License-Identifier: Apache-2.0

config PAT9136
	bool "Optical Flow Sensor PAT9136"
	default y
	depends on DT_HAS_PIXART_PAT9136_ENABLED
	select SPI
	select SPI_RTIO
	select RTIO_WORKQ
	select SENSOR_ASYNC_API
	help
	  Enable driver for PAT9136 Optical Flow sensor.

if PAT9136

config PAT9136_STREAM
	bool "Streaming mode"
	depends on $(dt_compat_any_has_prop,$(DT_COMPAT_PIXART_PAT9136),int-gpios)
	help
	  Enable streaming mode for the PAT9136 sensor.

endif # PAT9136
