| # Kconfig - AK8975 magnetometer configuration options |
| # Copyright (c) 2016 Intel Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| bool "AK8975 Magnetometer" |
| Enable driver for AK8975 magnetometer. |
| Device name with which the AK8975 sensor is identified. |
| I2C address of the AK8975 sensor. Choose: |
| - 0x0C if CAD1 connected to GND and CAD0 is connected to GND |
| - 0x0D if CAD1 connected to GND and CAD0 is connected to VDD |
| - 0x0E if CAD1 connected to VDD and CAD0 is connected to GND |
| - 0x0F if CAD1 connected to VDD and CAD0 is connected to VDD |
| If the AK8975 sensor is part of a MPU9159 chip, the I2C address |
| config AK8975_I2C_MASTER_DEV_NAME |
| string "I2C master where AK8975 is connected" |
| Specify the device name of the I2C master device to which the |
| AK8975 chip is connected. |
| bool "Enable MPU9180 support" |
| Enable this config option if the AK8975 sensor is part of a |
| hex "MPU9180 I2C address" |
| depends on MPU9150 && !MPU6050 |
| I2C address of the MPU9150. If the driver for MPU6050 is enabled, |
| its address will be used and this option made unavailable. |