mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 08:31:52 +00:00
This allows local and remote temp values to be added to a board's list of temp sensors. It also adds a 'tmp432' EC console command to query temps and set alert thresholds. Fractional degrees are not supported. DPTF support is not addressed. BUG=chrome-os-partner:23985 BRANCH=none TEST=Add tmp432 support to a board with the sensor then run the 'tmp432' and 'temps' EC console commands. Signed-off-by: Dave Parker <dparker@chromium.org> Change-Id: Ifee47cf4d4cf5eedef9ef2bfa2149f183f1d7a7b Reviewed-on: https://chromium-review.googlesource.com/178688 Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Dave Parker <dparker@chromium.org> Tested-by: Dave Parker <dparker@chromium.org>
39 lines
1.2 KiB
Makefile
39 lines
1.2 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
|
|
#
|
|
|
|
# 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
|