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 RTIO_WORKQ if SENSOR_ASYNC_API
11	help
12	  Enable driver for AK8975 magnetometer.
13
14config EMUL_AKM09918C
15	bool "Emulator for AKM09918C"
16	default y
17	depends on AKM09918C
18	depends on EMUL
19	help
20	  Enable the hardware emulator for the AKM09918C. Doing so allows exercising
21	  sensor APIs for this magnetometer in native_sim and qemu.
22