Skip to content

Commit

Permalink
[PATCH] I2C: add i2c driver for TPS6501x
Browse files Browse the repository at this point in the history
This adds an I2C driver for the TPS6501x series of power management chips.
It's used on many OMAP based boards, and this driver has been widely used
in the Linux-OMAP trees over the last year or so.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Jun 22, 2005
1 parent cc0b07e commit 72cd799
Show file tree
Hide file tree
Showing 4 changed files with 1,169 additions and 2 deletions.
19 changes: 18 additions & 1 deletion drivers/i2c/chips/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# I2C Sensor device configuration
# I2C Sensor and "other" chip configuration
#

menu "Hardware Sensors Chip support"
Expand Down Expand Up @@ -472,6 +472,23 @@ config ISP1301_OMAP
This driver can also be built as a module. If so, the module
will be called isp1301_omap.

# NOTE: This isn't really OMAP-specific, except for the current
# interface location in <include/asm-arm/arch-omap/tps65010.h>
# and having mostly OMAP-specific board support
config TPS65010
tristate "TPS6501x Power Management chips"
depends on I2C && ARCH_OMAP
default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK
help
If you say yes here you get support for the TPS6501x series of
Power Management chips. These include voltage regulators,
lithium ion/polymer battery charging, and other features that
are often used in portable devices like cell phones and cameras.

This driver can also be built as a module. If so, the module
will be called tps65010.


config SENSORS_M41T00
tristate "ST M41T00 RTC chip"
depends on I2C && PPC32
Expand Down
4 changes: 3 additions & 1 deletion drivers/i2c/chips/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Makefile for the kernel hardware sensors chip drivers.
# Makefile for sensor and "other" I2C chip drivers.
#

# asb100, then w83781d go first, as they can override other drivers' addresses.
Expand Down Expand Up @@ -43,7 +43,9 @@ obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o
obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
obj-$(CONFIG_SENSORS_W83627EHF) += w83627ehf.o
obj-$(CONFIG_SENSORS_W83L785TS) += w83l785ts.o

obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o
obj-$(CONFIG_TPS65010) += tps65010.o

ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
EXTRA_CFLAGS += -DDEBUG
Expand Down
Loading

0 comments on commit 72cd799

Please sign in to comment.