From eac40915b617183af1774ece7a0f57ebdba79ec4 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 19 Mar 2004 18:25:57 +0000 Subject: [PATCH] Add pca9540. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2370 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/SUMMARY | 5 ++++- kernel/chips/Module.mk | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/chips/SUMMARY b/doc/chips/SUMMARY index aa2a33ae..e0628ea2 100644 --- a/doc/chips/SUMMARY +++ b/doc/chips/SUMMARY @@ -219,6 +219,9 @@ ltc1710 matorb Matrix Orbital LCD displays +pca9540 + 2-channel I2C multiplexer + pcf8574 & pcf8574a Simple eight-bit parallel I/O @@ -264,4 +267,4 @@ This may help identify a chip after doing a 'i2cdump [bus] [address]'. ------------------ -Copyright (c) 2001-2003 The lm_sensors group +Copyright (c) 2001-2004 The lm_sensors group diff --git a/kernel/chips/Module.mk b/kernel/chips/Module.mk index 8d06a37f..094cf7d1 100644 --- a/kernel/chips/Module.mk +++ b/kernel/chips/Module.mk @@ -121,6 +121,9 @@ endif ifneq ($(shell if grep -q '^CONFIG_SENSORS_MTP008=y' $(LINUX)/.config; then echo 1; fi),1) KERNELCHIPSTARGETS += $(MODULE_DIR)/mtp008.o endif +ifneq ($(shell if grep -q '^CONFIG_SENSORS_PCA9540=y' $(LINUX)/.config; then echo 1; fi),1) +KERNELCHIPSTARGETS += $(MODULE_DIR)/pca9540.o +endif ifneq ($(shell if grep -q '^CONFIG_SENSORS_PCF8574=y' $(LINUX)/.config; then echo 1; fi),1) KERNELCHIPSTARGETS += $(MODULE_DIR)/pcf8574.o endif