summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2018-01-20 17:56:55 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-30 17:47:20 -0800
commit7368aff4277766647a6207d92745f5a0709c196b (patch)
treea9654fb8d068f4903be166dca65b7fa35b901ea5
parent5e63c7b22ef48c193f00f627e1a843aa534b5b9e (diff)
downloadchrome-ec-7368aff4277766647a6207d92745f5a0709c196b.tar.gz
meowth: zoombini: Enable CONFIG_ALS.
This allows the acpi_light sysfs entry to be populated with the actual ALS data. BUG=b:70290036 BRANCH=None TEST=Flash meowth; read both illuminance values for the ALS devices under iio and verify that they are both operational. Change-Id: Ia22633629195d5bdeedc70a908ceca1411110b7d Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/888218 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/zoombini/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/zoombini/board.h b/board/zoombini/board.h
index 95e98522ff..ce205aa424 100644
--- a/board/zoombini/board.h
+++ b/board/zoombini/board.h
@@ -38,7 +38,7 @@
#define CONFIG_LED_DRIVER_LM3630A
#endif /* defined(BOARD_ZOOMBINI) */
-/* TODO(aaboagye): Verify the right address. */
+#define CONFIG_ALS
#define CONFIG_ALS_OPT3001
#define OPT3001_I2C_ADDR OPT3001_I2C_ADDR1
#define ALS_COUNT 1