blob: 8f8d91b39a4c7712107faf6bc6df36b33e29356f [file] [log] [blame]
# Kconfig - MAX44009 light sensor configuration options
#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig MAX44009
bool "MAX44009 Light Sensor"
depends on I2C
help
Enable driver for MAX44009 light sensors.
if MAX44009
config MAX44009_DRV_NAME
string "Driver name"
default "MAX44009"
help
Device name with which the MAX44009 light is identified.
config MAX44009_I2C_ADDR
hex "MAX44009 I2C address"
default "0x4a"
help
I2C address of the MAX44009 sensor. Possible configurations:
0x4a: A0 connected to GND.
0x4b: A0 connected to VCC.
config MAX44009_I2C_DEV_NAME
string "I2C master where MAX44009 is connected"
default "I2C_0"
help
Specify the device name of the I2C master device to which the
MAX44009 chip is connected.
endif # MAX44009