1# Copyright (c) 2023 Google LLC
2# Copyright (c) 2024 Croxel Inc.
3# SPDX-License-Identifier: Apache-2.0
4
5config AKM09918C
6	bool "AKM09918C Magnetometer"
7	default y
8	depends on DT_HAS_ASAHI_KASEI_AKM09918C_ENABLED
9	select I2C
10	select I2C_RTIO if SENSOR_ASYNC_API
11	select RTIO_WORKQ if SENSOR_ASYNC_API
12	help
13	  Enable driver for AK8975 magnetometer.
14
15config EMUL_AKM09918C
16	bool "Emulator for AKM09918C"
17	default y
18	depends on AKM09918C
19	depends on EMUL
20	help
21	  Enable the hardware emulator for the AKM09918C. Doing so allows exercising
22	  sensor APIs for this magnetometer in native_sim and qemu.
23