25 Feb, 2008
1 commit
-
Add the Intel ICH10 SMBus Controller DeviceID's and updates
Tolapai support.Signed-off-by: Jason Gaston
Signed-off-by: Jean Delvare
08 Feb, 2008
1 commit
-
It's about time to reflect the move of the lm-sensors project to
lm-sensors.org.Signed-off-by: Jean Delvare
Signed-off-by: Mark M. Hoffman
06 Feb, 2008
1 commit
-
Use drivers/gpio/pca9539.c instead.
Signed-off-by: eric miao
Acked-by: Ben Gardner
Acked-by: Jean Delvare
Signed-off-by: David Brownell
Cc: Sam Ravnborg
Cc: Haavard Skinnemoen
Cc: Philipp Zabel
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Jan, 2008
6 commits
-
Add support for another variant of the VT8237. I couldn't test
I2C block support but I assume it is present as well.Signed-off-by: Jean Delvare
-
I2C block read is supported since the ICH5. I couldn't get it to work
using the block buffer, so it's using the old-style byte-by-byte mode
for now.Note: I'm also updating the driver author... The i2c-i801 driver was
really written by Mark Studebaker, even though he based his work on
the i2c-piix4 driver which was written by Philip Edelbrock.Signed-off-by: Jean Delvare
-
Signed-off-by: Jean Delvare
-
This mimics the behavior of actual SMBus chips better.
Signed-off-by: Jean Delvare
Cc: Mark M. Hoffman -
There's a new script named i2c-stub-from-dump that can be very helpful
when working with the i2c-stub driver.Signed-off-by: Jean Delvare
-
Signed-off-by: Bart Van Assche
Signed-off-by: Jean Delvare
12 Dec, 2007
1 commit
-
I'm amazed that this old piece of documentation managed to survive
until today.Signed-off-by: Jean Delvare
20 Oct, 2007
1 commit
-
Signed-off-by: Adrian Bunk
14 Oct, 2007
4 commits
-
Rename I2C_FUNC_SMBUS_HWPEC_CALC as I2C_FUNC_SMBUS_PEC, and list that
functionality as always available through the software implementation.
Update documentation accordingly (and list similar requirements).The way it's currently packaged doesn't present the capability in a
useful way.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
Add support for multiple chips to i2c-stub. I've changed the memory
allocation scheme from static to dynamic, so that we don't waste too
much memory.Signed-off-by: Jean Delvare
Acked-by: Mark M. Hoffman -
Add the Intel Tolapai SMBus Controller DID.
Signed-off-by: Jason Gaston
Signed-off-by: Jean Delvare -
Do not initialize the PCF8574 with an arbitrary value. Users will have
to write the initial value to sysfs themselves.Signed-off-by: Jean Delvare
Acked-by: Aurelien Jarno
31 Aug, 2007
1 commit
-
We find that SB700 and SB800 use the same SMBus device ID as SB600, which is
0x4385, instead of the already submitted 0x4395.Besides removing the wrong SB700 device ID, add SB800 support to kernel, by
renaming the PCI_DEVICE_ID_ATI_IXP600_SMBUS into
PCI_DEVICE_ID_ATI_SBX00_SMBUS.Signed-off-by: Shane Huang
Signed-off-by: Jean Delvare
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Jul, 2007
6 commits
-
This driver has been broken forever. It depends on i2c-algo-8xx which
has never been in the mainline kernel.Signed-off-by: Jean Delvare
-
This is a new I2C bus driver for the TAOS evaluation modules. Developped
and tested on the TAOS TSL2550 EVM.Signed-off-by: Jean Delvare
-
Add an ability to utilize the internal SRAM buffer on ICH4
and newer host controllers to speed up execution of block operations.I've split the code so that it is more clear which block transaction is
performed.First of all the host controller's type is identified. isich4 is set when
we think that the controller has the internal buffer. Then, before every
block transaction, if isich4 is set, we attempt to enable the E32B bit in
SMBAUXCTL register.Signed-off-by: Oleg Ryjkov
Signed-off-by: Jean Delvare -
Add the SMBus device ID for ATI SB700.
Signed-off-by: Henry Su
Signed-off-by: Jean Delvare -
Let the drivers specify how many bytes they want to read with
i2c_smbus_read_i2c_block_data(). So far, the block count was
hard-coded to I2C_SMBUS_BLOCK_MAX (32), which did not make much sense.
Many driver authors complained about this before, and I believe it's
about time to fix it. Right now, authors have to do technically stupid
things, such as individual byte reads or full-fledged I2C messaging,
to work around the problem. We do not want to encourage that.I even found that some bus drivers (e.g. i2c-amd8111) already
implemented I2C block read the "right" way, that is, they didn't
follow the old, broken standard. The fact that it was never noticed
before just shows how little i2c_smbus_read_i2c_block_data() was used,
which isn't that surprising given how broken its prototype was so far.There are some obvious compatiblity considerations:
* This changes the i2c_smbus_read_i2c_block_data() prototype. Users
outside the kernel tree will notice at compilation time, and will
have to update their code.
* User-space has access to i2c_smbus_xfer() directly using i2c-dev, so
the changed expectations would affect tools such as i2cdump. In order
to preserve binary compatibility, we give I2C_SMBUS_I2C_BLOCK_DATA
a new numeric value, and define I2C_SMBUS_I2C_BLOCK_BROKEN with the
old numeric value. When i2c-dev receives a transaction with the
old value, it can convert it to the new format on the fly.Signed-off-by: Jean Delvare
-
The x1205 driver moved to the RTC subsystem and was significantly
modified since then, so just delete the outdated documentation.Signed-off-by: Jean Delvare
Cc: Alessandro Zummo
09 May, 2007
1 commit
-
Convert files within the Documentation directory to UTF-8.
Adrian Bunk:
small additional fixesSigned-off-by: John Anthony Kazos Jr.
Signed-off-by: Adrian Bunk
02 May, 2007
5 commits
-
Make the documentation on how to write and port i2c drivers more in
line with the current state of things:
* i2c-isa is deprecated and soon gone, so stop advertising it.
* Drop many sensors-specific references. Most of them were outdated
anyway.
* Update the example code to reflect the recent and not-so-recent
API and coding style preference changes.
* Simplify the example init and cleanup functions.This should make things less complex to understand for newcomers.
Signed-off-by: Jean Delvare
-
Make i2c_del_driver a void function, like all other driver removal
functions. It always returned 0 even when errors occured, and nobody
ever actually checked the return value anyway. And we cannot fail
a module removal anyway.Signed-off-by: Jean Delvare
-
Document the new i2c_new_device(), i2c_new_probed_device() and
i2c_unregister_device() functions.Signed-off-by: Jean Delvare
-
Update Documentation/i2c to match previous patches updating probe()
and remove() logic.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
Signed-off-by: Jean Delvare
Cc: Hans-Frieder Vogt
14 Feb, 2007
6 commits
-
This simple patch adds support to i2c-parport for the One For All remote
JP1 parallel port interfaces which can be found detailed at:http://www.hifi-remote.com/jp1/hardware.shtml
These allow access to the internal configuration EEPROM on various
remote controls and there are a variety of Windows tools that make use
of this hardware. I have tested this patch with the "simple" parallel
port device and a One For All URC-7562 and confirmed that the data read
using the eeprom i2c driver matches that returned by the Windows "IR"
JP1 tool.Signed-off-by: Jonathan McDowell
Signed-off-by: Jean Delvare -
We do not have any documentation for the CX700, but it was reported
to work fine. Thanks to Claas Langbehn for testing.Signed-off-by: Jean Delvare
-
Driver model updates for the I2C core:
- Add new suspend(), resume(), and shutdown() methods. Use them in the
standard driver model style; document them.- Minor doc updates to highlight zero-initialized fields in drivers, and
the driver model accessors for "clientdata".If any i2c drivers were previously using the old suspend/resume calls
in "struct driver", they were getting warning messages ... and will
now no longer work. Other than that, this patch changes no behaviors;
and it lets I2C drivers use conventional PM and shutdown support.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
This is a frequently asked question so it deserves a paragraph in
the driver documentation.Signed-off-by: Jean Delvare
-
Write data, don't read it.
Signed-off-by: Mike Frysinger
Signed-off-by: Jean Delvare -
Add support for the ATI SB600 SMBus controller.
Signed-off-by: Jean Delvare
11 Dec, 2006
3 commits
-
Add the Intel ICH9/ICH8/ESB2 SMBus Controller text to
i2c-i801 documentation.Signed-off-by: Jason Gaston
Signed-off-by: Jean Delvare -
Summary of changes:
- fixes:
o legacy I/O region size is 64 bytes, not 8 bytes
- general cleanup:
o removed code for the unsupported I2C block data, block data,
proc call and block proc call transfer modes
o removed detail warnings about unsupported modes that are
covered in a general warning (unsupported transaction...)
anyway
o removed necessity of a definition of struct i2c_adapter
o moved definition of struct i2c_algorithm, making forward
declarations of nforce2_access and nforce2_func unnecessary
- minor changes:
o in the description mention the nForce 5xx chipsets
o changes my e-mail address in MODULE_AUTHORTheses cleanups shrink the driver binary size from 4.0 kB to 2.7 kB
on i386.Signed-off-by: Hans-Frieder Vogt
Signed-off-by: Jean Delvare -
Fix typos in i2c bus drivers documentation.
Signed-off-by: Jean Delvare
27 Sep, 2006
2 commits
-
i2c-viapro: Add support for the VT8237A and VT8251
Documentation update included. Compile tested.
Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
i2c-stub: Chip address as a module parameter
Add a mandatory chip_addr parameter to i2c-stub. This parameter
defines to which chip address the driver will respond, instead of
reponding to all addresses as before. The idea is to prevent the
users from loading i2c-stub at random and being then confused by
the results of sensors-detect or other user-space tools.Signed-off-by: Jean Delvare
Signed-off-by: Mark M. Hoffman
Signed-off-by: Greg Kroah-Hartman
13 Jul, 2006
1 commit
-
We have a new mailing list dedicated to linux i2c:
http://lists.lm-sensors.org/mailman/listinfo/i2cSigned-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman