mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
Added accelerometer driver for kxcj9 accelerometers. Currently the accelerometers aren't being used by anything, but there are console commands, accelwrite and accelread, to perform transactions. BUG=none BRANCH=rambi TEST=Used EC console commands to test that accelerometers respond and data looks reasonable. Original-Change-Id: I6ddcf04ec278adeacb148c19b10c3c296b467954 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/184693 Reviewed-by: Randall Spangler <rspangler@chromium.org> (cherry picked from commit 5e1d2052b034b2400b98b2126243e01397a2ce56) Conflicts: board/clapper/board.c board/clapper/board.h board/glimmer/board.c board/glimmer/board.h Change-Id: If8744ddc3273fc08e29830adfd068dc302dd120a Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/187432 Reviewed-by: Randall Spangler <rspangler@chromium.org>
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Drivers for off-chip devices
|
|
#
|
|
|
|
# Accelerometers
|
|
driver-$(CONFIG_ACCEL_KXCJ9)+=accel_kxcj9.o
|
|
|
|
# ALS drivers
|
|
driver-$(CONFIG_ALS_ISL29035)+=als_isl29035.o
|
|
|
|
# Batteries
|
|
driver-$(CONFIG_BATTERY_BQ20Z453)+=battery/bq20z453.o
|
|
driver-$(CONFIG_BATTERY_BQ27541)+=battery/bq27541.o
|
|
driver-$(CONFIG_BATTERY_LINK)+=battery/link.o
|
|
driver-$(CONFIG_BATTERY_SMART)+=battery/smart.o
|
|
|
|
# Battery charger ICs
|
|
driver-$(CONFIG_CHARGER_BQ24192)+=charger/bq24192.o
|
|
driver-$(CONFIG_CHARGER_BQ24707A)+=charger/bq24707a.o
|
|
driver-$(CONFIG_CHARGER_BQ24715)+=charger/bq24715.o
|
|
driver-$(CONFIG_CHARGER_BQ24725)+=charger/bq24725.o
|
|
driver-$(CONFIG_CHARGER_BQ24738)+=charger/bq24738.o
|
|
|
|
# LED drivers
|
|
driver-$(CONFIG_LED_DRIVER_DS2413)+=led/ds2413.o
|
|
driver-$(CONFIG_LED_DRIVER_LP5562)+=led/lp5562.o
|
|
|
|
# Voltage regulators
|
|
driver-$(CONFIG_REGULATOR_IR357X)+=regulator_ir357x.o
|
|
|
|
# Temperature sensors
|
|
driver-$(CONFIG_TEMP_SENSOR_G781)+=temp_sensor/g781.o
|
|
driver-$(CONFIG_TEMP_SENSOR_TMP006)+=temp_sensor/tmp006.o
|
|
driver-$(CONFIG_TEMP_SENSOR_TMP432)+=temp_sensor/tmp432.o
|
|
|
|
# USB switches
|
|
driver-$(CONFIG_USB_SWITCH_TSU6721)+=usb_switch_tsu6721.o
|