From 8cf03ac0563294fbdeca2dc133d06f0b51c9a546 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 16 Oct 2013 13:23:10 -0700 Subject: Move source files to driver/ and power/ subdirs The common/ subdir was getting cluttered. Move drivers for external components to a new driver/ tree, and move what used to be called chipset_*.c to a new power/ directory. This does not move/rename header files or CONFIG options. That will be done in subsequent steps, since moving and modifying .c files in the same CL is harder to review. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all boards; pass unit tests Change-Id: I67a3003dc8564783a320335cf0e9620a21982d5e Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/173601 Reviewed-by: Bill Richardson Tested-by: Bill Richardson Reviewed-by: Vic Yang --- driver/build.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 driver/build.mk (limited to 'driver/build.mk') diff --git a/driver/build.mk b/driver/build.mk new file mode 100644 index 0000000000..013cfb4159 --- /dev/null +++ b/driver/build.mk @@ -0,0 +1,34 @@ +# -*- 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 +# + +# 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 + +# USB switches +driver-$(CONFIG_USB_SWITCH_TSU6721)+=usb_switch_tsu6721.o -- cgit v1.2.1