[PATCH] I2C: add i2c driver for TPS6501x
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cc0b07ed47
commit
72cd799544
@ -1,5 +1,5 @@
|
||||
#
|
||||
# I2C Sensor device configuration
|
||||
# I2C Sensor and "other" chip configuration
|
||||
#
|
||||
|
||||
menu "Hardware Sensors Chip support"
|
||||
@ -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
|
||||
|
@ -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.
|
||||
@ -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
|
||||
|
1072
drivers/i2c/chips/tps65010.c
Normal file
1072
drivers/i2c/chips/tps65010.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user