[i2c] [PATCH] Texas Instruments bq27350 Battery Manager Driver for AT91SAM9261

John Harbold jharbold at neuropace.com
Wed Aug 1 19:06:40 CEST 2007


Hi,

	I'm submitting a driver for the Texas Instruments bq27350 Battery Manager attached to an AT91SAM9261 running the Linux kernel version 2.6.19.  This driver has several sysfs entries to read the various standard commands, control sub-commands and several entries in the data FLASH.  There is one sysfs entry that will allow read/write access of the entire data FLASH.  NOTE:  There is no sysfs entry for the control sub-command SEALED.  In my haste, I added this sysfs entry and actually read it causing the bq27350 chip to become SEALED.  From various sources I found that only God himself can unseal a bq27350.  I think He sits on the board of TI.  This patch modifies four files in the drivers/i2c/chips sub-directory, Makefile, Kconfig, bq27350.c and bq27350.h.  I've only compiled this driver into the Linux kernel.  Maybe somebody out there in embedded Linux-land can try this as a module.

John Harbold



More information about the i2c mailing list