some drivers from Blackfin team
cover some drivers from Blackfin team
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c
PATCH 1/3 : add AD5252 chip driver
In reply to a message not in the archive--- drivers/i2c/chips/Kconfig | 7 ++ drivers/i2c/chips/Makefile | 1 + drivers/i2c/chips/ad5252.c | 252 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/i2c-id.h | 1 + 4 files changed, 261 insertions(+), 0 deletions(-) create mode 100644 drivers/i2c/chips/ad5252.c
drivers/i2c/chips/Kconfig +7 -0
@@ -14,6 +14,13 @@ config DS1682 This driver can also be built as a module. If so, the module will be called ds1682. +config SENSORS_AD5252 + tristate "Analog Devices AD5252 and AD5251 Digital Potentiometers" + depends on I2C && EXPERIMENTAL + help + If you say yes here you get support for Analog Devices and AD5252 + AD5251 chips. + config SENSORS_EEPROM tristate "EEPROM reader" depends on EXPERIMENTAL
drivers/i2c/chips/Makefile +1 -0
@@ -2,6 +2,7 @@ # Makefile for miscellaneous I2C chip drivers. # +obj-$(CONFIG_SENSORS_AD5252) += ad5252.o obj-$(CONFIG_DS1682) += ds1682.o obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o obj-$(CONFIG_SENSORS_MAX6875) += max6875.o
drivers/i2c/chips/ad5252.c new file +252 -0
252 lines not on this page · raw message
include/linux/i2c-id.h +1 -0
@@ -133,6 +133,7 @@#define I2C_DRIVERID_FSCHER 1046#define I2C_DRIVERID_W83L785TS 1047#define I2C_DRIVERID_OV7670 1048/* Omnivision 7670 camera */ +#define I2C_DRIVERID_AD5252 1049/* * ---- Adapter types ----------------------------------------------------
Signature · 6 lines
1.5.3.4 _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
PATCH 2/3 add PCA9543 chip driver
In reply to a message not in the archive--- drivers/i2c/chips/Kconfig | 13 +++ drivers/i2c/chips/Makefile | 1 + drivers/i2c/chips/pca9543.c | 212 +++++++++++++++++++++++++++++++++++++++++++ include/linux/i2c-id.h | 1 + 4 files changed, 227 insertions(+), 0 deletions(-) create mode 100644 drivers/i2c/chips/pca9543.c
drivers/i2c/chips/Kconfig +13 -0
@@ -60,6 +60,19 @@ config PCF8575 This device is hard to detect and is rarely found on mainstream hardware. If unsure, say N. +config SENSORS_PCA9543 + tristate "Philips PCA9543 bi-directional translating switch" + depends on I2C && EXPERIMENTAL + default n + help + If you say yes here you get support for Philips PCA9543. + + This driver can also be built as a module. If so, the module + will be called pca9543. + + These devices are hard to detect and rarely found on mainstream + hardware. If unsure, say N. + config SENSORS_PCA9539 tristate "Philips PCA9539 16-bit I/O port" depends on EXPERIMENTAL
drivers/i2c/chips/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_DS1682) += ds1682.o obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o obj-$(CONFIG_SENSORS_MAX6875) += max6875.o obj-$(CONFIG_SENSORS_PCA9539) += pca9539.o +obj-$(CONFIG_SENSORS_PCA9543) += pca9543.o obj-$(CONFIG_SENSORS_PCF8574) += pcf8574.o obj-$(CONFIG_PCF8575) += pcf8575.o obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
drivers/i2c/chips/pca9543.c new file +212 -0
212 lines not on this page · raw message
include/linux/i2c-id.h +1 -0
@@ -134,6 +134,7 @@#define I2C_DRIVERID_W83L785TS 1047#define I2C_DRIVERID_OV7670 1048/* Omnivision 7670 camera */ #define I2C_DRIVERID_AD5252 1049 +#define I2C_DRIVERID_PCF8575 1050/* * ---- Adapter types ----------------------------------------------------
Signature · 6 lines
1.5.3.4 _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
PATCH 3/3 ID: add I2C Blackfin HW ID
In reply to a message not in the archive--- include/linux/i2c-id.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/i2c-id.h +1 -0
@@ -163,6 +163,7 @@#define I2C_HW_B_CX2341X 0x010020/* Conexant CX2341X MPEG encoder cards */ #define I2C_HW_B_INTELFB 0x010021/* intel framebuffer driver */ #define I2C_HW_B_CX23885 0x010022/* conexant 23885 based tv cards (bus1) */ +#define I2C_HW_B_BLACKFIN 0x010023/* ADI Blackfin I2C TWI driver */ /* --- PCF 8584 based algorithms */ #define I2C_HW_P_ELEK 0x020002/* Elektor ISA Bus inteface card */
Signature · 6 lines
1.5.3.4 _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
Re: [PATCH 3/3] [I2C] ID: add I2C Blackfin HW ID
In reply to a message not in the archiveQuoted 10 lines · Bryan Wu
Signed-off-by Bryan Wu <[email protected]>--- include/linux/i2c-id.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/linux/i2c-id.h +0
-0
include/linux/i2c-id.h line 169
Quoted 7 lines
include/linux/i2c-id.h +1
-0@@ -163,6 +163,7 @@#define I2C_HW_B_CX2341X 0x010020/* Conexant CX2341X MPEG encoder cards */ #define I2C_HW_B_INTELFB 0x010021/* intel framebuffer driver */ #define I2C_HW_B_CX23885 0x010022/* conexant 23885 based tv cards (bus1) */ +#define I2C_HW_B_BLACKFIN 0x010023/* ADI Blackfin I2C TWI driver */ /* --- PCF 8584 based algorithms */ #define I2C_HW_P_ELEK 0x020002/* Elektor ISA Bus inteface card */
Why do you need this ID? In general we are trying to get rid of them, as the new-style i2c drivers make them obsolete.
Signature · 6 lines
Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
Re: [PATCH 3/3] [I2C] ID: add I2C Blackfin HW ID
In reply to a message not in the archiveQuoted 16 lines · Jean Delvare
Quoted 15 lines · Bryan Wu
Signed-off-by Bryan Wu <[email protected]>--- include/linux/i2c-id.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/linux/i2c-id.h +1
-0@@ -163,6 +163,7 @@#define I2C_HW_B_CX2341X 0x010020/* Conexant CX2341X MPEG encoder cards */ #define I2C_HW_B_INTELFB 0x010021/* intel framebuffer driver */ #define I2C_HW_B_CX23885 0x010022/* conexant 23885 based tv cards (bus1) */ +#define I2C_HW_B_BLACKFIN 0x010023/* ADI Blackfin I2C TWI driver */
Quoted 6 lines
include/linux/i2c-id.h line 169
Quoted 2 lines
include/linux/i2c-id.h +0
-0/* --- PCF 8584 based algorithms */ #define I2C_HW_P_ELEK 0x020002/* Elektor ISA Bus inteface card */ Why do you need this ID? In general we are trying to get rid of them, as the new-style i2c drivers make them obsolete.
Yes, please ignore this patch, that's for the old-style i2c driver.
Thanks,
-Bryan
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c